interlay/interbtc-ui

Only show rewards on pools page if a user has claimable rewards

Closed this issue · 4 comments

This was raised by Jay. We've been having questions from users as to why the rewards on the pools page are showing as zero—now that rewards are no longer accruing, we should only show the rewards UI to users who have existing rewards to claim.

283411753-a2b915c9-bac7-44a3-9d64-0d3aa20222c7

@peterslany we get the claimableRewards from getClaimableFarmingRewards at the amm modules.

@peterslany we get the claimableRewards from getClaimableFarmingRewards at the amm modules.

@danielsimao Isn't this because the farming rewards already run out and 57% APR is based on trading fees that are automatically added to LP position and therefore does not need to be claimed?

Fixed and released