Skip to content

Add Balancer V2 config to pool-indexer - #4814

Draft
AryanGodara wants to merge 1 commit into
aryan/balancer-v2-conversionsfrom
aryan/balancer-v2-config
Draft

Add Balancer V2 config to pool-indexer#4814
AryanGodara wants to merge 1 commit into
aryan/balancer-v2-conversionsfrom
aryan/balancer-v2-config

Conversation

@AryanGodara

Copy link
Copy Markdown
Member

Description

Update config to set up pool indexer to support both balancer v2 and/or uniswap-v3.

Changes

  • Add a balancer_v2 config section: the Vault address, per-type factory lists, and a block chunk size.
  • uniswap_v3 and balancer_v2 are both optional now. Add validate to check for at least one protocol and rejects duplicate factory addresses.
  • Wire the balancer config through run.rs.

How to test

  • cargo nextest run -p pool-indexer.
  • Start the indexer with a balancer-only config — it's accepted. A config with neither protocol is rejected.

@AryanGodara AryanGodara self-assigned this Aug 28, 2026
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

This pull request has been marked as stale because it has been inactive a while. Please update this pull request or it will be automatically closed.

@github-actions github-actions Bot added the stale label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant