delabsstaking.eth
Verified contract
Proxy
Active on
Ethereum with 2,169 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 48 additional slots
-
variable spans 48 additional slots
0xa708…0340
-
variable spans 49 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- | |
DAP | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21152134 | 2 days ago | | | 0 | 0.0050392786 | |
| 21139939 | 4 days ago | | | 0 | 0.0034554209 | |
| 21138389 | 4 days ago | | | 0 | 0.0076490472 | |
| 21135114 | 5 days ago | | | 0 | 0.0095829179 | |
| 21129746 | 5 days ago | | | 0 | 0.00086857241 | |
| 21129256 | 5 days ago | | | 0 | 0.0031618230 | |
| 21129187 | 5 days ago | | | 0 | 0.0012397693 | |
| 21129000 | 5 days ago | | | 0 | 0.0016013619 | |
| 21128722 | 5 days ago | | | 0 | 0.0061069523 | |
| 21119917 | 7 days ago | | | 0 | 0.00052704572 |
ABI
ABI objects
Getter at block 21168069 getStakedTokenIds() view returns (uint256[]) getStakedTokenPositions() view returns (struct IDelabsAdventurePassStakingReadablePosition[])
owner() view returns (address)
0x26916b93c4370e04ec085bf5c851b5a8036d0354
paused() view returns (bool)
false
Read-only
getOwnerStakedTokenIds(address owner) view returns (uint256[])
getOwnerStakedTokenPositions(address owner) view returns (struct IDelabsAdventurePassStakingReadablePosition[])
getTokenLevel(uint256 tokenId) view returns (uint64)
getTokenLockStart(uint256 tokenId) view returns (uint256)
getTokenLockedPeriod(uint256 tokenId) view returns (uint256)
getTokenLockedTimeLeft(uint256 tokenId) view returns (uint256)
getTokenPosition(uint256 tokenId) view returns (struct IDelabsAdventurePassStakingReadablePosition)
getTokenStakingStart(uint256 tokenId) view returns (uint256)
getTokenStakingTime(uint256 tokenId) view returns (uint256)
isTokenLocked(uint256 tokenId) view returns (bool)
isTokenStaked(uint256 tokenId) view returns (bool)
stakingLevels(uint40) view returns (uint16)
stakingPositions(uint256) view returns (address owner, uint40 lockedPeriod, uint40 startTime, uint40 lockStartTime, uint16 level)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
batchLock(uint256[] tokenIds, uint40 lockedPeriod)
batchStake(uint256[] tokenIds, uint40 lockedPeriod)
batchUnstake(uint256[] tokenIds)
forceBatchUnstake(uint256[] tokenIds)
initialize(address adventurePassAddress)
lock(uint256 tokenId, uint40 lockedPeriod)
pauseStaking()
renounceOwnership()
setAdventurePassContract(address adventurePassAddress)
setStakingLevels(uint40[] lockedPeriods, uint16[] levels)
setTokenLevel(uint256 tokenId, uint16 level)
stake(uint256 tokenId, uint40 lockedPeriod)
transferOwnership(address newOwner)
unpauseStaking()
unstake(uint256 tokenId)
upsertStakingLevel(uint40 lockedPeriod, uint16 level)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
AdventurePassContractChanged(address newContract)
Initialized(uint8 version)
MetadataUpdate(uint256 tokenId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
StakingLevelsUpdated()
TokenLevelSet(uint256 tokenId, uint16 level)
TokenLocked(uint256 tokenId, uint40 lockedPeriod, uint16 previousLevel, uint16 targetLevel)
TokenStaked(uint256 tokenId, uint40 lockedPeriod, uint16 previousLevel, uint16 targetLevel)
TokenUnstaked(uint256 tokenId, uint16 currentLevel)
Unpaused(address account)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
InvalidLockedPeriod(uint40 lockedPeriod)
SenderIsNotTokenOwner(uint256 tokenId)
TokenAlreadyStaked(uint256 tokenId)
TokenHasToBeStaked(uint256 tokenId)
TokenIsLocked(uint256 tokenId)
TokenIsNotStaked(uint256 tokenId)