StakeRewards

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x362f7725 at 16724939
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 2 additional slots

No balances found for "StakeRewards"

No transactions found for "StakeRewards"


Functions
Getter at block 21184211
cooldownPeriod(view returns (uint32)
864000
emergencyWithdrawal(view returns (bool withdrawalEnableduint256 startTimestampuint256 endTimestamp)
(withdrawalEnabled=false, startTimestamp=0, endTimestamp=0)
 
freeAmount(view returns (uint256)
getStakeOptions(view returns (struct StakeOption[])
[]
lastIndexTimestamp(view returns (uint256)
0
multipliers(pure returns (uint16[4])
[100, 150, 275, 600]
owner(view returns (address)
0x0000000000000000000000000000000000000000
periods(pure returns (uint32[4])
[0, 2592000, 5184000, 7776000]
stakeToken(view returns (address)
0x0000000000000000000000000000000000000000
totalAmount(view returns (uint256 amountuint256 weithedAmountSum)
(amount=0, weithedAmountSum=0)
totalEmissionPerSecond(view returns (uint256)
57870370370370370
totalEmissionPerSecondVersion2(view returns (uint256)
0
totalWeigthedAmount(view returns (uint256 weithedAmountSum)
0
unlockTimestamp(view returns (uint64)
0
withdrawWindow(view returns (uint32)
172800
Read-only
calcRewards(struct StakeInfo sstruct StakeOption optview returns (uint256 rewardsbool claimablebool withdrawableuint256 endOfLastPeriod)
calcRewardsByIndex(uint16 stakeIndexview returns (uint256 rewardsbool claimablebool withdrawableuint256 endOfLastPeriod)
calculateCumulativeIndex(uint16 optionview returns (uint256 index)
canEmergencyWithdraw(uint16 stakeIndexaddress userview returns (bool)
getUserStakes(address _accountview returns (struct StakeInfo[])
stakeOptions(uint256view returns (uint256 totaluint128 emissionuint256 index)
usersStake(addressuint256view returns (uint256 amountuint256 lastCIuint64 startuint16 optionbool autorenewuint64 enduint64 requestedAtuint256 claimed)
State-modifying
addAddressToWhitelist(address addr
claimRewards(uint16 stakeIndex
emergencyWithdraw(uint16 stakeIndex
initialize(address[] _whitelistAddressesaddress _stakeTokenuint64 _unlockTimestamp
pause(
removeAddressFromWhitelist(address addr
renounceOwnership(
requestWithdraw(uint16 stakeIndex
restake(uint16 stakeIndexuint16 optionbool withRewardsbool autorenew
setEmergencyWithdrawal(bool valuint256 startTimestampuint256 endTimestamp
setEmissionPerSecond(uint256 newEmissionPerSecond
stake(uint256 amountuint16 optionbool autorenew
stakeFor(uint256 amountuint16 optionaddress accountbool autorenew
stakeWithPermit(uint256 amountuint16 optionbool autorenewuint256 deadlineuint8 vbytes32 rbytes32 s
switchAutorenew(uint16 stakeIndex
transferOwnership(address newOwner
unpause(
updateUnlockTimestamp(uint64 _timestamp
withdraw(uint16 stakeIndex
withdrawExtraTokens(address tokenuint256 amount
Events
AddressAddedToWhitelist(address newWhitelistAddress
AddressRemovedFromWhitelist(address removedWhitelistAddress
Claimed(address senderuint256 amountuint256 timestampuint16 option
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Staked(address senderuint256 amountuint256 periodbool autorenewuint256 timestampuint16 option
WithdrawRequested(address indexed senderuint256 amountuint256 timestampuint16 option
Withdrawn(address senderuint256 amountuint256 rewardsuint256 timestampuint16 option
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.