EeseeNFTLazyMint
EeseeNFTLazyMint
contractURI
Opensea royalty and NFT collection info.
collectionID
Collection ID that is used to match collections in minting contract.
owner
Owner address. Note: Owner doesn't have any special rights.
minter
Minter contract.
initialize
mintSingle
Mints 1 NFT and sends it to the {recipient}.
Parameters
recipient
address
- Receiver of NFTs.
metadata
struct LazyMintTokenMetadata
- URI of the minted token, receiver of royalties for this token and amount of royalties received from each sale. [10000 = 100%]
Return Values
tokenId
uint256
- ID of token minted.
Note: This function can only be called minter.
tokenURI
Returns tokenId's token URI.
Parameters
tokenId
uint256
- Token ID to check.
Return Values
[0]
string
string Token URI.
supportsInterface
Inherited from ERC2771Context
isTrustedForwarder
Inherited from ERC2981
royaltyInfo
Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
Inherited from ERC721AUpgradeable
totalSupply
_Returns the total number of tokens in existence. Burned tokens will reduce the count. To get the total number of tokens minted, please see {totalMinted}.
balanceOf
Returns the number of tokens in owner
's account.
name
Returns the token collection name.
symbol
Returns the token collection symbol.
ownerOf
_Returns the owner of the tokenId
token.
Requirements:
tokenId
must exist._
approve
_Gives permission to to
to transfer tokenId
token to another account. See {ERC721A-_approve}.
Requirements:
The caller must own the token or be an approved operator._
getApproved
_Returns the account approved for tokenId
token.
Requirements:
tokenId
must exist._
setApprovalForAll
_Approve or remove operator
as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
Requirements:
The
operator
cannot be the caller.
Emits an {ApprovalForAll} event._
isApprovedForAll
_Returns if the operator
is allowed to manage all of the assets of owner
.
See {setApprovalForAll}._
transferFrom
_Transfers tokenId
from from
to to
.
Requirements:
from
cannot be the zero address.to
cannot be the zero address.tokenId
token must be owned byfrom
.If the caller is not
from
, it must be approved to move this token by either {approve} or {setApprovalForAll}.
Emits a {Transfer} event._
safeTransferFrom
Equivalent to safeTransferFrom(from, to, tokenId, '')
.
safeTransferFrom
_Safely transfers tokenId
token from from
to to
.
Requirements:
from
cannot be the zero address.to
cannot be the zero address.tokenId
token must exist and be owned byfrom
.If the caller is not
from
, it must be approved to move this token by either {approve} or {setApprovalForAll}.If
to
refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
Emits a {Transfer} event._
Inherited from IERC721AUpgradeable
Transfer
Emitted when tokenId
token is transferred from from
to to
.
Approval
Emitted when owner
enables approved
to manage the tokenId
token.
ApprovalForAll
Emitted when owner
enables or disables (approved
) operator
to manage all of its assets.
ConsecutiveTransfer
_Emitted when tokens in fromTokenId
to toTokenId
(inclusive) is transferred from from
to to
, as defined in the ERC2309 standard.
See {mintERC2309} for more details.
Inherited from IEeseeNFTLazyMint
contractURI
collectionID
owner
minter
Inherited from Initializable
Initialized
Triggered when the contract has been initialized or reinitialized.
Last updated