StakeRewards
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
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
Balances ($0.00)
No balances found for "StakeRewards"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StakeRewards"
ABI
ABI objects
Getter at block 21184211 freeAmount() view returns (uint256)
cooldownPeriod() view returns (uint32)
864000
emergencyWithdrawal() view returns (bool withdrawalEnabled, uint256 startTimestamp, uint256 endTimestamp)
(withdrawalEnabled=false, startTimestamp=0, endTimestamp=0)
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 amount, uint256 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 s, struct StakeOption opt) view returns (uint256 rewards, bool claimable, bool withdrawable, uint256 endOfLastPeriod)
calcRewardsByIndex(uint16 stakeIndex) view returns (uint256 rewards, bool claimable, bool withdrawable, uint256 endOfLastPeriod)
calculateCumulativeIndex(uint16 option) view returns (uint256 index)
canEmergencyWithdraw(uint16 stakeIndex, address user) view returns (bool)
getUserStakes(address _account) view returns (struct StakeInfo[])
stakeOptions(uint256) view returns (uint256 total, uint128 emission, uint256 index)
usersStake(address, uint256) view returns (uint256 amount, uint256 lastCI, uint64 start, uint16 option, bool autorenew, uint64 end, uint64 requestedAt, uint256 claimed)
State-modifying
Events addAddressToWhitelist(address addr)
claimRewards(uint16 stakeIndex)
emergencyWithdraw(uint16 stakeIndex)
initialize(address[] _whitelistAddresses, address _stakeToken, uint64 _unlockTimestamp)
pause()
removeAddressFromWhitelist(address addr)
renounceOwnership()
requestWithdraw(uint16 stakeIndex)
restake(uint16 stakeIndex, uint16 option, bool withRewards, bool autorenew)
setEmergencyWithdrawal(bool val, uint256 startTimestamp, uint256 endTimestamp)
setEmissionPerSecond(uint256 newEmissionPerSecond)
stake(uint256 amount, uint16 option, bool autorenew)
stakeFor(uint256 amount, uint16 option, address account, bool autorenew)
stakeWithPermit(uint256 amount, uint16 option, bool autorenew, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
switchAutorenew(uint16 stakeIndex)
transferOwnership(address newOwner)
unpause()
updateUnlockTimestamp(uint64 _timestamp)
withdraw(uint16 stakeIndex)
withdrawExtraTokens(address token, uint256 amount)
AddressAddedToWhitelist(address newWhitelistAddress)
AddressRemovedFromWhitelist(address removedWhitelistAddress)
Claimed(address sender, uint256 amount, uint256 timestamp, uint16 option)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Staked(address sender, uint256 amount, uint256 period, bool autorenew, uint256 timestamp, uint16 option)
WithdrawRequested(address indexed sender, uint256 amount, uint256 timestamp, uint16 option)
Withdrawn(address sender, uint256 amount, uint256 rewards, uint256 timestamp, uint16 option)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.