MezzanotteSale
Verified contract
Active on
Ethereum with 215 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "MezzanotteSale"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18221734 | a year ago | | | 0 | 0.00058700574 | |
| 18221721 | a year ago | | | 0.069 | 0.00077171223 | |
| 18221630 | a year ago | | | 0.069 | 0.0010003496 | |
| 18221630 | a year ago | | | 0.069 | 0.00099866882 | |
| 18221630 | a year ago | | | 0.069 | 0.0011411400 | |
| 18221630 | a year ago | | | 0.069 | 0.0011162649 | |
| 18221629 | a year ago | | | 0.069 | 0.00098677805 | |
| 18221629 | a year ago | | | 0.069 | 0.00098677805 | |
| 18221629 | a year ago | | | 0.207 | 0.00098677805 | |
| 18221629 | a year ago | | | 0.138 | 0.00098677805 |
ABI
ABI objects
Getter at block 21307319
getSalesCount() view returns (uint256)
2
maxMint() view returns (uint256)
555
nextToMint() view returns (uint256)
555
owner() view returns (address)
0x4ddac376f28be60e1f7642a4d302c6cf6cae1d92
Read-only
getMintedAmount(uint256 saleId_, address user_) view returns (uint256)
getSale(uint256 saleId_) view returns (struct MezzanotteSaleSale)
isSaleActive(uint256 saleId_) view returns (bool)
State-modifying
Events addSale(uint64 start_, uint64 finish_, uint8 _limit, uint64 _price, bool whitelist_, bytes32 root_, bool hasMaxMint_, uint40 maxMint_)
editSale(uint256 saleId_, uint64 start_, uint64 finish_, uint8 _limit, uint64 _price, bool whitelist_, bytes32 root_, uint40 maxMint_)
publicSaleMint(uint256 saleId_, address user_, uint256 quantity_) payable
renounceOwnership()
setMaxMint(uint256 newMaxMint_)
transferOwnership(address newOwner)
whitelistSaleMint(uint256 saleId_, address user_, uint256 quantity_, bytes32[] proof_) payable
withdrawERC20(address token_, address to_, uint256 amount_)
withdrawEther(address to_, uint256 amount_)
LogRefund(uint256 indexed saleId, address indexed to, uint256 value)
LogSale(uint256 indexed saleId, address indexed to, uint256 quantity)
LogSaleCreated(uint256 indexed saleId, uint64 start, uint64 finish, uint8 limit, uint64 price, bool whitelist, bytes32 root, bool hasMaxMint, uint40 maxMint)
LogSaleEdited(uint256 indexed saleId, uint64 start, uint64 finish, uint8 limit, uint64 price, bool whitelist, bytes32 root, bool hasMaxMint, uint40 maxMint)
LogSetMaxMint(uint256 prevMaxMint, uint256 newMaxMint)
LogSetURI(string newURI)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address NFTToken_, uint64 startSales_, bytes32 whitelistRoot_, uint64 whitelistSaleDuration_, uint64 price_)
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
EtherRefundFailedError()
EtherWithdrawFailedError()
FailedInnerCall()
InvalidSaleIntervalError(uint256 start, uint256 finish)
InvalidSaleMaxMintError()
InvalidWhitelistRootError()
MaximumSaleLimitReachedError(uint256 saleId, address user, uint256 limit)
MaximumSaleMintSupplyReachedError(uint256 saleId)
MaximumTotalMintSupplyReachedError()
MintFailedError(bytes data)
NotInSalePhaseError(uint256 saleId, uint256 start, uint256 finish, uint256 current)
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation(address token)
SaleNotFoundError(uint256 saleId)
StaleMaxMintUpdateError()
UserNotWhitelistedOrWrongProofError(uint256 saleId, address user, bytes32[] proof)
WrongValueSentForMintError(uint256 saleId, uint256 value, uint256 price, uint256 quantity)
ZeroAddressError()
ZeroMintQuantityError()