Skip to content

Commit

Permalink
chore(certora): add accountMPGreaterEqualsAccountBalance invariant
Browse files Browse the repository at this point in the history
Closes #26
  • Loading branch information
0x-r4bbit committed Oct 16, 2024
1 parent 59f2566 commit 00975de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions certora/specs/RewardsStreamerMP.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ invariant sumOfBalancesIsTotalStaked()
invariant accountMPLessEqualAccountMaxMP(address account)
to_mathint(getAccountMP(account)) <= to_mathint(getAccountMaxMP(account));

invariant accountMPGreaterEqualAccountStakedBalance(address account)
to_mathint(getAccountMP(account)) >= to_mathint(getAccountStakedBalance(account));

0 comments on commit 00975de

Please sign in to comment.