Skip to content

IShortingRewards

Description

Source: contracts/interfaces/IShortingRewards.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

enrol

Source

Details

Signature

enrol(address account, uint256 amount)

Visibility

external

State Mutability

``

getReward

Source

Details

Signature

getReward(address account)

Visibility

external

State Mutability

``

withdraw

Source

Details

Signature

withdraw(address account, uint256 amount)

Visibility

external

State Mutability

``