Conversation
📝 WalkthroughWalkthroughThe Unidex Perp adaptor is enhanced to compute TVL and APY in USD. Per-pool staking token prices are looked up to calculate USD-denominated TVL with 2-decimal precision. Annual rewards in USD are calculated by iterating reward tokens and annualizing rates. APY is computed as the annual rewards-to-TVL ratio with zero-division protection. The adaptor is added to the exclude list. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The unidex-perp adapter exports pools: Test Suites: 1 passed, 1 total |
Summary by CodeRabbit
Bug Fixes
Chores
✏️ Tip: You can customize this high-level summary in your review settings.