PotionCraftingAdventure
Verified contract
Active on
Ethereum with 2,348 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PotionCraftingAdventure"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20967214 | a month ago | | | 0 | 0.0037036001 | |
| 20907828 | 2 months ago | | | 0 | 0.0048943875 | |
| 20895861 | 2 months ago | | | 0 | 0.00042563418 | |
| 20844976 | 2 months ago | | | 0 | 0.00061417185 | |
| 19759583 | 7 months ago | | | 0 | 0.00068620412 | |
| 19138104 | 10 months ago | | | 0 | 0.0024436837 | |
| 19114127 | 10 months ago | | | 0 | 0.0020079167 | |
| 19060447 | 10 months ago | | | 0 | 0.0011840825 | |
| 19025561 | 10 months ago | | | 0 | 0.0035569880 | |
| 19025554 | 10 months ago | | | 0 | 0.0028257549 |
ABI
ABI objects
Getter at block 21279427
CRAFTING_DURATION() view returns (uint256)
604800
custodian() view returns (address)
0x0cc3955592da86bf263d405c8d20b04a0af65d9a
darkHeroSpiritsContract() view returns (address)
0xe56dd80688f913e36e2e20c2b4a62669a3e23968
darkSpiritsContract() view returns (address)
0xbc4a4e7ece9429d982f9d5c83bcadbb9b2e9314d
lastClaimId() view returns (uint256)
3922
owner() view returns (address)
0x5a8cf09274938a0967d95908d9bfa0ba49b3586d
paused() view returns (bool)
false
questsLockTokens() pure returns (bool)
false
superVillainPotionContract() view returns (address)
0x1ca97f9a77114a0a6759bd10c18097db8628cb7c
villainPotionContract() view returns (address)
0xbbd3f1d05b3a0d9b281c7739c48c3ab3924824ac
Read-only
getPotionQuestDetailsBatch(uint256[] claimIds) view returns (struct PotionCraftingAdventurePotionQuest[] potionQuests)
onQuestEntered(address, uint256, uint256) pure
onQuestExited(address, uint256, uint256, uint256) pure
potionQuestLookup(uint256) view returns (uint64 startTimestamp, uint16 darkSpiritTokenId, uint16 darkHeroSpiritTokenId, address adventurer)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events abandonPotionsBatch(uint256[] claimIds)
pauseNewQuestEntries()
redeemPotionsBatch(uint256[] claimIds)
renounceOwnership()
startCraftingPotionsBatch(uint256[] darkSpiritTokenIds, uint256[] darkHeroSpiritTokenIds)
transferOwnership(address newOwner)
unpauseNewQuestEntries()
AbandonedPotion(address indexed adventurer, uint256 indexed claimId)
CraftedPotion(address indexed adventurer, uint256 indexed claimId)
CraftingPotion(address indexed adventurer, uint256 indexed claimId, uint256 darkSpiritTokenId, uint256 darkHeroSpiritTokenId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Unpaused(address account)
constructor(address villainPotionAddress, address superVillainPotionAddress, address darkSpiritsAddress, address darkHeroSpiritsAddress)
This contract contains no fallback and receive objects.
CallbackNotImplemented()
CallerDidNotCreateClaimId()
CallerNotOwnerOfDarkHeroSpirit()
CallerNotOwnerOfDarkSpirit()
CannotSpecifyZeroAddressForDarkHeroSpiritsContract()
CannotSpecifyZeroAddressForDarkSpiritsContract()
CannotSpecifyZeroAddressForSuperVillainPotionContract()
CannotSpecifyZeroAddressForVillainPotionContract()
CompleteQuestToRedeemPotion()
InputArrayLengthMismatch()
MustIncludeAtLeastOneSpirit()
NoPotionQuestFoundForSpecifiedClaimId()
QuantityMustBeGreaterThanZero()
QuestCompletePotionMustBeRedeemed()