EeseeDrops

EeseeDrops

MintDropReturnParams

struct MintDropReturnParams {
  uint96 mintPrice;
  uint96 feeAmount;
  address earningsCollector;
}

drops

struct IEeseeDrops.Drop[] drops

An array of all existing drops.

ESE

contract IERC20 ESE

ESE token this contract uses.

minter

contract IEeseeMinter minter

Contract that mints NFTs

staking

contract IEeseeStaking staking

Eesee staking contract. Tracks volume for this contract.

fee

uint96 fee

Fee that is collected to {feeSplitter} from each fulfilled drop. [10000 == 100%]

feeSplitter

address feeSplitter

Address the {fee}s are sent to.

listDrop

function listDrop(struct DropMetadata metadata, struct IEeseeNFTDrop.StageOptions[] stages, uint96[] mintPrices, uint32 mintLimit, uint32 mintStartTimestamp, address earningsCollector, uint96 expectedFee) external returns (uint256 ID, contract IERC721 collection)

Deploys new NFT collection and lists it to users for minting. Emits {ListDrop} event.

Parameters

Return Values

mintDrops

function mintDrops(uint256[] IDs, uint32[] quantities, bytes32[][] merkleProofs, address recipient, bytes permit) external returns (uint96 mintPrice)

Mints NFTs from a drop. Emits {MintDrop} event.

Parameters

Return Values

changeFee

function changeFee(uint96 _fee) external

Changes fee. Emits {ChangeFee} event.

Parameters

changeFeeSplitter

function changeFeeSplitter(address _feeSplitter) external

Changes feeSplitter. Emits {ChangeFeeSplitter} event.

Parameters

getDropsLength

function getDropsLength() external view returns (uint256 length)

Get length of the drops array.

Return Values

getMintPrices

function getMintPrices(uint256 ID) external view returns (uint96[])

Returns the mint prices for specified drop.

Parameters

Return Values

Inherited from EeseeRoleHandler

Inherited from ReentrancyGuard

Inherited from ERC2771Context

isTrustedForwarder

function isTrustedForwarder(address forwarder) public view virtual returns (bool)

Inherited from IEeseeDrops

drops

function drops(uint256) external view returns (uint96 fee, contract IERC721 collection, address earningsCollector)

ESE

function ESE() external view returns (contract IERC20)

staking

function staking() external view returns (contract IEeseeStaking)

minter

function minter() external view returns (contract IEeseeMinter)

fee

function fee() external view returns (uint96)

feeSplitter

function feeSplitter() external view returns (address)

ListDrop

event ListDrop(uint256 ID, contract IERC721 collection, address earningsCollector)

MintDrop

event MintDrop(uint256 ID, contract IERC721 collection, address recipient, uint256 fromTokenID, uint32 quantity, uint96 mintPrice)

AddVolumeReverted

event AddVolumeReverted(uint96 untrackedVolume, address recipient)

CollectFee

event CollectFee(address to, uint96 amount)

ChangeFee

event ChangeFee(uint96 previousFee, uint96 newFee)

ChangeFeeSplitter

event ChangeFeeSplitter(address previousFeeSplitter, address newFeeSplitter)

Last updated