Skip to main content

MinterCore

MinterCore​

Decentralized NFT Minter contract

mintFeeToken​

address mintFeeToken

mintFeeAddress​

address mintFeeAddress

mintFeeAmount​

uint256 mintFeeAmount

nftContractAddr​

address nftContractAddr

__MinterCore_init​

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

__MinterCore_init_unchained​

function __MinterCore_init_unchained(address _mintFeeToken, address _mintFeeAddress, uint256 _mintFeeAmount, address _nftContractAddr) internal

_mintForFee​

function _mintForFee(address buyer, uint256 tokenId) internal

Base minting function (not safeMint). Called by implementation contracts.

NameTypeDescription
buyeraddresswho's paying the ERC20 fee / gets the ERC721 token
tokenIduint256the token identifier to mint

_safeMintForFee​

function _safeMintForFee(address buyer, uint256 tokenId) internal

Base minting function (safeMint). Called by implementation contracts.

NameTypeDescription
buyeraddresswho's paying the ERC20 fee / gets the ERC721 token
tokenIduint256the token identifier to mint

__gap​

uint256[46] __gap