Added invariant balanceOfZeroAddressIsZero (partially passing)
This commit is contained in:
@ -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
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user