RewardPool

Verified contract

Active on Ethereum with 5,921 txns
Deployed by via 0x92e58fc3 at 11269810
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $149.73
ERC-20
Value $0.83
ERC-20
--
0xaa4381bd54ba4c6a81a701970b32083dd5c1f85bb038343fdde568a546f71969
0xd7c9872cadb17650954ca7a906b1fef6cbd8d97cc1505f12e1a341b439f0c63a
0xd041bb4635bf0a75fe25c1283bf127e39f4890fb03b4637419c2a3861878ec4d
0x6cf96f8c8239fe1b4db67173c6f7173de5573b219cfabac8d19f5a8c808907e5
0x3ce2f64747dd98b62ce5248626449326d9790d15e4db11102ceab0adcf0d23a4
0x67febe5609270ec4e1696a23c1ac1be761a0001a7128e03bc88a098fb376951a
0x231443d92a4e427e54704dcd4b96c0c714417f74dc9cbc1ab832104ede6a1af5
0xd701dea02f0ede2fc4f2ff69c9a5177f4dcb733e4d270a987385534ad7cda6ab
0xf3328040679b7519b88917b0991803e2b62e755e54ccdf027427826a24703791
0xffdafe62d0bfd4da570d4ddb39f93d0df20884ed433c204cbaec1021fbcee295

Functions
Getter at block 21040848
BONUS_DECIMALS(view returns (uint256)
4
_initialSharesPerToken(view returns (uint256)
1
_lastAccountingTimestampSec(view returns (uint256)
1687862471
_maxUnlockSchedules(view returns (uint256)
20
_totalStakingShareSeconds(view returns (uint256)
30386306148133110896734038
bonusPeriodSec(view returns (uint256)
7776000
getDistributionToken(view returns (address)
0x6468e79a80c0eab0f9a2b574c8d5bc374af59414
getStakingToken(view returns (address)
0x684b00a5773679f88598a19976fbeb25a68e9a5f
growthParamX(view returns (uint256)
1
growthParamY(view returns (uint256)
0
startBonus(view returns (uint256)
1667
supportsHistory(pure returns (bool)
false
token(view returns (address)
0x684b00a5773679f88598a19976fbeb25a68e9a5f
totalLocked(view returns (uint256)
0
totalLockedShares(view returns (uint256)
0
totalStaked(view returns (uint256)
433300920971151494
totalStakingShares(view returns (uint256)
433300920971151494
totalUnlocked(view returns (uint256)
437922061408051904334681
unlockScheduleCount(view returns (uint256)
6
Read-only
_userStakes(addressuint256view returns (uint256 stakingSharesuint256 timestampSec)
_userTotals(addressview returns (uint256 stakingSharesuint256 stakingShareSecondsuint256 lastAccountingTimestampSec)
stakeCount(address accountview returns (uint256)
totalStakedFor(address addrview returns (uint256)
unlockSchedules(uint256view returns (uint256 initialLockedSharesuint256 unlockedSharesuint256 lastUnlockTimestampSecuint256 endAtSecuint256 durationSec)
unlockTokensPure(uint256 timestampview returns (uint256 lockedPoolBalanceuint256 unlockedPoolBalance)
unstakeQuery(uint256 amountbool withBonusuint256 bonusTimestampuint256 unlockTimestampview returns (uint256)
updateAccountingPure(uint256 timestampview returns (uint256 globalTotalStakingShareSecondsuint256 globalLastAccountingTimestampSecuint256 globalLockedPoolBalanceuint256 globalUnlockedPoolBalance)
State-modifying
lockTokens(uint256 amountuint256 durationSec
stake(uint256 amountbytes data
unlockTokens(returns (uint256)
unstake(uint256 amountbytes data
updateAccounting(returns (uint256uint256uint256uint256uint256uint256)
Events
AccountingUpdated(
Staked(address indexed useruint256 amountuint256 totalbytes data
TokensClaimed(address indexed useruint256 amount
TokensLocked(uint256 amountuint256 durationSecuint256 total
TokensUnlocked(uint256 amountuint256 total
Unstaked(address indexed useruint256 amountuint256 totalbytes data
Constructor
constructor(address stakingTokenaddress distributionTokenuint256 maxUnlockSchedulesuint256 startBonus_uint256 bonusPeriodSec_uint256 growthParamX_uint256 growthParamY_uint256 initialSharesPerToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.