DeFi rewards history
Imagine you supplied 2 wETH to Aave, borrowed 400 USDT, and then borrowed $200 two more times. You want to know how many rewards in wETH you earned from supplying and how much you paid in borrowing fees over the last 14 days. You also want to know the total rewards value in USD at current prices to understand the performance of the strategy.
Use the Lambda App Analytics page to create multi-asset, multi-DeFi reports that aggregate balances, rewards, and price metrics, with the ability to drill down into a single asset.
Total rewards = SUM ( Rewards [ token_i] )
In the video:
- We supplied 2 wETH - you can see on the chart and Balance history table
- We borrowed 400 + 200 + 200 = 800 USDT
- We earned $ 5.75 on supplying wETH
- We lost $ 1.48 on borrow fees for USDT
- Total rewards = $ 5.75 - $ 1.48 = $4.27
Updated 2 months ago
What’s Next
