This contract is being backfilled. You may encounter incomplete storage history.

ChiStaking

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1b4c947a at 19497223
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 44 additional slots
-
variable spans 49 additional slots

No balances found for "ChiStaking"

No transactions found for "ChiStaking"


Functions
Getter at block 21213820
MAX_LOCK_DURATION(view returns (uint256)
208
MIN_LOCK_DURATION(view returns (uint256)
4
chiLocking(view returns (address)
0x0000000000000000000000000000000000000000
currentEpoch(view returns (uint256)
0
decimals(view returns (uint8)
18
getStakedChi(view returns (uint256)
0
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
rewardController(view returns (address)
0x0000000000000000000000000000000000000000
stakeToken(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
_getCurrentReward(address accountuint8 tokenview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
epochs(uint256 idview returns (uint256 shares)
getCumulativeRewardsPerShare(uint256 epochuint8 tokenview returns (uint256)
getUnclaimedRewards(address accountuint8 tokenview returns (uint256)
stakes(address accountview returns (uint256 lastUpdatedEpochuint256 sharesuint256 addSharesNextEpoch)
unclaimedStChiAmount(address accountview returns (uint256)
unclaimedStETHAmount(address accountview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
claimStETH(address accountreturns (uint256)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _chiAddress
lock(uint256 amountuint256 durationbool useStakedTokens
renounceOwnership(
setChiLocking(address _chiLocking
setRewardController(address _rewardController
stake(uint256 amount
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
unstake(uint256 amount
unstake(uint256 amountaddress toAddress
updateEpoch(uint256 stETHrewards
Events
Approval(address indexed owneraddress indexed spenderuint256 value
ClaimStETH(address indexed accountuint256 amount
Initialized(uint8 version
Lock(address indexed accountuint256 amountuint256 durationbool useStakedTokens
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetChiLocking(address indexed chiLocking
SetRewardController(address indexed rewardController
Stake(address indexed accountuint256 amount
Transfer(address indexed fromaddress indexed touint256 value
Unstake(address indexed accountaddress indexed toAddressuint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AmountBelowStakedBalance(uint256 stakedBalanceuint256 amount
InvalidDuration(uint256 duration
NotRewardController(
ZeroAmount(