IStakingRewards.sol
Methods
balanceOf(address)
Solidity
function balanceOf(address account) external view returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
account | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
earned(address)
Solidity
function earned(address account) external view returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
account | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
exit()
Solidity
function exit() external nonpayable
getReward()
Solidity
function getReward() external nonpayable
lastTimeRewardApplicable()
Solidity
function lastTimeRewardApplicable() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
rewardPerToken()
Solidity
function rewardPerToken() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
stake(uint256)
Solidity
function stake(uint256 amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 | undefined |
totalSupply()
Solidity
function totalSupply() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
withdraw(uint256)
Solidity
function withdraw(uint256 amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 | undefined |