PxTrainerAdventure
Verified contract
Active on
Ethereum with 1,831 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0df2…9b5c
-
variable spans 4 additional slots
Balances ($0.00)
No balances found for "PxTrainerAdventure"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17657740 | a year ago | | | 0 | 0.0027714503 | |
| 17656164 | a year ago | | | 0 | 0.0022691260 | |
| 17656160 | a year ago | | | 0 | 0.0036225188 | |
| 17656158 | a year ago | | | 0 | 0.0022725187 | |
| 17655391 | a year ago | | | 0 | 0.0022339425 | |
| 17649896 | a year ago | | | 0 | 0.0088478975 | |
| 17647788 | a year ago | | | 0 | 0.0051006437 | |
| 17647775 | a year ago | | | 0 | 0.0037135850 | |
| 17646674 | a year ago | | | 0 | 0.0025387536 | |
| 17646670 | a year ago | | | 0 | 0.0019312351 |
ABI
ABI objects
Getter at block 21390703 getTreasures() view returns (struct PxWeekManagerTreasure[] tmp)
ERC_1155_TYPE() view returns (uint8)
1
ERC_721_TYPE() view returns (uint8)
2
owner() view returns (address)
0xeff2c736bd99e8c30e0e81099aebd893d8c71252
pxChainlinkManagerContract() view returns (address)
0x0df2d64b5440bf2b4bcc1074ec0e05d6463a9b5c
sponsoredTrip() view returns (address collectionAddress, uint256 tokenId, uint256 claimedToken, uint8 contractType, uint8 treasureType)
(collectionAddress=0xd6345673f53426db467f9376e4545d8d36f6aae8, tokenId=1, claimedToken=19, contractType=1, treasureType=1)
totalTreasureCount() view returns (uint256)
17
totalWeek() view returns (uint256)
22
vaultWalletAddress() view returns (address)
0xf0a72a215636930c369e220c9ff69861e721103a
Read-only
adminWallets(address) view returns (bool)
getTreasureById(uint256 _index) view returns (struct PxWeekManagerTreasure tmp)
getWeekInfo(uint256 _weekNumber) view returns (struct PxWeekManagerWeekData week)
getWeeklyClaimedCount(uint256 _weekNumber, address _walletAddress) view returns (uint8 count)
getWeeklyDistributions(uint256 _weekNumber) view returns (struct PxWeekManagerTreasureDistribution[] tmp)
moderatorWallets(address) view returns (bool)
sponsoredTripWinners(address) view returns (bool)
treasures(uint256) view returns (address collectionAddress, uint256 tokenId, uint256 claimedToken, uint8 contractType, uint8 treasureType)
weekInfos(uint256) view returns (uint256 startTimeStamp, uint256 ticketDrawTimeStamp, uint256 claimStartTimeStamp, uint256 endTimeStamp, uint256 remainingSupply, uint8 treasureCount, uint8 sponsoredTripsCount, uint8 availabletripsCount)
State-modifying
Events addSponsoredTripTreasure(struct PxWeekManagerTreasure _treasure)
addTreasures(struct PxWeekManagerTreasure _treasure)
claimTreasure(uint256 _weekNumber, bytes _signature)
generateChainLinkRandomNumbers(uint256 _weekNumber)
renounceOwnership()
setAdminWallet(address _walletAddress, bool _flag)
setModeratorWallet(address _walletAddress, bool _flag)
setSponsoredTripWinnerMap(address[] _previousWinners, bool[] _flags)
setVaultWalletAddress(address _walletAddress)
setWeeklyTimeStamp(uint256 _numberOfWeeks, uint256 _startTimeStamp, uint256 _prizeUpdationDuration, uint256 _winnerUpdationDuration, uint256 _weeklyDuration)
setWeeklyTreasureDistribution(uint256 _weekNumber, uint8[] _treasureindexes, uint16[] _treasureCounts, uint8 _sponsoredTripsCount)
setpxChainlinkManagerContractAddress(address _pxChainlinkContractAddress)
transferOwnership(address newOwner)
updateTreasure(uint256 _index, struct PxWeekManagerTreasure _treasure)
updateWeeklyTimeStamp(uint256 _weekNumber, uint256 _startTimeStamp, uint256 _prizeUpdationDuration, uint256 _winnerUpdationDuration, uint256 _weeklyDuration)
updateWeeklyWinners(uint256 _weekNumber, address[] _winners, uint8[] _treasureCounts)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
TreasureTransferred(uint256 weekNumber, address userWallet, address collectionAddress, uint256 tokenId, uint256 tokenType)
WeeklyWinnersSet(uint256 weekNumber, address[] tripWinners)
constructor(address _pxChainlinkContractAddress)
This contract contains no fallback and receive objects.
AlreadyClaimed()
InsufficientToken()
InvalidClaimingPeriod()
InvalidDuration()
InvalidInput()
InvalidLength()
InvalidSignature()
InvalidTimeStamp()
InvalidTreasureIndex()
InvalidUpdationPeriod()
InvalidWeekNumber()
NotAWinner()
NotAdmin()
NotModerator()