CellarStaking

Verified contract

Active on Ethereum with 339 txns
Deployed by via 0x44dcfa47 at 18094392
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.1
ERC-20
--
0x0ad388d40b70ff21ba892603451405377535dbcaaff1ba402a31bad9fbc60e41
0x37966295490424fb3e71d8c114727b120fc17dcfd9f6f2a44f8a5f53dd92e934
0xfb3d0e643f692ad4534e70f050ab258ecb8680ecd5bc495191a7a88cab60ca93
0x7dae8f614c513d4e078112af2416f92ae424cd3486f3cfe3ed09818477f8f1ce
From
0x0912369b50e1332c57333a32065dd79058d386711508c88debc1ce9d2f17da98
From
0xf471d7056d9bde757413437d1bed6608ac743c6dec6caef80d80daff4da6a4bf
From
0xd8768a1ae6acdf59169cc1462083aabf87f7b0c9ed530cd767e9e7e4aaadb3e5
0x2b5bdd2f06fcf7cd7ddfb74c19d573e53d21b29d0c238c17f73c04ec4af2c738
0x9829f4ce700f3b711317ea9b635bc19755ea0abad710f85579d35f69c2aa6dad
0x22ec7974178fd9c44885813992d0ce6cd54da6175253ecfd2b5ab8cf6bdceff7

Functions
Getter at block 21218562
LONG_BOOST(view returns (uint256)
500000000000000000
LONG_BOOST_TIME(view returns (uint256)
1814400
MEDIUM_BOOST(view returns (uint256)
300000000000000000
MEDIUM_BOOST_TIME(view returns (uint256)
1209600
ONE(view returns (uint256)
1000000000000000000
ONE_DAY(view returns (uint256)
86400
ONE_WEEK(view returns (uint256)
604800
SHORT_BOOST(view returns (uint256)
100000000000000000
SHORT_BOOST_TIME(view returns (uint256)
604800
TWO_WEEKS(view returns (uint256)
1209600
claimable(view returns (bool)
false
currentEpochDuration(view returns (uint256)
604800
distributionToken(view returns (address)
0xa670d7237398238de01267472c6f13e5b8010fd1
endTimestamp(view returns (uint256)
1701331211
ended(view returns (bool)
false
latestRewardsTimestamp(view returns (uint256)
1701331211
minimumDeposit(view returns (uint256)
0
nextEpochDuration(view returns (uint256)
604800
owner(view returns (address)
0x7340d1fecd4b64a4ac34f826b21c945d44d7407f
paused(view returns (bool)
false
rewardPerToken(view returns (uint256 newRewardPerTokenStoreduint256 latestTimestamp)
(newRewardPerTokenStored=4607291703240513250, latestTimestamp=1701331211)
rewardPerTokenStored(view returns (uint256)
4607291703240513250
rewardRate(view returns (uint256)
35458
rewardsReady(view returns (uint256)
0
stakingToken(view returns (address)
0x0c190ded9be5f512bd72827bdad4003e9cc7975c
totalDeposits(view returns (uint256)
51498541
totalDepositsWithBoost(view returns (uint256)
56718395
Read-only
getUserStakes(address userview returns (struct ICellarStakingUserStake[])
stakes(addressuint256view returns (uint112 amountuint112 amountWithBoostuint32 unbondTimestampuint112 rewardPerTokenPaiduint112 rewardsuint8 lock)
State-modifying
cancelUnbonding(uint256 depositId
cancelUnbondingAll(
claim(uint256 depositIdreturns (uint256 reward)
claimAll(returns (uint256[] rewards)
emergencyClaim(
emergencyStop(bool makeRewardsClaimable
emergencyUnstake(
notifyRewardAmount(uint256 reward
renounceOwnership(
setMinimumDeposit(uint256 _minimum
setPaused(bool _paused
setRewardsDuration(uint256 _epochDuration
stake(uint256 amountuint8 lock
transferOwnership(address newOwner
unbond(uint256 depositId
unbondAll(
unstake(uint256 depositIdreturns (uint256 reward)
unstakeAll(returns (uint256[])
Events
CancelUnbond(address indexed useruint256 depositId
Claim(address indexed useruint256 depositIduint256 amount
EmergencyClaim(address indexed useruint256 amount
EmergencyStop(address ownerbool claimable
EmergencyUnstake(address indexed useruint256 depositIduint256 amount
EpochDurationChange(uint256 duration
Funding(uint256 rewardAmountuint256 rewardEnd
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Stake(address indexed useruint256 depositIduint256 amount
Unbond(address indexed useruint256 depositIduint256 amount
Unstake(address indexed useruint256 depositIduint256 amountuint256 reward
Constructor
constructor(address _owneraddress _stakingTokenaddress _distributionTokenuint256 _epochDurationuint256 shortBoostuint256 mediumBoostuint256 longBoostuint256 shortBoostTimeuint256 mediumBoostTimeuint256 longBoostTime
Fallback and receive

This contract contains no fallback and receive objects.

Errors
CellarStaking__AlreadyShutdown(
CellarStaking__AlreadyUnbonding(uint256 depositId
CellarStaking__ContractKilled(
CellarStaking__ContractPaused(
CellarStaking__InvalidLockValue(uint256 lock
CellarStaking__MinimumDeposit(uint256 amountuint256 minimumDeposit
CellarStaking__NoDeposit(uint256 depositId
CellarStaking__NoEmergencyClaim(
CellarStaking__NoEmergencyUnstake(
CellarStaking__NoRewardsLeft(
CellarStaking__NotUnbonding(uint256 depositId
CellarStaking__RewardTooLarge(
CellarStaking__RewardsNotFunded(uint256 rewardBalanceuint256 reward
CellarStaking__RewardsReady(
CellarStaking__StakeLocked(uint256 depositId
CellarStaking__ZeroDeposit(
CellarStaking__ZeroRewardsPerEpoch(
STATE_AlreadyShutdown(
STATE_ContractKilled(
STATE_ContractPaused(
STATE_NoEmergencyClaim(
STATE_NoEmergencyUnstake(
STATE_NoRewardsLeft(
STATE_RewardsNotFunded(uint256 rewardBalanceuint256 reward
STATE_RewardsReady(
USR_AlreadyUnbonding(uint256 depositId
USR_InvalidLockValue(uint256 lock
USR_MinimumDeposit(uint256 amountuint256 minimumDeposit
USR_NoDeposit(uint256 depositId
USR_NotUnbonding(uint256 depositId
USR_RewardTooLarge(
USR_StakeLocked(uint256 depositId
USR_ZeroDeposit(
USR_ZeroRewardsPerEpoch(