Skip to content

Latest commit

 

History

History
153 lines (138 loc) · 5.41 KB

ERC721MetadataMintable.md

File metadata and controls

153 lines (138 loc) · 5.41 KB

ERC721MetadataMintable (ERC721MetadataMintable.sol)

View Source: contracts/token/ERC721/ERC721MetadataMintable.sol

↗ Extends: ERC721, ERC721Metadata, MinterRole ↘ Derived Contracts: ERC721FullMock, ERC721MintableBurnableImpl

ERC721MetadataMintable

ERC721 minting logic with metadata

Functions

mintWithTokenURI

Function to mint tokens

function mintWithTokenURI(address to, uint256 tokenId, string tokenURI) public undefined onlyMinter 
returns(bool)

Returns

A boolean that indicates if the operation was successful.

Arguments

Name Type Description
to address The address that will receive the minted tokens.
tokenId uint256 The token id to mint.
tokenURI string The token URI of the minted token.

Contracts