Claim Rewards

If you've deposited collateral but haven't taken out a loan, your share of the yield still accumulates. Instead of reducing a loan balance, these rewards collect in your account and can be withdrawn anytime through the claimRewards function. This option suits users who want yield exposure without borrowing.

These earnings can be withdrawn through the claimRewards function.

claimRewards(uint256 amountRequested)

  • amountRequested - amount the user wants to withdraw

Last updated