IStakingRewards¶
Description¶
Source: contracts/interfaces/IStakingRewards.sol
Views¶
balanceOf
¶
Details
Signature
balanceOf(address account) view returns (uint256)
Visibility
external
State Mutability
view
earned
¶
Details
Signature
earned(address account) view returns (uint256)
Visibility
external
State Mutability
view
getRewardForDuration
¶
Details
Signature
getRewardForDuration() view returns (uint256)
Visibility
external
State Mutability
view
lastTimeRewardApplicable
¶
Details
Signature
lastTimeRewardApplicable() view returns (uint256)
Visibility
external
State Mutability
view
rewardPerToken
¶
Details
Signature
rewardPerToken() view returns (uint256)
Visibility
external
State Mutability
view
rewardsDistribution
¶
Details
Signature
rewardsDistribution() view returns (address)
Visibility
external
State Mutability
view
rewardsToken
¶
Details
Signature
rewardsToken() view returns (address)
Visibility
external
State Mutability
view
totalSupply
¶
Details
Signature
totalSupply() view returns (uint256)
Visibility
external
State Mutability
view
External Functions¶
exit
¶
Details
Signature
exit()
Visibility
external
State Mutability
``
getReward
¶
Details
Signature
getReward()
Visibility
external
State Mutability
``
stake
¶
Details
Signature
stake(uint256 amount)
Visibility
external
State Mutability
``
withdraw
¶
Details
Signature
withdraw(uint256 amount)
Visibility
external
State Mutability
``