Function: mint(address _to, uint256 _amount)
Available only for minters. Allows to mint new tokens without limit.
Inputs
_to
Constraints:
account != address(0)
.Impact: Receiver of new tokens.
_amount
Constraints: No constraints.
Impact: The number of tokens will be minted.
Branches and code coverage
Intended branches
The minter was successfully mint tokens
Negative behavior
Caller is not a minter.
_to
is zero address.