ClaimGift

Verified contract

Active on Ethereum with 234 txns
Deployed by via 0x9591d379 at 16297821
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 299 additional slots
 (#772)
ERC-721
--
 (#379)
ERC-721
--
 (#5)
ERC-721
--
 (#1)
ERC-1555
--
0x3eb9ccea33900a030957a316cf0e1df4c28557b2fc8a0739c50f0da60fe9b4c0
0x8e00d721b95adaccad3253e013679ca80c64b31aa006f3d3bc68c177f0142df5
0xa9809d1fa1b9ad934cbc93f6671207b932e5356dc26f0b7fc6e83ed9e2aca949
0x0d8afd00f73de3d792f68584e16d2ed6fb4ec6082e19e86b5bd8370cb6510730
0x6a8d3518ed72942d55ec00e9573d6107add3afb44ce41fe6fbbad5863685186d
0x6e0d6884cbd4d1554d2657bdf46a0c3e1a04b8b259f5baae5fb43f443a5a04d0
0x8204d816e4f130a58bcf491224872ac51da908b94bf814c586e8a1186f423b12
0xbf4a732be800b6e3fff30b97da531b28e81c2c0aa1876a0d060bc80e3330d177
0x399377197ae5d658b3eaf9e75592b6c493d98054df137d1aab1459e9e2f19259
0x99ef7204fd0994408353309f3a37c3e8c9d77652517b6e879239be743c98fa3c

Functions
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(uint256view returns (bool)
claimedAmount(uint256view returns (uint256)
getGiftListManagerIndexOf(uint256 _valueOfIndexview returns (uint256)
giftClaimer(uint256view returns (address)
giftIndexs(uint256view returns (uint256)
giftTokens(uint256view returns (address collectionAddressaddress receiverWalletuint256 giftTokenIduint256 claimIndexuint256 giftCollectionContractTypebool isGivenAwaybool isRescued)
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytespure returns (bytes4)
onERC1155Received(addressaddressuint256uint256bytespure returns (bytes4)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
supportsInterface(bytes4 interfaceIDpure returns (bool)
whiteListedWallets(addressview returns (bool)
State-modifying
addERC1155GiftTokensToSmartContract(uint256 _tokenIdaddress _collectionAddressuint256 _amount
addERC712GiftTokensToSmartContract(uint256 _tokenIdaddress _collectionAddress
addGiftTokensToSmartContract(struct ClaimGiftGiftTokenInput[] _giftTokens
claimGift(uint256 _claimGiftAmount
renounceOwnership(
rescueGiftToken(uint256 _giftIndexaddress _transferTouint256 _giftListManagerIndex
sendGift(uint256 _claimRequestIduint256 _randomSeed
setGiftBoxTokenId(uint256 _giftBoxTokenId
setGiftClaimStatus(bool _giftClaimStatus
setGiftClaimingTimeStamp(uint256 _claimingStartsAtTimeStampuint256 _claimingEndsAtTimeStamp
setGiftTransferCallerWallet(address _giftTransferCallerWallet
setMaximumGiftSupply(uint256 _maximumGiftSupply
setRewardContract(address _rewardContractAddress
setWhiteListedWallet(address _walletAddressbool _flag
transferOwnership(address newOwner
Events
ClaimGiftRequestComplete(uint256 requestIduint256 requestAmountaddress userWallet
GiftTokenTransferred(uint256 requestIdaddress userWalletaddress collectionAddressuint256 tokenIduint256 tokenTypeuint256 randomNumber
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _rewardContractAddressaddress _giftTransferCallerWalletuint256 _claimingStartsAtTimeStampuint256 _claimingEndsAtTimeStamp
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ClaimingNotAllowedOutsideValidTimeWindow(
GiftAlreadyClaimedForThisRequest(
GiftClaimNotActive(
GiftNotAvailable(
GiftSupplyExceedsMaxSupply(
InsufficientGiftBoxTokenAmount(
InsufficientGiftTokenAmount(
InvalidDataLength(
InvalidGiftContractType(
InvalidGiftListManagerIndex(
InvalidRequestId(
InvalidTimeStamp(
NotAbleToRescue(
NotApprovedForAll(
NotGiftTransferCaller(
NotOwnerOfToken(uint256 _tokenIdaddress _collectionAddress
NotWhiteListed(