Preseller
Verified contract
Active on
Ethereum with 500 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
0x0f24…0831 | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17919595 | a year ago | | | 0 | 0.062776709 | |
| 17919588 | a year ago | | | 0 | 0.065045831 | |
| 17919581 | a year ago | | | 0 | 0.061312619 | |
| 17919581 | a year ago | | | 0 | 0.061212842 | |
| 17919559 | a year ago | | | 0 | 0.074030355 | |
| 17919559 | a year ago | | | 0 | 0.079525848 | |
| 17919559 | a year ago | | | 0 | 0.082993208 | |
| 17893184 | a year ago | | | 0 | 0.00085571761 | |
| 17893182 | a year ago | | | 0 | 0.00083051760 | |
| 17864872 | a year ago | | | 0 | 0.0019369142 |
ABI
ABI objects
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 mintId) view returns (struct PresellerMintInfo)
getUserPurchasesPerMintId(uint256 mintId, address user) view returns (uint256[])
isMintActive(uint256 mintId) view returns (bool)
mintInfos(uint256) view returns (uint48 startTime, uint48 endTime, uint48 claimTime, bytes32 merkleRoot, uint256 maxPurchased, uint256 totalPurchased)
numberPurchased(uint256, address, uint256) view returns (uint256)
State-modifying
Events claimPresale(address user, uint256 mintId)
claimPresaleBatch(address[] users, uint256[] mintIds)
purchasePresale(uint256 mintId, uint256[] amounts, uint256[] allocations, bytes32[] proof)
renounceOwnership()
setupMintPhase(uint48 _startTime, uint48 _endTime, uint48 _claimTime, bytes32 _merkleRoot, uint256 _maxPurchased, uint256[] _prices) returns (uint256)
transferOwnership(address newOwner)
updateMintClaimTime(uint256 mintId, uint48 _claimTime)
updateMintEndTime(uint256 mintId, uint48 _endTime)
updateMintMaxPurchased(uint256 mintId, uint256 _maxPurchased)
updateMintMerkleRoot(uint256 mintId, bytes32 _merkleRoot)
updateMintStartTime(uint256 mintId, uint48 _startTime)
updatePrices(uint256 mintId, uint256[] _prices)
withdraw()
ClaimTimeUpdated(uint256 indexed mintId, uint48 claimTime, uint48 oldClaimTime)
EndTimeUpdated(uint256 indexed mintId, uint48 endTime, uint48 oldEndTime)
MaxPurchasedUpdated(uint256 indexed mintId, uint256 supply, uint256 oldSupply)
MerkleRootUpdated(uint256 indexed mintId, bytes32 merkleRoot, bytes32 oldMerkleRoot)
NewMintPhaseCreated(uint256 indexed mintId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PresalePurchase(address indexed purchaser, uint256 indexed amount)
PricesUpdated(uint256 indexed mintId)
StartTimeUpdated(uint256 indexed mintId, uint48 startTime, uint48 oldStartTime)
Withdrawal(uint256 balance)
constructor(address _owner, address _nft, address _usdc)
This contract contains no fallback and receive objects.
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()