ERC20Mintable
View Source: openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol
↗ 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
.
Arguments
Name | Type | Description |
---|---|---|
account | address | |
amount | uint256 |
Last updated