Function: mint(address to, uint256 amount)
This function mints the specific amount of tokens to a specific address.
Inputs
to
Control: Completely controlled by the caller.
Constraints: None.
Impact: Address to mint to.
amount
Control: Completely controlled by the caller.
Constraints: None.
Impact: Amount to mint.
Branches and code coverage
Intended branches
Mint the given amount of tokens to a specific address.
Negative behavior
Revert if caller does not have
MINTER_ROLE
.