Skip to content

Latest commit

 

History

History
152 lines (137 loc) · 5.24 KB

ERC20Mintable.md

File metadata and controls

152 lines (137 loc) · 5.24 KB

ERC20Mintable (ERC20Mintable.sol)

View Source: contracts/token/ERC20/ERC20Mintable.sol

↗ Extends: ERC20, MinterRole ↘ Derived Contracts: ERC20Capped, ERC20MintableMock, SampleCrowdsale, SampleCrowdsaleToken

ERC20Mintable

ERC20 minting logic

Functions

mint

Function to mint tokens

function mint(address to, uint256 value) public undefined onlyMinter 
returns(bool)

Returns

A boolean that indicates if the operation was successful.

Arguments

Name Type Description
to address The address that will receive the minted tokens.
value uint256 The amount of tokens to mint.

Contracts