ODCdataManagersERC20extensions

ERC20Mintable

Abstract contract that provides the mint operation of the ERC20 Data Manager

mint

function mint(address to, uint256 amount) external

Mints amount tokens to to

The caller must be allowed to mint

Parameters

NameTypeDescription
toaddressAddress to mint tokens to
amountuint256Amount of tokens to mint

_checkMinter

function _checkMinter() internal virtual

SHOULD throw an error if the sender is not allowed to mint

On this page