chore(certora): add accountMPGreaterEqualsAccountBalance invariant

Closes #26
This commit is contained in:
r4bbit
2024-10-09 15:45:52 +02:00
parent 59f2566c78
commit b79deb70f5

View File

@@ -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));