EeseeDrops
EeseeDrops
MintDropReturnParams
drops
An array of all existing drops.
ESE
ESE token this contract uses.
minter
Contract that mints NFTs
staking
Eesee staking contract. Tracks volume for this contract.
fee
Fee that is collected to {feeSplitter} from each fulfilled drop. [10000 == 100%]
feeSplitter
Address the {fee}s are sent to.
listDrop
Deploys new NFT collection and lists it to users for minting. Emits {ListDrop} event.
Parameters
metadata
struct DropMetadata
stages
struct IEeseeNFTDrop.StageOptions[]
- Options for sales stages.
mintPrices
uint96[]
- An array of drop prices for each stage in ESE.
mintLimit
uint32
- Max amount of NFTs that can be minted.
mintStartTimestamp
uint32
- Timestamp when minting starts.
earningsCollector
address
- Address to send NFT sale earnings to.
expectedFee
uint96
- Expected fee for drop lot to avoid race condition with {changeFee}.
Return Values
ID
uint256
- ID of a drop created.
collection
contract IERC721
- Address of NFT collection contract.
mintDrops
Mints NFTs from a drop. Emits {MintDrop} event.
Parameters
IDs
uint256[]
- IDs of drops to mint NFTs from.
quantities
uint32[]
- Amounts of NFTs to mint in each drop.
merkleProofs
bytes32[][]
- Merkle proofs for a {recipient} to mint NFTs.
recipient
address
- Address receiving NFT. Note: Must be in a Merkle Tree.
permit
bytes
- Abi-encoded ESE permit data containing approveAmount, deadline, v, r and s. Set to empty bytes to skip permit.
Return Values
mintPrice
uint96
- Amount of ESE tokens spent on minting.
changeFee
Changes fee. Emits {ChangeFee} event.
Parameters
_fee
uint96
- New fee.
Note: This function can only be called by ADMIN_ROLE.
changeFeeSplitter
Changes feeSplitter. Emits {ChangeFeeSplitter} event.
Parameters
_feeSplitter
address
- New fee.
Note: This function can only be called by ADMIN_ROLE.
getDropsLength
Get length of the drops array.
Return Values
length
uint256
- Length of the drops array.
getMintPrices
Returns the mint prices for specified drop.
Parameters
ID
uint256
- ID of drop to check.
Return Values
[0]
uint96[]
mintPrices - NFT Mint prices.
Inherited from EeseeRoleHandler
Inherited from ReentrancyGuard
Inherited from ERC2771Context
isTrustedForwarder
Inherited from IEeseeDrops
drops
ESE
staking
minter
fee
feeSplitter
ListDrop
MintDrop
AddVolumeReverted
CollectFee
ChangeFee
ChangeFeeSplitter
Last updated