Mogies Dutch Auction Contract
A variation on the ERC-721A Non-Fungible Token Standard The following smart contract allows for the implementation of a "Dutch Auction" sale for NFTs. This standard provides basic functionality for selling NFTs and other functionalities including:
Whitelist
Public Sale
Token Rebate
Developer Mint
Bonus Mint
Functions
auctionMint
Function to handle the dutch auction
allowlistMint
Function to support the whitelist sale
isAllowedListed
setAllowListMerkleRoot
Function for contract owner to allow merkle tree during the whitelist sale
publicSaleMint
isPublicSaleOn
setPublicSale
setAuctionEthParams
Helper functions for setting prices right before auction. Will only be needed when large price fluctuations occur between deployment of the contract and start of auction. Will no longer be avaliable once the sale has started.
setAuctionStarsParams
getAuctionPrice
rebate
refundIfOver
getBuyerList
setEthUsdPrice
setStarsUsdPrice
setAuctionSaleStartTime
setWhitelistSaleStartTime
setPublicSaleStartTime
setWhitelistSaleEndTime
setPublicSaleEndTime
devMint
mintRemaining
setUriPrefix
setUriSuffix
setRevealed
tokenURI
setHiddenMetadataUri
_baseURI
requestStartingIndex
fulfillRandomness
setProvenance
withdrawMoney
Last updated