For the complete documentation index, see llms.txt. This page is also available as Markdown.

EeseeNFTDrop

EeseeNFTDrop

baseURI

string baseURI

Base URI this contract uses while not revealed.

revealedURI

string revealedURI

Base URI this contract uses after reveal.

contractURI

string contractURI

Opensea royalty and NFT collection info.

mintLimit

uint32 mintLimit

Mint cap.

stages

Info about sale stages.

random

Contract that provides random.

minter

Minter contract.

initialize

mint

Mints nfts for recipient in the merkle tree.

Parameters

Name
Type
Description

recipient

address

- Address of recipient.

quantity

uint32

- Amount of nfts to mint.

merkleProof

bytes32[]

- Merkle tree proof of recipient.

Note: This function can only be called by minter. |

nextTokenId

Returns next token ID to be minted.

Return Values

Name
Type
Description

[0]

uint256

uint256 Token ID.

tokenURI

Returns tokenId's token URI. If there is no URI in tokenURIs uses baseURI.

Parameters

Name
Type
Description

tokenId

uint256

- Token ID to check.

Return Values

Name
Type
Description

[0]

string

string Token URI.

verifyCanMint

Verifies that a user is in allowlist of saleStageIndex sale stage.

Parameters

Name
Type
Description

saleStageIndex

uint8

- Index of the sale stage.

claimer

address

- Address of a user.

merkleProof

bytes32[]

- Merkle proof of stage's merkle tree.

Return Values

Name
Type
Description

[0]

bool

bool true if user in stage's allowlist.

getSaleStage

Returns current sale stages index. Note: If all stages ended returns stages.length;

Return Values

Name
Type
Description

index

uint8

- Index of current sale stage.

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 by from.

  • 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 by from.

  • 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 IEeseeNFTDrop

baseURI

revealedURI

contractURI

mintLimit

random

stages

Inherited from Initializable

Initialized

Triggered when the contract has been initialized or reinitialized.

Last updated