Claim Rewards

For users who don’t have a loan their yield rewards will accumulate directly to their account in the vault borrow asset. These can be withdrawn through the claimRewards function.

claimRewards(uint256 amountRequested)

  • amountRequested - amount the user wants to withdraw

Last updated