SimpleERC721StakingPool

Verified contract

Active on Ethereum with 4,741 txns
Deployed by via 0x2b11e1e0 at 14065607
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
 (#9992)
ERC-721
--
 (#9982)
ERC-721
--
 (#9978)
ERC-721
--
 (#9973)
ERC-721
--
 (#9968)
ERC-721
--
 (#9863)
ERC-721
--
 (#9861)
ERC-721
--
 (#9858)
ERC-721
--
 (#9857)
ERC-721
--
0x040d94d2df71015b32b1a7a22fff1e52271b3a63c00bdbe0dcce8b88df65be07
0x2bdec7c0516423334864a8a041a9a91744cc6f574d6ea586658b14de8fd89d4b
0xd64988833ea853f8435b1fd85d0bf96a1ae26f4f4737e60ee3397beb02ea7c7e
0xb04d91825573d2e0528cd628473f456fdaa210cab94e433bef2eb33d91ad83bd
0x40a698cba4573d85be4aff455279d302b66ec316ec51c0cd66dc1a1d2c4c1903
0x697f8d32960f8799c368599356ce91a4823d9a9bfa1df9b23afc190480f929de
0x4744affdf4495943324301cf323ff7cb1038c81c7d3d2da94b0b4fecae3b54a4
0x429894a476ca6253721fba45411a30feef54a0cc343644df76f1d1fe91ab34ee
From
0x7dc618a70c535415cd976fb32c98586b54c01980136ef4aaa346595ebdb7141d
0x14a21ecf4f29936673717290cc4f21ce986924f2a34ce023c119fc70538fd803

Functions
Getter at block 21266683
DURATION(view returns (uint64)
63072000
lastTimeRewardApplicable(view returns (uint64)
1707329161
lastUpdateTime(view returns (uint64)
1707329161
owner(view returns (address)
0xebdd2c99ae959651acd437295b4321c446219b3d
paused(view returns (bool)
false
periodFinish(view returns (uint64)
1707329161
rewardPerToken(view returns (uint256)
9721307478604486420745210069771400258802973449088792
rewardPerTokenStored(view returns (uint256)
9721307478604486420745210069771400258802973449088792
rewardRate(view returns (uint256)
578703703703703703
rewardToken(view returns (address)
0x528fc7341f43c13268bfb53fc095fa025044f286
stakeToken(view returns (address)
0x4f89cd0cae1e54d98db6a80150a824a533502eea
totalSupply(view returns (uint256)
2714
Read-only
balanceOf(addressview returns (uint256)
earned(address accountview returns (uint256)
isRewardDistributor(addressview returns (bool)
onERC721Received(addressaddressuint256bytesview returns (bytes4)
ownerOf(uint256view returns (address)
rewards(addressview returns (uint256)
userRewardPerTokenPaid(addressview returns (uint256)
State-modifying
emergencyWithdrawTokens(address to
exit(uint256[] idList
getReward(
notifyRewardAmount(uint256 reward
setPaused(bool _paused
setRewardDistributor(address rewardDistributorbool isRewardDistributor_
stake(uint256[] idList
transferOwnership(address newOwner
withdraw(uint256[] idList
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardAdded(uint256 reward
RewardPaid(address indexed useruint256 reward
Staked(address indexed useruint256[] idList
Withdrawn(address indexed useruint256[] idList
Constructor
constructor(address _rewardTokenaddress _stakeTokenuint64 _DURATION
Fallback and receive

This contract contains no fallback and receive objects.

Errors
Error_AlreadyInitialized(
Error_AmountTooLarge(
Error_ContractIsPaused(
Error_NotRewardDistributor(
Error_NotStakeToken(
Error_NotTokenOwner(
Error_ZeroOwner(
Ownable_NewOwnerZeroAddress(
Ownable_NotOwner(