Summary of Protocol Rewards Hooks
- useBaseTrackingAccrued: Tracks accrued rewards for the base asset
- useGetRewardOwed: Retrieves the amount of reward token accrued but not yet claimed
- useClaimReward: Allows users to claim accrued rewards
useBaseTrackingAccrued
TheuseBaseTrackingAccrued
hook tracks accrued rewards for the base asset.
Usage
Return Value
useGetRewardOwed
TheuseGetRewardOwed
hook retrieves the amount of reward token accrued but not yet claimed.
Usage
Return Value
useClaimReward
TheuseClaimReward
hook allows users to claim accrued rewards.