ERC20Mintable
Functionality available for contracts that implement the
ERC20
and
ERC20Mintable
extensions.
Allows the minting of new tokens into the contract.
mint
Mint tokens to the connected wallet.
amount = 100
receipt = contract.erc20.mint(amount)
Configuration
mint_to
The same as mint
, but allows you to specify the address to mint the tokens to.
address = "0x7fDae677aA6f94Edff9872C4b91D26407709c790"
amount = 100
receipt = contract.erc20.mint_to(address, amount)