StakedElyfiToken

Verified contract

Active on Ethereum with 700 txns
Deployed by via 0xb61e25f6 at 13287317
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $188.51
0x86bf7869019d1fea28c97a0f1930d6aca0da9264b6ba8415d164885a41f9332b
0x194ea357bc748e8a06becf92cb84eb2df1b34d4b8a1b3971712f8f82f3fc98bf
0x98fa5789a9b3d02ab5cb7824118706ff4ed3c3a750feb62b6b626285f888be37
0x513bed0e4d9317c3cb8281db5f41f580cd60faf7f7ffa84f47fc9a7462f76524
0x74cefd78a25ec5c4bfd2255bd6860e371319bb5b9e7f4423c079100e8274bc4f
0xd6c1c599992f7af5f5e58712ac672a67a4063608a3bf57d98063fd221bba4846
0x363c0782d5fa143a833df9a8ce51bbd2ec4d2a4e8299122753f40f815f364955
0xa706c56c241ffdc63b3083731e8bbaa04ef4c87e289296fc8bebaa5974356a4f
From
0xb5fb03f44226b07f32bb5e9a7bef64b6de617b4e0fd34c413ab16ea46c65d9ad
0xee125247ddb91e11afceb02366ec42e00cb123457178a2c1b7619cdfb138dbcd

Functions
Getter at block 20950122
DOMAIN_SEPARATOR(view returns (bytes32)
0xb10c42ec5814a36a698ebee5f8cf748f1e0c3fca9cb1c29a2ee2a539ca780ffb
currentRound(view returns (uint8)
5
decimals(view returns (uint8)
18
name(view returns (string)
StakedElyfiToken
rewardAsset(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
stakingAsset(view returns (address)
0x4da34f8264cb33a5c9f17081b9ef5ff6091116f4
symbol(view returns (string)
SELFI
totalSupply(view returns (uint256)
18099786519129715094002
underlying(view returns (address)
0x4da34f8264cb33a5c9f17081b9ef5ff6091116f4
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
checkpoints(address accountuint32 posview returns (struct ERC20VotesCheckpoint)
delegates(address accountview returns (address)
getPastTotalSupply(uint256 blockNumberview returns (uint256)
getPastVotes(address accountuint256 blockNumberview returns (uint256)
getPoolData(uint8 roundview returns (uint256 rewardPerSeconduint256 rewardIndexuint256 startTimestampuint256 endTimestampuint256 totalPrincipaluint256 lastUpdateTimestamp)
getRewardIndex(uint8 roundview returns (uint256)
getUserData(uint8 roundaddress userview returns (uint256 userIndexuint256 userRewarduint256 userPrincipal)
getUserReward(address useruint8 roundview returns (uint256)
getVotes(address accountview returns (uint256)
nonces(address ownerview returns (uint256)
numCheckpoints(address accountview returns (uint32)
State-modifying
approve(address spenderuint256 amountreturns (bool)
claim(uint8 round
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
delegate(address delegatee
delegateBySig(address delegateeuint256 nonceuint256 expiryuint8 vbytes32 rbytes32 s
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initNewRound(uint256 rewardPerSeconduint256 startTimestampuint256 duration
migrate(uint256 amountuint8 round
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
retrieveResidue(
stake(uint256 amount
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
withdraw(uint256 amountuint8 round
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Claim(address indexed useruint256 rewarduint256 rewardLeftuint8 currentRound
DelegateChanged(address indexed delegatoraddress indexed fromDelegateaddress indexed toDelegate
DelegateVotesChanged(address indexed delegateuint256 previousBalanceuint256 newBalance
InitRound(uint256 rewardPerSeconduint256 startTimestampuint256 endTimestampuint256 currentRound
Migrate(address useruint256 amountuint8 migrateRounduint8 currentRound
Stake(address indexed useruint256 amountuint256 userIndexuint256 userPrincipaluint8 currentRound
Transfer(address indexed fromaddress indexed touint256 value
Withdraw(address indexed useruint256 amountuint256 userIndexuint256 userPrincipaluint8 currentRound
Constructor
constructor(address stakingAsset_address rewardAsset_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvaidAmount(
NotEnoughPrincipal(uint256 principal
NotInRound(
NotInitiatedRound(uint8 rounduint8 currentRound
OnlyAdmin(
RoundConflicted(
StakingNotInitiated(
ZeroPrincipal(
ZeroReward(