Skip to content

Commit

Permalink
Added missing item in store, and fixed corresponding ENV index. (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariaKt authored Sep 27, 2024
1 parent 2b1217b commit 4fb604f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/uniswap-summaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -3137,8 +3137,9 @@ module SOLIDITY-UNISWAP-GETRESERVES-SUMMARY
<this-type> TYPE </this-type>
<contract-id> TYPE </contract-id>
<current-function> getReserves </current-function>
<env> ENV=> ENV [ reserves <- var(size(S), uint112 []) ] </env>
<store> S => S ListItem(
<env> ENV=> ENV [ reserves <- var(size(S) +Int 1, uint112 []) ] </env>
<store> S => S ListItem(default(uint112 []))
ListItem(
ListItem({Storage[reserve0] orDefault 0p112}:>MInt{112})
ListItem({Storage[reserve1] orDefault 0p112}:>MInt{112})
ListItem(roundMInt({Storage[blockTimestampLast] orDefault 0p32}:>MInt{32}):MInt{112})
Expand Down

0 comments on commit 4fb604f

Please sign in to comment.