TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 5,266 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
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
0x17ed…dfbc
0xa2ea…efbe
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
CHR | ERC-20 | 53.1K | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- | |
PXQ | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21078576 | 5 hours ago | | | 0 | 0.0018817694 | |
| 21016837 | 9 days ago | | | 0 | 0.0044537026 | |
| 21015893 | 9 days ago | | | 0 | 0.0015470611 | |
| 20998728 | 11 days ago | | | 0 | 0.0027192431 | |
| 20987905 | 13 days ago | | | 0 | 0.0017961231 | |
| 20979853 | 14 days ago | | | 0 | 0.0025532297 | |
| 20979797 | 14 days ago | | | 0 | 0.0030159007 | |
| 20964792 | 16 days ago | | | 0 | 0.0054379908 | |
| 20962102 | 16 days ago | | | 0 | 0.0016050088 | |
| 20959982 | 17 days ago | | | 0 | 0.00099868342 |
ABI
ABI objects
Getter at block 21079918 viewSharedSummoners() view returns (uint256[])
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
BURNER_ROLE() view returns (bytes32)
0x3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
LOCK_IN() view returns (uint256)
1209600
LOCK_IN_ROLE() view returns (bytes32)
0xbfb23ee41048b42a30e2ec7a73039c14412d38f234157009730dd77401a37828
SHARED_SUMMON_REWARD() view returns (uint256)
150000000000000000000
SINGLE_SUMMON_COST() view returns (uint256)
750000000000000000000
adventurerContract() view returns (address)
0x17ed38f5f519c6ed563be6486e629041bed3dfbc
chronosContract() view returns (address)
0xa2ea5cb0614f6428421a39ec09b013cc3336efbe
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 admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
CannotBeZeroAddress()
InsufficientChronos()
InvalidSummonOption()
TokenCannotBeUsedToSummon()
TokenLocked()
TokenNotStaked()
UserNotStaker()