EeseeMinter
EeseeMinter
EeseeNFTLazyMintImplementation
Contract implementations for Clonable
EeseeNFTDropImplementation
random
Contract that provides random.
lazyMintCollections
Maps msg.senders to collection owners to collection IDs to NFT collections. Note: We use owners in a mapping to avoid NFT censorship. If we did not include owners, malicious users would be able to frontrun collectionIDs to block other users' colelctions from being created. msg.senders are also included in a mapping as a method of access control.
lazyMint
Deploys NFT collection contract if there isn't one and mints token to it. Emits {DeployLazyMint} event if new collection was deployed and emits {LazyMint} event.
Parameters
collectionID
uint256
- Unique collection identificator. Note: different {owner}s can share the same collectionID for different collections.
owner
address
- The owner of the NFT collection contract. Is only used on deploy.
collectionMetadata
struct LazyMintCollectionMetadata
- Collection metadata info. (name for a collection, symbol of the collection and contract URI for opensea).
tokenMetadata
struct LazyMintTokenMetadata
- Token metadata info. (URI of the minted token, receiver of royalties for this token and amount of royalties received from each sale. [10000 = 100%]).
recipient
address
- Receiver of NFT.
Return Values
collection
contract IERC721
- Address of the collection the NFT was minted to.
tokenID
uint256
- ID of token minted.
deployDropCollection
Deploys a new drop collection contract. Emits {DeployDrop} event.
Parameters
metadata
struct DropMetadata
mintLimit
uint32
- NFT mint cap.
mintStartTimestamp
uint32
- Mint start timestamp.
stages
struct IEeseeNFTDrop.StageOptions[]
- Options for the NFT sale stages.
Return Values
collection
contract IERC721
- Drops collection address.
Inherited from IEeseeMinter
random
lazyMintCollections
DeployLazyMint
LazyMint
DeployDrop
Last updated