AdventurerHolding
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "AdventurerHolding"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "AdventurerHolding"
ABI
ABI objects
Getter at block 21079918
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
BURNER_ROLE() view returns (bytes32)
0x3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
LOCK_IN() view returns (uint256)
0
LOCK_IN_ROLE() view returns (bytes32)
0xbfb23ee41048b42a30e2ec7a73039c14412d38f234157009730dd77401a37828
SHARED_SUMMON_REWARD() view returns (uint256)
0
SINGLE_SUMMON_COST() view returns (uint256)
750000000000000000000
adventurerContract() view returns (address)
0x0000000000000000000000000000000000000000
chronosContract() view returns (address)
0x0000000000000000000000000000000000000000
viewSharedSummoners() view returns (uint256[])
[]
Read-only
_chronosReward(address) view returns (uint256)
_status(uint256) view returns (uint256)
_userStakes(address) view returns (uint256)
getAccruedChronos(address _address) view returns (uint256 amount)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSummonCost(bool _shared) view returns (uint256 cost)
hasRole(bytes32 role, address account) view returns (bool)
lastUpdated(address) view returns (uint256)
stakes(uint256) view returns (address user, uint64 timeStaked, uint64 index)
supportsInterface(bytes4 interfaceId) view returns (bool)
viewStakes(address _address) view returns (uint256[])
viewStakesByStatus(uint8[] status) view returns (uint256[])
State-modifying
Events addBurnerRole(address user)
addLockInRole(address user)
batchBurnTokens(uint256[] tokens)
batchSetStatus(uint256[] tokens, uint8[] bits)
batchSetSummoning(uint256[] tokens, bool status)
burnToken(uint256 token)
claimChronos()
grantRole(bytes32 role, address account)
groupLockTokens(uint256[] tokens, uint256 period)
groupStake(uint256[] tokens)
groupUnstake(uint256[] tokens)
initialize(address _adventurerContract, address _chronosContract, address _adminAddress) payable
lockToken(uint256 token, uint256 period)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setGrantChronos(bool _grant)
setLockIn(uint256 lockin)
setStatus(uint256 token, uint8[] bits)
setSummoning(uint256 token, bool status)
sharedSummon(uint256 token, uint256 summoner, uint8 option, bool swapped)
stake(uint256 token)
summon(uint256 token1, uint256 token2, uint8 option)
unstake(uint256 token)
updateSummonReward(uint256 amount)
Burn(address indexed owner, uint256 token)
Initialized(uint8 version)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
StartStake(address indexed owner, uint256 token)
Unstake(address indexed owner, uint256 token, bool success, uint256 duration)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
CannotBeZeroAddress()
InsufficientChronos()
InvalidSummonOption()
TokenCannotBeUsedToSummon()
TokenLocked()
TokenNotStaked()
UserNotStaker()