Main Contract
Search…
⌃K

ERC20Mintable

↗ Extends: ERC20, MinterRole ↘ Derived Contracts: OwnerBurnableToken
ERC20Mintable - version: 0.1.12
Extension of ERC20 that adds a set of accounts with the MinterRole, which have permission to mint (create) new tokens as they see fit.
  • At construction, the deployer of the contract is the only minter.

Functions

mint

See ERC20._mint. * Requirements: * - the caller must have the MinterRole.
function mint(address account, uint256 amount) public nonpayable onlyMinter
returns(bool)
Arguments
Name
Type
Description
account
address
amount
uint256
Last modified 1yr ago