BaseRewardPool4626
Follows ERC-4626 Interface
Deposit Bunni LP into the corresponding gauge, then stake into the RewardPool
function deposit(uint256 assets, address receiver) public returns (uint256)
Unstake from the RewardPool and withdraw Bunni LP from the gauge
function withdraw(
uint256 assets,
address receiver,
address owner
) public returns (uint256)
Unstake from the RewardPool and withdraw Bunni LP, can optionally claim rewards.
function withdrawAndUnwrap(uint256 amount, bool claim) public returns (bool)
Unstake all balance from the RewardPool and withdraw Bunni LP from the Booster, can optionally claim rewards
function withdrawAllAndUnwrap(bool claim) external
Unstake 'depositToken' from the RewardPool, can optionally claim rewards
function withdraw(uint256 amount, bool claim) public returns (bool)
Unstake all 'depositToken' from RewarPool, can optionanly claim rewards
function withdrawAll(bool claim) external
Gives a staker their rewards, with the option of claiming extra rewards
function getReward(address _account, bool _claimExtras) public returns (bool)
Called by a staker to get their allocated rewards (claim also extra rewards)
function getReward() external returns (bool)
Last updated