Added invariant balanceOfZeroAddressIsZero (partially passing)

This commit is contained in:
Thomas Adams
2022-05-31 18:34:22 -07:00
parent 8e283704c3
commit 15e847c835

View File

@ -60,6 +60,10 @@ rule total_supply_is_sum_of_balances_as_rule {
/******************************************************************************/ /******************************************************************************/
/// The balance of a token for the zero address must be zero.
invariant balanceOfZeroAddressIsZero(uint256 token)
balanceOf(0, token) == 0
// if a user has a token, then the token should exist // if a user has a token, then the token should exist
/* /*