Function: mint(address to, uint256 amount)
Gives accounts with the MINTER_ROLE the ability to mint tokens.
Inputs
toControl: Fully controlled by minter.
Constraints: None.
Impact: Allows tokens to be minted to any address.
amountControl: Fully controlled by minter.
Constraints: None.
Impact: Allows any number of tokens to be minted.
Branches and code coverage (including function calls)
Intended branches
Reward tokens are properly minted when the caller has
MINTER_ROLE.
Negative behavior
Reverts when the caller does not have
MINTER_ROLE.