Skip to content

IStakingRewards

Description

Source: contracts/interfaces/IStakingRewards.sol

Views

balanceOf

Source

Details

Signature

balanceOf(address account) view returns (uint256)

Visibility

external

State Mutability

view

earned

Source

Details

Signature

earned(address account) view returns (uint256)

Visibility

external

State Mutability

view

getRewardForDuration

Source

Details

Signature

getRewardForDuration() view returns (uint256)

Visibility

external

State Mutability

view

lastTimeRewardApplicable

Source

Details

Signature

lastTimeRewardApplicable() view returns (uint256)

Visibility

external

State Mutability

view

rewardPerToken

Source

Details

Signature

rewardPerToken() view returns (uint256)

Visibility

external

State Mutability

view

totalSupply

Source

Details

Signature

totalSupply() view returns (uint256)

Visibility

external

State Mutability

view

External Functions

exit

Source

Details

Signature

exit()

Visibility

external

State Mutability

``

getReward

Source

Details

Signature

getReward()

Visibility

external

State Mutability

``

stake

Source

Details

Signature

stake(uint256 amount)

Visibility

external

State Mutability

``

withdraw

Source

Details

Signature

withdraw(uint256 amount)

Visibility

external

State Mutability

``