Staking

Verified contract

Active on Ethereum with 1,205 txns
Deployed by via 0xfb7ba109 at 12408603
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x45f136bc6d556d1053d731bfb8e98b94feaa975959de368c91f427555306a692
0xb25750401364746a812412a925010a350a414b6337d58d0765c2ef299626a2db
0xde1ce11cfd2fc523bb4212c3896c5702b0c30f93fa7179115baa93ea21cb0abf
0xa242247f17e47f74f2a2000d29c5fb27acdeed2fd9a8f9741db05ffd7ade3748
0x9b3a847f2dd97090141098bdaa65b491542f1d5e7f1bba021415e6df30713805
0x3413f7a3943a481ca2edd2149a5290fe5e59491e17acf712e6aef5f18f9b113d
0xb020399e7b8d3d3a6c23d09eaa6de3c8fa17f786860c2f9b1c2867f349d04b8b
0x7a9ef986688944f5eecce4861024b1ab1c44852d4699ca039e55b13f22db0403
0x96cf29fb909a8957e434880f7c2befad7195269c370e9b470cb339948cd8e4d2
0x46dfec37aabe422e983654c6f0fe7c98000ef3e08651fe808d5c975c7c14acd3

Functions
Getter at block 21084068
oilerToken(view returns (address)
0x0275e1001e293c46cfe158b3702aade0b99f88a5
owner(view returns (address)
0xa94db69502920a657f8685978e62d3e3b9762adf
poolToken(view returns (address)
0x0e9c8107682ab88604b4fbf847eeeceacf38e9e6
stakingFundAmount(view returns (uint256)
500000000000000000000000
stakingProgramEndsBlock(view returns (uint256)
13068603
totalRewardPoints(view returns (uint256)
328848430227285179294078092124
vestingDuration(view returns (uint256)
660000
Read-only
calculateStakingRewardPoints(uint72 tokenAmount_uint24 lockingPeriodInBlocks_pure returns (uint128)
grantedTokens(addressview returns (uint256)
releasedTokens(addressview returns (uint256)
rewardPointsEarned(addressview returns (uint256)
stakes(addressview returns (uint72 tokenAmountuint24 lockingPeriodInBlocksuint32 startBlockuint128 expectedStakingRewardPoints)
State-modifying
getRewards(
lockTokens(uint72 tokenAmount_uint24 lockingPeriodInBlocks_
release(
setPoolToken(address poolToken_address stakingFundAddress_
unlockTokens(
Events
RewardGranted(address recipientuint256 amountEarned
StakeLocked(address recipientuint256 tokenAmountuint256 lockingPeriodInBlocksuint256 expectedStakingRewardPoints
StakeUnlocked(address recipientuint256 tokenAmountuint256 lockingPeriodInBlocksuint256 rewardPoints
StakeUnlockedPrematurely(address recipientuint256 tokenAmountuint256 lockingPeriodInBlocksuint256 actualLockingPeriodInBlocks
grantedTokensReleased(address recipientuint256 amount
Constructor
constructor(address oilerToken_uint256 stakingDurationInBlocks_uint256 stakingFundAmount_uint256 vestingDuration_address owner_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.