IStakingDualRewards.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 |
earnedA(address)
Solidity
function earnedA(address account) external view returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
account | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
earnedB(address)
Solidity
function earnedB(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 |
rewardPerTokenA()
Solidity
function rewardPerTokenA() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
rewardPerTokenB()
Solidity
function rewardPerTokenB() 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 |