Function: amoBurn(address _account, uint256 _amount)
Allows caller access to this function to burn AMO tokens — but not more than was minted.
Inputs
_account
Constraints:
account != address(0)
.Impact: The account from which tokens will be burned.
_amount
Constraints: Cannot be more than
_amoMinted
.Impact: The amount of AMO tokens that will be burned.
Branches and code coverage
Intended branches
amoMinted
was decreased by_amount
.
Negative behavior
Non-whitelisted caller
_account
is zero address._account
contains fewer than the specifiedamount
of tokens._amount
is more than_amoMinted
.