File tree Expand file tree Collapse file tree
DEFI/LiquidityPool/certora/specs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ ghost mathint sumOfShares {
321321 init_state axiom sumOfShares == 0 ;
322322}
323323
324- hook Sstore _balanceOf [ KEY address user ] uint256 newSharesBalance ( uint256 oldSharesBalance ) STORAGE
324+ hook Sstore _balanceOf [ KEY address user ] uint256 newSharesBalance ( uint256 oldSharesBalance )
325325{
326326 sumOfShares = sumOfShares + newSharesBalance - oldSharesBalance ;
327327}
@@ -340,8 +340,7 @@ ghost mathint sumBalances {
340340 init_state axiom sumBalances == 0 ;
341341}
342342
343- hook Sstore underlying . _balanceOf [ KEY address user ] uint256 newBalance ( uint256 oldBalance ) STORAGE
344- {
343+ hook Sstore underlying . _balanceOf [ KEY address user ] uint256 newBalance ( uint256 oldBalance ) {
345344 sumBalances = sumBalances + newBalance - oldBalance ;
346345}
347346
You can’t perform that action at this time.
0 commit comments