AccessControlERC20MintBase
Inherits: ERC20, AccessControl
State Variables
MINTER_ROLE
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
Functions
constructor
constructor(address minter) ERC20("MyToken", "TKN");
mint
function mint(address to, uint256 amount) public;
Errors
CallerNotMinter
error CallerNotMinter(address caller);