delabsstaking.eth

Verified contract

Proxy

Active on Ethereum with 2,169 txns
Deployed by via 0x5e58fb3d at 17434038
Slot
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
-
variable spans 49 additional slots
 (#3433)
ERC-721
--
 (#3431)
ERC-721
--
 (#3430)
ERC-721
--
 (#3428)
ERC-721
--
 (#3427)
ERC-721
--
 (#3426)
ERC-721
--
 (#3425)
ERC-721
--
 (#3424)
ERC-721
--
 (#3423)
ERC-721
--
 (#3422)
ERC-721
--
0xbef455aa111a5a46a1916496e3bdfdfc9b2831069a7354e3554cfa9b0fada674
0xfbea98cc95d6864839537289ae122131b097869e13ba189be7a0ef066fd84aec
0xc7e821e18a4f1386cd310b9e4bafbe16859a21f77076857874ac0ff0785ae0b1
0xc33f7aa35ab507f0c7c24178556796f2ce9384e4bbcae7f871798aa131f4715c
0x5028b1510478978d0acb531d50212e927b0f607ed7268e39269ef90aaa1edb2f
0x2ee2cd9ac81bf916b588f7400c310c1ebcf722f21ab49d127d0915acf6cffc3d
0xf2eb00f09272037ce42afcebd22793ada3b1a3a85e711f0c310c4514f70810ba
0x29a9bbb4b74959d49b6b15b5e9331329bc944aee28100953b5b1bda3dbe15ebb
0x7493dac0700346d7e2463f708ee5263f215786ce884cc340262a303708c8626e
0x7423864cbbb4f6bce5dbd4c4d29d7a958c86151834c24d15a2e324253f46cdb2

Functions
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 ownerview returns (uint256[])
getOwnerStakedTokenPositions(address ownerview returns (struct IDelabsAdventurePassStakingReadablePosition[])
getTokenLevel(uint256 tokenIdview returns (uint64)
getTokenLockStart(uint256 tokenIdview returns (uint256)
getTokenLockedPeriod(uint256 tokenIdview returns (uint256)
getTokenLockedTimeLeft(uint256 tokenIdview returns (uint256)
getTokenPosition(uint256 tokenIdview returns (struct IDelabsAdventurePassStakingReadablePosition)
getTokenStakingStart(uint256 tokenIdview returns (uint256)
getTokenStakingTime(uint256 tokenIdview returns (uint256)
isTokenLocked(uint256 tokenIdview returns (bool)
isTokenStaked(uint256 tokenIdview returns (bool)
stakingLevels(uint40view returns (uint16)
stakingPositions(uint256view returns (address owneruint40 lockedPerioduint40 startTimeuint40 lockStartTimeuint16 level)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
batchLock(uint256[] tokenIdsuint40 lockedPeriod
batchStake(uint256[] tokenIdsuint40 lockedPeriod
batchUnstake(uint256[] tokenIds
forceBatchUnstake(uint256[] tokenIds
initialize(address adventurePassAddress
lock(uint256 tokenIduint40 lockedPeriod
pauseStaking(
renounceOwnership(
setAdventurePassContract(address adventurePassAddress
setStakingLevels(uint40[] lockedPeriodsuint16[] levels
setTokenLevel(uint256 tokenIduint16 level
stake(uint256 tokenIduint40 lockedPeriod
transferOwnership(address newOwner
unpauseStaking(
unstake(uint256 tokenId
upsertStakingLevel(uint40 lockedPerioduint16 level
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AdventurePassContractChanged(address newContract
Initialized(uint8 version
MetadataUpdate(uint256 tokenId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
StakingLevelsUpdated(
TokenLevelSet(uint256 tokenIduint16 level
TokenLocked(uint256 tokenIduint40 lockedPerioduint16 previousLeveluint16 targetLevel
TokenStaked(uint256 tokenIduint40 lockedPerioduint16 previousLeveluint16 targetLevel
TokenUnstaked(uint256 tokenIduint16 currentLevel
Unpaused(address account
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
InvalidLockedPeriod(uint40 lockedPeriod
SenderIsNotTokenOwner(uint256 tokenId
TokenAlreadyStaked(uint256 tokenId
TokenHasToBeStaked(uint256 tokenId
TokenIsLocked(uint256 tokenId
TokenIsNotStaked(uint256 tokenId