TokenStake

Verified contract

Active on Ethereum with 9,725 txns
Deployed by via 0x0ed2687a at 12469857
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0x48b429b8cc356361dc2c559f422c4310e160485261cad0ef63184bb12f3822be
0x37fcd7448ffddf64634555662638e24fd8bd1b8e5715f63ef30d12de9b9562c3
0x483cea8d38a1e0bee729beef4866af76fc8e200c09509994319eed3777e83710
0xcff7809eaaba19383e71681b52b1ede865294544fd67ecd701114224a686f55c
0x9fec61b60b47c8b743de12727534090ba2c25f4e47c589a7eaed7a325da09c41
0x7120adba00c13231688dc06411f0da63e087d18ae4f2fabfb2007637a3f70278
0x0a941fb1a31a3de29fce3771d5234f8506b8be084bc3712b00ccb2dfeec8f667
0x301d76d3b8c8cc80dda3175a2f3cc73e4dbe8a629f8955f255d6d9ece4a370e5
0x29838a85e21bd819f9b435742ef81a983bca6082133e7673ded915d2953a9411
0x894e7290b1cee2555ee32e433fbbfa817b3feec08f2f6ec37bd6b3e93f6de0d4

Functions
Getter at block 21244475
currentStakeMapIndex(view returns (uint256)
54
 
getStakeHolders(view returns (address[])
maxMigrationBlocks(view returns (uint256)
12642657
owner(view returns (address)
0xa7a31d206042b8a3e81aa4cf8c68c1b76856ee48
token(view returns (address)
0x5b7533812759b45c2b44c19e320ba2cd2681b542
tokenOperator(view returns (address)
0xf57bce0083c9d5c618e496ed1db25e6855e2daf4
windowTotalStake(view returns (uint256)
3437334908450688
Read-only
balances(addressview returns (uint256)
getStakeInfo(uint256 stakeMapIndexaddress stakerview returns (bool founduint256 approvedAmountuint256 pendingForApprovalAmountuint256 rewardComputeIndexuint256 claimableAmount)
stakeMap(uint256view returns (uint256 startPerioduint256 submissionEndPerioduint256 approvalEndPerioduint256 requestWithdrawStartPerioduint256 endPerioduint256 minStakebool openForExternaluint256 windowRewardAmount)
State-modifying
claimStake(uint256 stakeMapIndex
computeAndAddReward(uint256 stakeMapIndexaddress stakerreturns (bool)
migrateStakeWindow(uint256 _startPerioduint256 _submissionEndPerioduint256 _approvalEndPerioduint256 _requestWithdrawStartPerioduint256 _endPerioduint256 _windowRewardAmountuint256 _minStakebool _openForExternal
migrateStakes(uint256 stakeMapIndexaddress[] stakeruint256[] stakeAmount
openForStake(uint256 _startPerioduint256 _submissionEndPerioduint256 _approvalEndPerioduint256 _requestWithdrawStartPerioduint256 _endPerioduint256 _windowRewardAmountuint256 _minStakebool _openForExternal
rejectStake(uint256 stakeMapIndexaddress staker
renounceOwnership(
requestForClaim(uint256 stakeMapIndexbool autoRenewal
submitStake(uint256 stakeAmount
transferOwnership(address newOwner
updateOperator(address newOperator
updateRewards(uint256 stakeMapIndexaddress[] staker
withdrawStake(uint256 stakeMapIndexuint256 stakeAmount
withdrawToken(uint256 value
Events
AddReward(address indexed stakeruint256 indexed stakeIndexaddress tokenOperatoruint256 totalStakeAmountuint256 rewardAmountuint256 windowTotalStake
ClaimStake(uint256 indexed stakeIndexaddress indexed stakeruint256 totalAmount
NewOperator(address tokenOperator
OpenForStake(uint256 indexed stakeIndexaddress indexed tokenOperatoruint256 startPerioduint256 endPerioduint256 approvalEndPerioduint256 rewardAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RejectStake(uint256 indexed stakeIndexaddress indexed stakeraddress indexed tokenOperatoruint256 returnAmount
RequestForClaim(uint256 indexed stakeIndexaddress indexed stakerbool autoRenewal
SubmitStake(uint256 indexed stakeIndexaddress indexed stakeruint256 stakeAmount
WithdrawStake(uint256 indexed stakeIndexaddress indexed stakeruint256 stakeAmount
WithdrawToken(address indexed tokenOperatoruint256 amount
Constructor
constructor(address _tokenuint256 _maxMigrationBlocks
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.