ERC20MintableFacet

Git Source

Inherits: IERC20Mintable, ERC20Base, AccessControlBase, Facet

Functions

ERC20Mintable_init

function ERC20Mintable_init() external onlyInitializing;

mint

Mints new tokens to the given address.

function mint(address to, uint256 amount) external protected;

Parameters

NameTypeDescription

to

address

The address to mint tokens to.

amount

uint256

The amount of tokens to mint.