Preseller

Verified contract

Active on Ethereum with 500 txns
Deployed by via 0x367d8366 at 17517558
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#0)
ERC-1555
--
0xa5625f91b0abbb8a9db7551239649e9ca9beae8f0d0cefa3438c485a9cda36a3
0xa0e054070835812e642404600fecdb6d76fbc01c932165e62f70b53ddb19cdd0
0x63df80ced71a3c91375232c00467a9731056836f6c1462f276433453b07225b6
0x751dccd6c5ea35bd9b116c83f765aafab9f28c0b39f4a83ecbe14f5eb8753494
0xca7bbd4f96bfe17cfbb736ecc4e63899b1ca5818eafe09b474e0b1c300d965ff
0xdb0b2335d06a18fc481988efd22667090dd26d863bd82f902a937a6111b239a6
0x9e968de9dec8d56ebdf3baa906306e2ea2d3f4dd7b5cc2f95a184054b5476d00
0xe8534c6e7289052f55b29ef3ea4b1819449ba5dc842898b361ddf0bbbb77c2bc
0x768eb223b1d10d9c8a4dbf2ec89d66072b789823fe565bbe7ab89eb3ddabb375
0x964b97f1389d91971bb45c48ff9dd156d4f89d0edc92248c07962b986796fbfc

Functions
Getter at block 20906812
nextMintId(view returns (uint256)
1
nft(view returns (address)
0x8428cbdc4100fc7e1b14c2e4765a9a8133587f28
owner(view returns (address)
0x9074a6eedbc32abbffa64cccaee7e970155f8249
usdc(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Read-only
getMintInfo(uint256 mintIdview returns (struct PresellerMintInfo)
getUserPurchasesPerMintId(uint256 mintIdaddress userview returns (uint256[])
isMintActive(uint256 mintIdview returns (bool)
mintInfos(uint256view returns (uint48 startTimeuint48 endTimeuint48 claimTimebytes32 merkleRootuint256 maxPurchaseduint256 totalPurchased)
numberPurchased(uint256addressuint256view returns (uint256)
State-modifying
claimPresale(address useruint256 mintId
claimPresaleBatch(address[] usersuint256[] mintIds
purchasePresale(uint256 mintIduint256[] amountsuint256[] allocationsbytes32[] proof
renounceOwnership(
setupMintPhase(uint48 _startTimeuint48 _endTimeuint48 _claimTimebytes32 _merkleRootuint256 _maxPurchaseduint256[] _pricesreturns (uint256)
transferOwnership(address newOwner
updateMintClaimTime(uint256 mintIduint48 _claimTime
updateMintEndTime(uint256 mintIduint48 _endTime
updateMintMaxPurchased(uint256 mintIduint256 _maxPurchased
updateMintMerkleRoot(uint256 mintIdbytes32 _merkleRoot
updateMintStartTime(uint256 mintIduint48 _startTime
updatePrices(uint256 mintIduint256[] _prices
withdraw(
Events
ClaimTimeUpdated(uint256 indexed mintIduint48 claimTimeuint48 oldClaimTime
EndTimeUpdated(uint256 indexed mintIduint48 endTimeuint48 oldEndTime
MaxPurchasedUpdated(uint256 indexed mintIduint256 supplyuint256 oldSupply
MerkleRootUpdated(uint256 indexed mintIdbytes32 merkleRootbytes32 oldMerkleRoot
NewMintPhaseCreated(uint256 indexed mintId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PresalePurchase(address indexed purchaseruint256 indexed amount
PricesUpdated(uint256 indexed mintId
StartTimeUpdated(uint256 indexed mintIduint48 startTimeuint48 oldStartTime
Withdrawal(uint256 balance
Constructor
constructor(address _owneraddress _nftaddress _usdc
Fallback and receive

This contract contains no fallback and receive objects.

Errors
Preseller__ArrayLengthInvalid(
Preseller__ArrayLengthMismatch(
Preseller__ExceedsMaxAllocation(
Preseller__ExceedsMaxSupply(
Preseller__MaxPurchasedInvalid(
Preseller__MintIdInvalid(
Preseller__MintTimesInvalid(
Preseller__NotTimeForClaim(
Preseller__NotTimeForPresalePurchases(
Preseller__ProofInvalid(
Preseller__USDCTransferFailed(
Preseller__ZeroAddressInvalid(
Preseller__ZeroAmount(
Preseller__ZeroRootInvalid(