Presale
Verified contract
Active on
Ethereum with 9,000 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
12 additional
variables
Balances ($0.00)
No balances found for "Presale"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19618634 | 6 months ago | | | 0 | 0.0018099231 | |
| 19558530 | 6 months ago | | | 0.2 | 0.00048790680 | |
| 19551238 | 6 months ago | | | 0.04 | 0.00077992740 | |
| 19551238 | 6 months ago | | | 0.04 | 0.00080104058 | |
| 19541316 | 6 months ago | | | 0 | 0.0015355763 | |
| 19541188 | 6 months ago | | | 0 | 0.0016974005 | |
| 19536417 | 6 months ago | | | 0.1 | 0.00073023585 | |
| 19535975 | 6 months ago | | | 0.1 | 0.00077913969 | |
| 19532777 | 6 months ago | | | 2.5 | 0.0015306947 | |
| 19532774 | 6 months ago | | | 2.5 | 0.0014842482 |
ABI
ABI objects
Getter at block 20856851
DOMAIN_TYPEHASH() view returns (bytes32)
0x47e79534a245952e8b16893a336b85a3d9ea9fa8c573f3d803afb92a79469218
allowedNFTsMerkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
allowedWalletsMerkleRoot() view returns (bytes32)
0x622523679c4d743d9b759b5e166acbf593c7edf87be02d0ea8317868898ca805
cachedChainId() view returns (uint256)
1
cachedDomainSeparator() view returns (bytes32)
0x48ba26661dae802259fa445fba944fffa2b36485194073d33af560ef627ed8df
cachedThis() view returns (address)
0x7a655a234ddf076c3530ac847040f8d8c5115021
delegateRegistryV1() view returns (address)
0x00000000000076a84fef008cdabe6409d2fe638b
delegateRegistryV2() view returns (address)
0x00000000000000447e69651d841bd8d104bed493
diceNFT() view returns (address)
0x0581ddf7a136c6837429a46c6cb7b388a3e52971
diceNFTsMerkleRoot() view returns (bytes32)
0x2ca5fd3a7160f703128f21fc1b0cd2e43a7c9c77d03704c55921a3d0cc15bbfe
diceNFTsTokensEligibleMerkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
guaranteedAllocation() view returns (uint256)
830000000000000000000
guaranteedEnd() view returns (uint256)
1711630800
guaranteedExchangeRate() view returns (uint256)
57783
guaranteedRaisedETH() view returns (uint256)
583170319148936169115
guaranteedStart() view returns (uint256)
1711453558
luckyAllocationTier1() view returns (uint256)
65500000000000000000
luckyAllocationTier2() view returns (uint256)
70500000000000000000
luckyAllocationTier3() view returns (uint256)
76000000000000000000
luckyEnd() view returns (uint256)
1711465200
luckyExchangeRate1() view returns (uint256)
53338
luckyExchangeRate2() view returns (uint256)
49528
luckyExchangeRate3() view returns (uint256)
46226
luckyRaisedETH() view returns (uint256)
212000000000000000000
luckySigner() view returns (address)
0xa5fac889b50089c67def1be86ccd5418732286bc
luckyStart() view returns (uint256)
1711453558
openEnd() view returns (uint256)
1711630800
openPhaseAllocationsMerkleRoot() view returns (bytes32)
0x7e7ad5897ac0bf1c2b965d29f5862921987d437c76838cd777963dbaeb363804
openPhaseContributionStep() view returns (uint256)
50000000000000000
openPhaseWalletCap() view returns (uint256)
2500000000000000000
openRaisedETH() view returns (uint256)
4601950000000000000000
openStart() view returns (uint256)
1711465200
owner() view returns (address)
0x0dc45dd219e85d69230f641920836c7a40a544e7
paused() view returns (bool)
false
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
treasury() view returns (address)
0x1b3703c4fd79af133f5dc47ec924e2d7bda28ff7
Read-only
allowedNFTContributed(address, uint256) view returns (uint256)
allowedWalletContributed(address) view returns (uint256)
calculateTokens(uint256 _amount, uint8 _phase) view returns (uint256 tokens)
diceNFTContributed(uint256) view returns (uint256)
isPhaseActive(uint8 _phase) view returns (bool)
luckyPhaseContributed(address) view returns (uint256)
openPhaseContributed(address) view returns (uint256)
raffleTicketContributed(bytes) view returns (uint256)
tokensEligible(address) view returns (uint256)
State-modifying
Events acceptOwnership()
buyAllPhases(struct PresaleBuyWithDiceNFTParams[] _diceNFTParams, struct PresaleBuyWithAllowedNFTParams[] _allowedNFTParams, struct PresaleAllowedWalletParams _allowedWalletParams, bytes _luckyPhaseSignature, uint256 _luckyPhaseAmount, uint256 _luckyPhaseMaxAmount, uint256 _openPhaseAmount) payable
buyLuckyTier(uint256 _maxAmount, bytes _signature) payable
buyOpenPhase() payable
buyWithAllowedNFT(bytes32[] _proof, address _collection, uint256 _tokenId, uint256 _maxAmount) payable
buyWithAllowedNFTs(struct PresaleBuyWithAllowedNFTParams[] _params) payable
buyWithAllowedWallet(bytes32[] _proof, uint256 _maxAmount) payable
buyWithDiceNFT(bytes32[] _proof, uint256 _tokenId, uint256 _maxAmount) payable
buyWithDiceNFTs(struct PresaleBuyWithDiceNFTParams[] _params) payable
pause()
renounceOwnership()
setAllowedNFTsMerkleRoot(bytes32 _allowedNFTsMerkleRoot)
setAllowedWalletsMerkleRoot(bytes32 _allowedWalletsMerkleRoot)
setDiceNFTsMerkleRoot(bytes32 _diceNFTsMerkleRoot)
setDiceNFTsTokensEligibleMerkleRoot(bytes32 _diceNFTsTokensEligibleMerkleRoot)
setExchangeRates(uint256 _guaranteedExchangeRate, uint256 _luckyExchangeRate1, uint256 _luckyExchangeRate2, uint256 _luckyExchangeRate3)
setGuaranteedPhase(uint256 _guaranteedStart, uint256 _guaranteedEnd, uint256 _guaranteedAllocation)
setLuckyPhase(uint256 _luckyStart, uint256 _luckyEnd, uint256 _luckyAllocationTier1, uint256 _luckyAllocationTier2, uint256 _luckyAllocationTier3, address _luckySigner)
setOpenPhase(uint256 _openStart, uint256 _openEnd, uint256 _openPhaseWalletCap, uint256 _openPhaseContributionStep)
setOpenPhaseAllocationsMerkleRoot(bytes32 _openPhaseAllocationsMerkleRoot)
transferOwnership(address newOwner)
unpause()
AllowedNFTsMerkleRootSet(bytes32 indexed allowedNFTsMerkleRoot)
AllowedWalletsMerkleRootSet(bytes32 indexed allowedWalletsMerkleRoot)
Contributed(address indexed contributor, uint256 indexed amount)
ContributedAllowedNFT(address indexed contributor, uint256 indexed amount, uint256 indexed tokensAmount, address collection, uint256 tokenId)
ContributedAllowedWallet(address indexed contributor, uint256 indexed amount, uint256 indexed tokensAmount)
ContributedDiceNFT(address indexed contributor, uint256 indexed amount, uint256 indexed tokensAmount, uint256 tokenId)
ContributedLuckyPhase(address indexed contributor, uint256 indexed amount, uint256 indexed tokensAmount)
ContributedOpenPhase(address indexed contributor, uint256 indexed amount)
DiceNFTsMerkleRootSet(bytes32 indexed diceNFTsMerkleRoot)
DiceNFTsTokensEligibleMerkleRootSet(bytes32 indexed diceNFTsTokensEligibleMerkleRootSet)
ExchangeRatesSet(uint256 guaranteedExchangeRate, uint256 luckyExchangeRate1, uint256 luckyExchangeRate2, uint256 luckyExchangeRate3)
GuaranteedPhaseSet(uint256 indexed guaranteedStart, uint256 indexed guaranteedEnd, uint256 indexed guaranteedAllocation)
LuckyPhaseSet(uint256 luckyStart, uint256 luckyEnd, uint256 luckyAllocationTier1, uint256 luckyAllocationTier2, uint256 luckyAllocationTier3, address luckySigner)
OpenPhaseAllocationsMerkleRootSet(bytes32 indexed openPhaseAllocationsMerkleRoot)
OpenPhaseSet(uint256 openStart, uint256 openEnd, uint256 openPhaseWalletCap, uint256 openPhaseContributionStep)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Unpaused(address account)
constructor(address _diceNFT, address _treasury, address _initialOwner, address _delegateRegistryV1, address _delegateRegistryV2)
This contract contains no fallback and receive objects.
ContributionAmountMismatch()
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
EnforcedPause()
ExceededAllowedWalletCap(address wallet)
ExceededDiceNFTCap(uint256 tokenId)
ExceededGuaranteedAllocation()
ExceededLuckyAllocation()
ExceededNFTCap(address collection, uint256 tokenId)
ExceededOpenPhaseWalletCap(address wallet)
ExceededRaffleTicketContribution()
ExpectedPause()
IncorrectContributionStep()
InvalidAllowedNFTProof()
InvalidAllowedWalletProof()
InvalidDiceNFTProof()
InvalidSignature()
NotTokenOwner(address collection, uint256 tokenId)
OnlyAfterPresale()
OnlyBeforePresale()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
PhaseNotActive(uint8 phase)
ReentrancyGuardReentrantCall()
TransferFailed(address recipient, uint256 amount)