meteora: add protocol fees for volatile pools#7967
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
Summary by CodeRabbit
WalkthroughThe Meteora dex adapter's ChangesMeteora Fee Split and Metadata
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 11 | ❌ 4❌ Failed checks (4 warnings)
✅ Passed checks (11 passed)
✨ Finishing Touches✨ Simplify code
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 meteora adapter exports: |
fee_volumeper pool by on-chainprotocol_trade_fee: verified viagetAccountInfoon one volatile and one stable DAMM v1 pool — 20% protocol / 80% LP on volatile pools, 0% / 100% LP on stable pools.dailyFees(gross) →dailyRevenue/dailyProtocolRevenue(protocol cut) +dailySupplySideRevenue(LP cut), usingBalances+METRIClabels.methodology+breakdownMethodologyfor every field.