SubjectERC20.sol
Functions
mint
Mint tokens to address.
function mint(address _to, uint256 _amount) public onlyOwner
Parameters
Name | Type | Description |
---|---|---|
_to | address | Address of beneficiary. |
_amount | uint256 | Amount of tokens to be minted. |
Errors
SubjectERC20_NotAMoxiePassHolder
The contract will emit the error if the to
address is not a Moxie Pass Holder.
error SubjectERC20_NotAMoxiePassHolder();
SubjectERC20_InvalidOwner
The contract will emit the error if the owner
field provided is a zero address.
error SubjectERC20_InvalidOwner();