PxTrainerAdventure

Verified contract

Active on Ethereum with 1,831 txns
Deployed by via 0xf6f1c05a at 16945099
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots

No balances found for "PxTrainerAdventure"

0x34945f9c65c88ee80da4c9cbd7596988fc46ec9df97ff37b7015a033130700b6
0xa43f1730735de450f06d5e95f9a483184631481d0612a31924adaee9709aa16d
0x061c3b49549f39ce2cd0f8c8b6971d3b8288b13a4b9c04a385b45e7514ee555c
0xd020f1672fbea3fb5cf63c499c96da929bff0d276f3f307b41b5113d65c8b28d
0xa6aa12f8a9cde6b71104286636467f35522f5994acf96de21677d649c895c8eb
0x7117b4bf19a2be545b9b6bb1ff28bf56f608187bf3681446b96cdba9f1280ba9
0x9f52e411e31d5c659699cbb07a445fa8c350b198d3747d0734e2c435a15622cb
0xdd67fdaa8b2b444501d37f56abb6ce246d3a152026c48f4451ca0e672d3c696b
0x13f1320d446e4612eb71f4f98d8974c357f712198868ebe8407ac010883391f2
0x376c6282a48127616f4fc6d6573640d0ba136d410a5c9bc170ba639b45ff52ad

Functions
Getter at block 21390703
ERC_1155_TYPE(view returns (uint8)
1
ERC_721_TYPE(view returns (uint8)
2
 
getTreasures(view returns (struct PxWeekManagerTreasure[] tmp)
owner(view returns (address)
0xeff2c736bd99e8c30e0e81099aebd893d8c71252
pxChainlinkManagerContract(view returns (address)
0x0df2d64b5440bf2b4bcc1074ec0e05d6463a9b5c
sponsoredTrip(view returns (address collectionAddressuint256 tokenIduint256 claimedTokenuint8 contractTypeuint8 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(addressview returns (bool)
getTreasureById(uint256 _indexview returns (struct PxWeekManagerTreasure tmp)
getWeekInfo(uint256 _weekNumberview returns (struct PxWeekManagerWeekData week)
getWeeklyClaimedCount(uint256 _weekNumberaddress _walletAddressview returns (uint8 count)
getWeeklyDistributions(uint256 _weekNumberview returns (struct PxWeekManagerTreasureDistribution[] tmp)
moderatorWallets(addressview returns (bool)
sponsoredTripWinners(addressview returns (bool)
treasures(uint256view returns (address collectionAddressuint256 tokenIduint256 claimedTokenuint8 contractTypeuint8 treasureType)
weekInfos(uint256view returns (uint256 startTimeStampuint256 ticketDrawTimeStampuint256 claimStartTimeStampuint256 endTimeStampuint256 remainingSupplyuint8 treasureCountuint8 sponsoredTripsCountuint8 availabletripsCount)
State-modifying
addSponsoredTripTreasure(struct PxWeekManagerTreasure _treasure
addTreasures(struct PxWeekManagerTreasure _treasure
claimTreasure(uint256 _weekNumberbytes _signature
generateChainLinkRandomNumbers(uint256 _weekNumber
renounceOwnership(
setAdminWallet(address _walletAddressbool _flag
setModeratorWallet(address _walletAddressbool _flag
setSponsoredTripWinnerMap(address[] _previousWinnersbool[] _flags
setVaultWalletAddress(address _walletAddress
setWeeklyTimeStamp(uint256 _numberOfWeeksuint256 _startTimeStampuint256 _prizeUpdationDurationuint256 _winnerUpdationDurationuint256 _weeklyDuration
setWeeklyTreasureDistribution(uint256 _weekNumberuint8[] _treasureindexesuint16[] _treasureCountsuint8 _sponsoredTripsCount
setpxChainlinkManagerContractAddress(address _pxChainlinkContractAddress
transferOwnership(address newOwner
updateTreasure(uint256 _indexstruct PxWeekManagerTreasure _treasure
updateWeeklyTimeStamp(uint256 _weekNumberuint256 _startTimeStampuint256 _prizeUpdationDurationuint256 _winnerUpdationDurationuint256 _weeklyDuration
updateWeeklyWinners(uint256 _weekNumberaddress[] _winnersuint8[] _treasureCounts
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TreasureTransferred(uint256 weekNumberaddress userWalletaddress collectionAddressuint256 tokenIduint256 tokenType
WeeklyWinnersSet(uint256 weekNumberaddress[] tripWinners
Constructor
constructor(address _pxChainlinkContractAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyClaimed(
InsufficientToken(
InvalidClaimingPeriod(
InvalidDuration(
InvalidInput(
InvalidLength(
InvalidSignature(
InvalidTimeStamp(
InvalidTreasureIndex(
InvalidUpdationPeriod(
InvalidWeekNumber(
NotAWinner(
NotAdmin(
NotModerator(