CellarStaking

Verified contract

Active on Ethereum with 1,782 txns
Deployed by via 0xf51d1e8d at 16991311
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $5,479,449.35
ERC-20
Value $3,165.96
0x1b88bc6b1afc3c91511958fb2fda2ea68cc4f0c0f1db4b0ecec3adf3e92e306a
0x84ed5c252706f005ac38683096e378e822e5914a0b394c9d372c29682aaae921
0x8c24c8d4f3d79e0673fd09b0447560eb7931fe08a551fedb6a02c477db80eda4
0x10b23279189f5eba8dd6f964c32ea71ee7f670d86275fccb83c44efd1b10b627
0x768c49d309ef765b7742436e181aaf64640296ed956f970448a60495ca4cc45b
0x7cf0a3f2b24ad09e7a65ae641eec2129494dd7dc84f7fa438d6288d9139702b7
0xc529627ee4c00d94b52a23837e53cbecd5d3ca1f86097e7269a269422144a7bf
0x6402d8640aa993144353a9291052cf6435b17a34b0096b3d72708af851dbf87f
0x0b12288aa8848da62e57b1abd6f2949db070dbc140ef4d5ee59fff73a47865c5
0xaf3f6c88228a2d0e130351d6652ae0ea08a8fb296f580add34d3bde3c361bccd

Functions
Getter at block 21378226
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)
2592000
distributionToken(view returns (address)
0xa670d7237398238de01267472c6f13e5b8010fd1
endTimestamp(view returns (uint256)
1717475027
ended(view returns (bool)
false
latestRewardsTimestamp(view returns (uint256)
1717475027
minimumDeposit(view returns (uint256)
0
nextEpochDuration(view returns (uint256)
2592000
owner(view returns (address)
0x7340d1fecd4b64a4ac34f826b21c945d44d7407f
paused(view returns (bool)
false
rewardPerToken(view returns (uint256 newRewardPerTokenStoreduint256 latestTimestamp)
(newRewardPerTokenStored=5088047072, latestTimestamp=1717475027)
rewardPerTokenStored(view returns (uint256)
5088047072
rewardRate(view returns (uint256)
96450
rewardsReady(view returns (uint256)
0
stakingToken(view returns (address)
0xb5b29320d2dde5ba5bafa1ebcd270052070483ec
totalDeposits(view returns (uint256)
1598569706000000000000
totalDepositsWithBoost(view returns (uint256)
1978123032200000000000
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
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(