MockRewardPool
MockRewardPool
pid
uint256 pid
stakingToken
address stakingToken
rewardTokenA
address rewardTokenA
rewardTokenB
address rewardTokenB
operator
address operator
rewards
mapping(address => uint256) rewards
constructor
constructor(uint256 _pid, address _stakingToken, address _rewardTokenA, address _rewardTokenB, address _operator) public
totalSupply
function totalSupply() public view returns (uint256)
balanceOf
function balanceOf(address account) public view returns (uint256)
stakeFor
function stakeFor(address _for, uint256 _amount) public returns (bool)
withdrawAndUnwrap
function withdrawAndUnwrap(uint256 amount, bool claim) public returns (bool)
withdrawAllAndUnwrap
function withdrawAllAndUnwrap(bool claim) external
getReward
function getReward(address _account, bool _claimExtras) public returns (bool)
getReward
function getReward() public returns (bool)