CellarStaking

Verified contract

Active on Ethereum with 1,179 txns
Deployed by via 0x94e7f967 at 16431721
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $273.48
ERC-20
--
0x0abcb78a18b9f632f9ca4b4e49916abdca8056857a1d65017a1ff72a7beffffc
0x072b02cc70cfcfb5deb9236a4ed198f5f1be68cc5e95d449c3d57e0621815a2f
0x8a1b3d343098d1cc7c5b7685b8897b01b2e59b269ff827e2e0fcd1b39125648d
0x5a94b079735f0abb175dcacfc611d11c5bfd0a2a33d581d6da1ecc77410f8960
0x8273488da1540cdb5a779d0353a289d61a5be2a8dd50a8296169cd5e5465e76e
0x92818b1b71a626bf311b65b3c2b89fa973a462266f93e45d7cb191f0064569d2
0x230bc2b7133ce23bd44c4db2a9c27d6c4fafef0a697a725e30a3587e1f90dcfa
0x0fc50d153b49895da18752dc1964426542d7ae2580cb1c37286e706c3aa92824
0xbdbbe3bbf3315b00f847492ce100cf2bbcae87e2624708a4227f4023e393ca66
0x8c10248be8d4491d26496df0a95cdaa40ec845ac73911677ca59c7c85eaf970f

Functions
Getter at block 21405919
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)
1686420731
ended(view returns (bool)
false
latestRewardsTimestamp(view returns (uint256)
1686420731
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=5694534, latestTimestamp=1686420731)
rewardPerTokenStored(view returns (uint256)
5694534
rewardRate(view returns (uint256)
57870
rewardsReady(view returns (uint256)
0
stakingToken(view returns (address)
0x97e6e0a40a3d02f12d1cec30ebfbae04e37c119e
totalDeposits(view returns (uint256)
51125490000000000000000
totalDepositsWithBoost(view returns (uint256)
74215663800000000000000
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(