Presale

Verified contract

Active on Ethereum with 9,000 txns
Deployed by via 0xca7bdbcf at 19518311
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
12 additional variables

No balances found for "Presale"

0x74305bda2a9b04cd3894d683f6be241fd4483772c2123d2d9e7131b9b3865db8
0xd720126efcc4de5de05499b7c5b837f682930b379fe372ee4373303d36eeef71
0x75a61d33b19553e5d7d706ee7f806af0362d9782d064ebc7dae9b0cdf765021e
0x68439bf3bb20e21614043bc2391f00c8a5e92652d82da1bd67bbad519b937ccd
0x0d5c588f1a1cdc48c28277fbf3555227db12a399231ea29bff6a7c4d182c4bf6
0x324117d08c4118b1611e1395ec542a0a8946189f5d3cffc7ea97cdcb83762a6d
0x92e2dbb6cce992905607e6fd8be5b57a4dbc20cd11f30dc62f000df39427e8bf
0xbbe56e18010a672e27db62bae20094ecde3555f5ca7f54f225fe1cf7349dbc46
0x38d3d0406cf50adf4c87342934d95f193ff813228a93547756c0cc260c751cb2
0xf84fa8cbc24520bbcc4d591f8c881d0cbcdd44a16b955a89e0cb7b0ba90b6c20

Functions
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(addressuint256view returns (uint256)
allowedWalletContributed(addressview returns (uint256)
calculateTokens(uint256 _amountuint8 _phaseview returns (uint256 tokens)
diceNFTContributed(uint256view returns (uint256)
isPhaseActive(uint8 _phaseview returns (bool)
luckyPhaseContributed(addressview returns (uint256)
openPhaseContributed(addressview returns (uint256)
raffleTicketContributed(bytesview returns (uint256)
tokensEligible(addressview returns (uint256)
State-modifying
acceptOwnership(
buyAllPhases(struct PresaleBuyWithDiceNFTParams[] _diceNFTParamsstruct PresaleBuyWithAllowedNFTParams[] _allowedNFTParamsstruct PresaleAllowedWalletParams _allowedWalletParamsbytes _luckyPhaseSignatureuint256 _luckyPhaseAmountuint256 _luckyPhaseMaxAmountuint256 _openPhaseAmountpayable 
buyLuckyTier(uint256 _maxAmountbytes _signaturepayable 
buyOpenPhase(payable 
buyWithAllowedNFT(bytes32[] _proofaddress _collectionuint256 _tokenIduint256 _maxAmountpayable 
buyWithAllowedNFTs(struct PresaleBuyWithAllowedNFTParams[] _paramspayable 
buyWithAllowedWallet(bytes32[] _proofuint256 _maxAmountpayable 
buyWithDiceNFT(bytes32[] _proofuint256 _tokenIduint256 _maxAmountpayable 
buyWithDiceNFTs(struct PresaleBuyWithDiceNFTParams[] _paramspayable 
pause(
renounceOwnership(
setAllowedNFTsMerkleRoot(bytes32 _allowedNFTsMerkleRoot
setAllowedWalletsMerkleRoot(bytes32 _allowedWalletsMerkleRoot
setDiceNFTsMerkleRoot(bytes32 _diceNFTsMerkleRoot
setDiceNFTsTokensEligibleMerkleRoot(bytes32 _diceNFTsTokensEligibleMerkleRoot
setExchangeRates(uint256 _guaranteedExchangeRateuint256 _luckyExchangeRate1uint256 _luckyExchangeRate2uint256 _luckyExchangeRate3
setGuaranteedPhase(uint256 _guaranteedStartuint256 _guaranteedEnduint256 _guaranteedAllocation
setLuckyPhase(uint256 _luckyStartuint256 _luckyEnduint256 _luckyAllocationTier1uint256 _luckyAllocationTier2uint256 _luckyAllocationTier3address _luckySigner
setOpenPhase(uint256 _openStartuint256 _openEnduint256 _openPhaseWalletCapuint256 _openPhaseContributionStep
setOpenPhaseAllocationsMerkleRoot(bytes32 _openPhaseAllocationsMerkleRoot
transferOwnership(address newOwner
unpause(
Events
AllowedNFTsMerkleRootSet(bytes32 indexed allowedNFTsMerkleRoot
AllowedWalletsMerkleRootSet(bytes32 indexed allowedWalletsMerkleRoot
Contributed(address indexed contributoruint256 indexed amount
ContributedAllowedNFT(address indexed contributoruint256 indexed amountuint256 indexed tokensAmountaddress collectionuint256 tokenId
ContributedAllowedWallet(address indexed contributoruint256 indexed amountuint256 indexed tokensAmount
ContributedDiceNFT(address indexed contributoruint256 indexed amountuint256 indexed tokensAmountuint256 tokenId
ContributedLuckyPhase(address indexed contributoruint256 indexed amountuint256 indexed tokensAmount
ContributedOpenPhase(address indexed contributoruint256 indexed amount
DiceNFTsMerkleRootSet(bytes32 indexed diceNFTsMerkleRoot
DiceNFTsTokensEligibleMerkleRootSet(bytes32 indexed diceNFTsTokensEligibleMerkleRootSet
ExchangeRatesSet(uint256 guaranteedExchangeRateuint256 luckyExchangeRate1uint256 luckyExchangeRate2uint256 luckyExchangeRate3
GuaranteedPhaseSet(uint256 indexed guaranteedStartuint256 indexed guaranteedEnduint256 indexed guaranteedAllocation
LuckyPhaseSet(uint256 luckyStartuint256 luckyEnduint256 luckyAllocationTier1uint256 luckyAllocationTier2uint256 luckyAllocationTier3address luckySigner
OpenPhaseAllocationsMerkleRootSet(bytes32 indexed openPhaseAllocationsMerkleRoot
OpenPhaseSet(uint256 openStartuint256 openEnduint256 openPhaseWalletCapuint256 openPhaseContributionStep
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
Unpaused(address account
Constructor
constructor(address _diceNFTaddress _treasuryaddress _initialOwneraddress _delegateRegistryV1address _delegateRegistryV2
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ContributionAmountMismatch(
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
EnforcedPause(
ExceededAllowedWalletCap(address wallet
ExceededDiceNFTCap(uint256 tokenId
ExceededGuaranteedAllocation(
ExceededLuckyAllocation(
ExceededNFTCap(address collectionuint256 tokenId
ExceededOpenPhaseWalletCap(address wallet
ExceededRaffleTicketContribution(
ExpectedPause(
IncorrectContributionStep(
InvalidAllowedNFTProof(
InvalidAllowedWalletProof(
InvalidDiceNFTProof(
InvalidSignature(
NotTokenOwner(address collectionuint256 tokenId
OnlyAfterPresale(
OnlyBeforePresale(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
PhaseNotActive(uint8 phase
ReentrancyGuardReentrantCall(
TransferFailed(address recipientuint256 amount