Skip to main content

IStakingRewards.sol

Methods

balanceOf(address)

Solidity

function balanceOf(address account) external view returns (uint256)

Parameters

NameTypeDescription
accountaddressundefined

Returns

NameTypeDescription
_0uint256undefined

earned(address)

Solidity

function earned(address account) external view returns (uint256)

Parameters

NameTypeDescription
accountaddressundefined

Returns

NameTypeDescription
_0uint256undefined

exit()

Solidity

function exit() external nonpayable

getReward()

Solidity

function getReward() external nonpayable

lastTimeRewardApplicable()

Solidity

function lastTimeRewardApplicable() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

rewardPerToken()

Solidity

function rewardPerToken() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

stake(uint256)

Solidity

function stake(uint256 amount) external nonpayable

Parameters

NameTypeDescription
amountuint256undefined

totalSupply()

Solidity

function totalSupply() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

withdraw(uint256)

Solidity

function withdraw(uint256 amount) external nonpayable

Parameters

NameTypeDescription
amountuint256undefined