Main Contract
Search…
Introduction
Money on Chain platform
Main concepts
System states
Public actions
Contracts architecture
Contract mocks
Relevant patterns and choices
Data dictionary
Getting started
Integration with MoC platform
Introduction to MoC
Getting BPros
Getting DoCs
Getting BTCx
Commission fees values
Vendors
Fees calculation
From outside the blockchain
Smart contracts
Contracts verification
ABIs documentation
BProToken
BtcPriceProviderMock
DocToken
ERC20Mintable
Governed
Initializable
MakeStoppable
MakeUnstoppable
MoC
MoCBProxManager
MoCBProxManagerUpdater
MoCBucketContainer
MoCConnector
MoCConverter
MoCEMACalculator
MoCExchange
MoCHelperLib
MoCHelperLibMock
MoCInrate
MoCLibConnection
MoCPriceProviderMock
MoCSettlement
MoCSettlementMock
MoCState
MoCStateMock
MoCToken
MoCVendors
MoCWhitelist
MockMakeStoppable
MockMakeUnstoppable
MockStopper
MockUpgradeDelegator
MockUpgraderTemplate
OwnerBurnableToken
Pausable
PriceFeed
PriceFeederAdder
PriceFeederRemover
PriceProvider
RevertingOnSend
Stoppable
Stopper
UpgradeDelegator
UpgraderTemplate
Powered By
GitBook
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(address account, uint256 amount)
​
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
​
Previous
DocToken
Next
Governed
Last modified
9mo ago
Copy link
Outline
Functions
mint