Skip to content

Commit

Permalink
Moved tokens of Uniswap in separate module.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariaKt committed Sep 11, 2024
1 parent aa9c170 commit e6cf62b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/solidity.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ endmodule
```

```k
module SOLIDITY-UNISWAP-INIT-SUMMARY
imports SOLIDITY-CONFIGURATION
module SOLIDITY-UNISWAP-TOKENS
syntax Id ::= "account" [token]
| "act" [token]
Expand Down Expand Up @@ -249,6 +248,14 @@ module SOLIDITY-UNISWAP-INIT-SUMMARY
syntax Decimal ::= "1e18" [token]
| "1e6" [token]
endmodule
```

```k
module SOLIDITY-UNISWAP-INIT-SUMMARY
imports SOLIDITY-CONFIGURATION
imports SOLIDITY-UNISWAP-TOKENS
rule <k> _:Program => .K ...</k>
<summarize> true </summarize>
(_:CompileCell =>
Expand Down

0 comments on commit e6cf62b

Please sign in to comment.