mirror of
https://github.com/vacp2p/staking-reward-streamer.git
synced 2026-01-08 20:48:00 -05:00
chore(certora): add accountMPGreaterEqualsAccountBalance invariant
Closes #26
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user