TokenStaking

Verified contract

Active on Base with 20,334 txns
Deployed by via 0x891f9738 at 19905531
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x20ea73191be1e890b9d00cd95765eb022909ba5f543c49f3e93a4803fb51fd3b
0xc10d62c7e9c2242202a56cbac2a830a7918770cd26d088bd80c7cf3010a42eec
0xd211b89e449d01d297c3bbc1120c97301b5a0d5601f8b874b54fa6402d12391f
0x2fb0cb9f2d1718a2cbb9d3f3580e8c3fd5f3161550f1b813083d735266451050
0x1e581323b81b7b86b3d137094462a676dd94255afe94a3f220334148a84f44a9
0xf84da7602501711d8cab49d02fe74cca7a459aabb530033b46ff006dd48f1383
0xa49ddd0416363a31ea0252c07b0b04dec434980bb1e9a731099d6106f6c9ccc2
0x7a69251573b1b6db2e45fb68b30739f224cc648ffabfe0f9b34597626d106bf4
0x885f62ae1f50906b0e31b2d537a5c5363f9b3991317dfd775bef8c71880e90e9
0xe04d3204e4fb044d10a62da747054c07c69166e03c0f2651cb89ab03aa324286

Functions
Getter at block 22816246
calculateAPY(view returns (uint256)
204859073108445569768
currentRewardPerToken(view returns (uint256)
1589649970675582572
getPoolInfo(view returns (uint256 _totalStakeduint256 _rewardRateuint256 _lockDurationuint256 _lastUpdateTimeuint256 _rewardPerTokenStored)
(_totalStaked=769699860530607107031601043, _rewardRate=50000000000000000000, _lockDuration=1209600, _lastUpdateTime=1732420109, _rewardPerTokenStored=1589537589207901950)
lastApplicableRewardTime(view returns (uint256)
1732421839
lastUpdateTime(view returns (uint256)
1732420109
lockDuration(view returns (uint256)
1209600
merkleRoot(view returns (bytes32)
0xbf9a38b8dec048dd4e0bada45f08fcb9baae585f421e5b74662639b9691b1f63
owner(view returns (address)
0x6684955a395336d198add0ba2e4e4370ca51a807
paused(view returns (bool)
false
rewardPerTokenStored(view returns (uint256)
1589537589207901950
rewardRate(view returns (uint256)
50000000000000000000
rewardToken(view returns (address)
0xb34be2f34a662655760ce9c908f4ad594b7837f6
stakingToken(view returns (address)
0xb34be2f34a662655760ce9c908f4ad594b7837f6
totalStaked(view returns (uint256)
769699860530607107031601043
Read-only
addressClaimed(addressview returns (bool)
earned(address accountview returns (uint256)
getUserInfo(address _userview returns (uint256 stakedAmountuint256 rewardsEarneduint256 lockUntil)
userInfo(addressview returns (uint256 amountuint256 rewardPerTokenPaiduint256 rewardsuint256 lockUntil)
State-modifying
exit(
getReward(
getReward(uint256 _amountbytes32[] proof
pause(
renounceOwnership(
stake(uint256 _amount
transferOwnership(address newOwner
unpause(
updateLockDuration(uint256 _lockDuration
updateMerkleRoot(bytes32 _merkleRoot
updateRewardRate(uint256 _rewardRate
withdraw(uint256 _amount
withdrawNative(uint256 amount
withdrawToken(address tokenContractAddressuint256 amount
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RewardPaid(address indexed useruint256 reward
Staked(address indexed useruint256 amount
Unpaused(address account
Withdrawn(address indexed useruint256 amount
Constructor
constructor(address _stakingTokenaddress _rewardTokenuint256 _rewardRateuint256 _lockDuration
Fallback and receive
receive(
Errors

This contract contains no error objects.