ClaimGift
Verified contract
Active on
Ethereum with 234 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 299 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
AMSNOVA | ERC-721 | 1 | -- | -- | |
AMSNOVA | ERC-721 | 1 | -- | -- | |
DWCNFT | ERC-721 | 1 | -- | -- | |
0xc80b…1b8e | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20632771 | a month ago | | | 0 | 0.00015886040 | |
| 20632770 | a month ago | | | 0 | 0.00015714689 | |
| 20632769 | a month ago | | | 0 | 0.00014616370 | |
| 20632769 | a month ago | | | 0 | 0.00014616370 | |
| 20632768 | a month ago | | | 0 | 0.00014598486 | |
| 20632767 | a month ago | | | 0 | 0.00015328552 | |
| 20632760 | a month ago | | | 0 | 0.00014889128 | |
| 20632750 | a month ago | | | 0 | 0.00015529449 | |
| 20632749 | a month ago | | | 0 | 0.00015336275 | |
| 20632749 | a month ago | | | 0 | 0.00015057015 |
ABI
ABI objects
Getter at block 20956907
availableGiftAmount() view returns (uint256)
4
claimingEndsAtTimeStamp() view returns (uint256)
1725148800
claimingStartsAtTimeStamp() view returns (uint256)
1693807200
giftBoxTokenId() view returns (uint256)
1
giftClaimActive() view returns (bool)
true
giftIndexCount() view returns (uint256)
4
giftTransferCallerWallet() view returns (address)
0xaafa2c435f1f03480534cc134b1760215760238a
maximumGiftSupply() view returns (uint256)
185
owner() view returns (address)
0x0f2e131e8dc813b0de0e5848751279aacad41ace
rewardContractAddress() view returns (address)
0x02b67fd1bc80bda265ba804d98ec0786e5ff321b
totalClaimRequest() view returns (uint256)
38
totalClaimedGift() view returns (uint256)
38
totalGiftAmount() view returns (uint256)
185
Read-only
claimCompleted(uint256) view returns (bool)
claimedAmount(uint256) view returns (uint256)
getGiftListManagerIndexOf(uint256 _valueOfIndex) view returns (uint256)
giftClaimer(uint256) view returns (address)
giftIndexs(uint256) view returns (uint256)
giftTokens(uint256) view returns (address collectionAddress, address receiverWallet, uint256 giftTokenId, uint256 claimIndex, uint256 giftCollectionContractType, bool isGivenAway, bool isRescued)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) pure returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) pure returns (bytes4)
onERC721Received(address, address, uint256, bytes) pure returns (bytes4)
supportsInterface(bytes4 interfaceID) pure returns (bool)
whiteListedWallets(address) view returns (bool)
State-modifying
Events addERC1155GiftTokensToSmartContract(uint256 _tokenId, address _collectionAddress, uint256 _amount)
addERC712GiftTokensToSmartContract(uint256 _tokenId, address _collectionAddress)
addGiftTokensToSmartContract(struct ClaimGiftGiftTokenInput[] _giftTokens)
claimGift(uint256 _claimGiftAmount)
renounceOwnership()
rescueGiftToken(uint256 _giftIndex, address _transferTo, uint256 _giftListManagerIndex)
sendGift(uint256 _claimRequestId, uint256 _randomSeed)
setGiftBoxTokenId(uint256 _giftBoxTokenId)
setGiftClaimStatus(bool _giftClaimStatus)
setGiftClaimingTimeStamp(uint256 _claimingStartsAtTimeStamp, uint256 _claimingEndsAtTimeStamp)
setGiftTransferCallerWallet(address _giftTransferCallerWallet)
setMaximumGiftSupply(uint256 _maximumGiftSupply)
setRewardContract(address _rewardContractAddress)
setWhiteListedWallet(address _walletAddress, bool _flag)
transferOwnership(address newOwner)
ClaimGiftRequestComplete(uint256 requestId, uint256 requestAmount, address userWallet)
GiftTokenTransferred(uint256 requestId, address userWallet, address collectionAddress, uint256 tokenId, uint256 tokenType, uint256 randomNumber)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _rewardContractAddress, address _giftTransferCallerWallet, uint256 _claimingStartsAtTimeStamp, uint256 _claimingEndsAtTimeStamp)
This contract contains no fallback and receive objects.
ClaimingNotAllowedOutsideValidTimeWindow()
GiftAlreadyClaimedForThisRequest()
GiftClaimNotActive()
GiftNotAvailable()
GiftSupplyExceedsMaxSupply()
InsufficientGiftBoxTokenAmount()
InsufficientGiftTokenAmount()
InvalidDataLength()
InvalidGiftContractType()
InvalidGiftListManagerIndex()
InvalidRequestId()
InvalidTimeStamp()
NotAbleToRescue()
NotApprovedForAll()
NotGiftTransferCaller()
NotOwnerOfToken(uint256 _tokenId, address _collectionAddress)
NotWhiteListed()