Function: burn(address account, uint256 amount)
Available only for minters. Allows to burn tokens from any account without limits.
Inputs
_toConstraints:
account != address(0).Impact: The account from which tokens will be burned.
_amountConstraints: The
_toaccount should have enough tokens to burn.Impact: The number of tokens will be burned.
Branches and code coverage
Intended branches
The minter was successfully burn tokens
Negative behavior
Caller is not a minter.
_tocontains fewer than the specifiedamountof tokens.