Skip to main content

IMintableERC20

thirdweb

Methods

mintTo

function mintTo(address to, uint256 amount) external nonpayable

Creates amount new tokens for to. See {ERC20-_mint}. Requirements: - the caller must have the MINTER_ROLE.

Parameters

NameTypeDescription
toaddressundefined
amountuint256undefined

Events

TokensMinted

event TokensMinted(address indexed mintedTo, uint256 quantityMinted)

Emitted when tokens are minted with mintTo

Parameters

NameTypeDescription
mintedTo indexedaddressundefined
quantityMinteduint256undefined