Skip to main content

MinterSimple

MinterSimple​

Decentralized NFT Minter contract

version​

string version

ERC165TAG​

bytes4 ERC165TAG

constructor​

constructor() public

initialize​

function initialize(address _admin, address _mintFeeToken, address _mintFeeAddress, uint256 _mintFeeAmount, address _nftContractAddr, address _forwarder) external

proxyInitialize​

function proxyInitialize(address _admin, address _mintFeeToken, address _mintFeeAddress, uint256 _mintFeeAmount, address _nftContractAddr, address _forwarder) external

__MinterSimple_init​

function __MinterSimple_init(address _admin, address _mintFeeToken, address _mintFeeAddress, uint256 _mintFeeAmount, address _nftContractAddr, address _forwarder) internal

__MinterSimple_init_unchained​

function __MinterSimple_init_unchained() internal

mint​

function mint(address buyer, uint256 tokenId) public

@dev

NameTypeDescription
buyeraddress
tokenIduint256minted token id

safeMint​

function safeMint(address buyer, uint256 tokenId) public

@dev

NameTypeDescription
buyeraddress
tokenIduint256minted token id

supportsInterface​

function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)

ERC165 Support

NameTypeDescription
interfaceIdbytes4hash of the interface testing for
NameTypeDescription
[0]boolbool whether interface is supported