Skip to content

track virtus amm and cl volume and fees#6273

Merged
bheluga merged 1 commit intomasterfrom
virtus
Mar 26, 2026
Merged

track virtus amm and cl volume and fees#6273
bheluga merged 1 commit intomasterfrom
virtus

Conversation

@bheluga
Copy link
Copy Markdown
Member

@bheluga bheluga commented Mar 26, 2026

Metadata: #6248

Summary by CodeRabbit

  • New Features
    • Added support for Virtus Protocol across V2 and concentrated liquidity versions on the BASE blockchain network.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cf205680-0186-487c-a389-1b1bbe16a3ca

📥 Commits

Reviewing files that changed from the base of the PR and between e667fe5 and d00882a.

📒 Files selected for processing (2)
  • factory/uniV2.ts
  • factory/uniV3.ts

📝 Walkthrough

Walkthrough

Two new protocol configurations were added to the factory system: virtus-protocol for Base chain using V2-style swaps, and virtus-protocol-cl for Base chain using concentrated liquidity pools. Both define their respective start times, fee ratios, and event signatures to integrate with the existing protocol adapter infrastructure.

Changes

Cohort / File(s) Summary
Virtus Protocol Configurations
factory/uniV2.ts, factory/uniV3.ts
Added two protocol entries (virtus-protocol and virtus-protocol-cl) to their respective configs maps on Base chain, each specifying factory addresses, swap/pool event types, start dates, and fee/revenue ratios (userFeesRatio, revenueRatio, holdersRevenueRatio).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Hop, hop, hurray! New protocols take flight,
Virtus joins the Base, both V2 and CL tight,
Configs dance and sway with fees in perfect place,
Two more friends aboard—what a joyful race! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete and does not follow the required template. It only contains a reference link to another PR instead of addressing the form requirements. Complete the PR description by filling out relevant sections of the template, such as protocol name, chain, website link, and brief description of changes being made.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely describes the main changes: adding tracking for Virtus AMM and Concentrated Liquidity volume and fees.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch virtus

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bheluga bheluga merged commit 2e3a220 into master Mar 26, 2026
3 checks passed
@bheluga bheluga deleted the virtus branch March 28, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant