Skip to content

Add reCLAMM Balancer v3 pool sources and label coverage#9561

Open
tiagoponciano wants to merge 11 commits intoduneanalytics:mainfrom
neo-empresarial:dev
Open

Add reCLAMM Balancer v3 pool sources and label coverage#9561
tiagoponciano wants to merge 11 commits intoduneanalytics:mainfrom
neo-empresarial:dev

Conversation

@tiagoponciano
Copy link
Copy Markdown

Add Reclamm Balancer v3 pool sources and label coverage

Summary

This PR wires Reclamm Balancer v3 pools end-to-end for the supported chains: dbt sources declare ReclammPoolFactory_call_create, and the labels models union in those pools with pool_type = 'reclamm'.

Changes

Sources

  • Register ReclammPoolFactory_call_create under the existing Balancer v3 source definitions (per-chain sources/balancer/*/balancer_*_sources.yml), so source('balancer_v3_<chain>', 'ReclammPoolFactory_call_create') resolves in dbt.

Labels

  • Extend labels_balancer_v3_pools_* with a UNION ALL branch that joins token_data to ReclammPoolFactory_call_create on output_pool, sets pool_type = 'reclamm', and follows the same non-weighted factory pattern as other stable-style branches.

Chains touched in this branch

  • Arbitrum
  • Base
  • Ethereum
  • Gnosis
  • HyperEVM
  • Monad

Notes

  • Scope is limited to chains where both the source entry and the label model change are included in this PR; other chains can follow the same pattern if/when decoded tables are available and needed downstream.

tiagoponciano and others added 9 commits April 14, 2026 17:11
- Introduced a new selection for 'reclamm' pool type in the SQL model.
- Enhanced token data handling by including weights and symbols for the new pool type.
… SQL model

- Expanded token data handling to include 'reclamm' pool type with associated weights and symbols.
- Enhanced SQL logic to accommodate new data structure for improved pool categorization.
- Introduced additional SQL logic to handle 'reclamm' pool type, including token weights and symbols.
- Enhanced data structure for improved categorization of Balancer v3 pools.
… model

- Introduced new SQL logic to include 'reclamm' pool type with associated token data.
- Enhanced the existing structure to improve categorization of Balancer v3 pools.
- Expanded SQL logic to include 'reclamm' pool type with associated token data.
- Enhanced categorization of Balancer v3 pools by incorporating additional token handling.
… model

- Expanded SQL logic to include 'reclamm' pool type with associated token data.
- Enhanced categorization of Balancer v3 pools by incorporating additional token handling.
- Included 'ReclammPoolFactory_call_create' in the sources for Arbitrum, Base, Ethereum, Gnosis, Hyperevm, and Monad.
- Ensured consistent integration of the new pool type across multiple Balancer configurations.
Add 'ReclammPoolFactory_call_create' source to Balancer configurations
Copilot AI review requested due to automatic review settings April 14, 2026 20:31
@github-actions github-actions bot marked this pull request as draft April 14, 2026 20:31
@github-actions github-actions bot added WIP work in progress dbt: dex covers the DEX dbt subproject labels Apr 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for reCLAMM (Reclamm) Balancer v3 pools across the specified chains by registering the decoded factory call table as a dbt source and then including those pools in the per-chain Balancer v3 pool labels models.

Changes:

  • Add ReclammPoolFactory_call_create to Balancer v3 dbt source definitions for Arbitrum, Base, Ethereum, Gnosis, HyperEVM, and Monad.
  • Extend each chain’s labels_balancer_v3_pools_<chain>.sql to union in Reclamm-created pools with pool_type = 'reclamm'.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
sources/balancer/arbitrum/balancer_arbitrum_sources.yml Adds Reclamm factory call table to Arbitrum Balancer v3 sources.
sources/balancer/base/balancer_base_sources.yml Adds Reclamm factory call table to Base Balancer v3 sources.
sources/balancer/ethereum/balancer_ethereum_sources.yml Adds Reclamm factory call table to Ethereum Balancer v3 sources.
sources/balancer/gnosis/balancer_gnosis_sources.yml Adds Reclamm factory call table to Gnosis Balancer v3 sources.
sources/balancer/hyperevm/balancer_hyperevm_sources.yml Adds Reclamm factory call table to HyperEVM Balancer v3 sources.
sources/balancer/monad/balancer_monad_sources.yml Adds Reclamm factory call table to Monad Balancer v3 sources.
dbt_subprojects/dex/models/_projects/balancer/labels/arbitrum/labels_balancer_v3_pools_arbitrum.sql Unions Reclamm pools into Arbitrum Balancer v3 pool labels.
dbt_subprojects/dex/models/_projects/balancer/labels/base/labels_balancer_v3_pools_base.sql Unions Reclamm pools into Base Balancer v3 pool labels.
dbt_subprojects/dex/models/_projects/balancer/labels/ethereum/labels_balancer_v3_pools_ethereum.sql Unions Reclamm pools into Ethereum Balancer v3 pool labels.
dbt_subprojects/dex/models/_projects/balancer/labels/gnosis/labels_balancer_v3_pools_gnosis.sql Unions Reclamm pools into Gnosis Balancer v3 pool labels.
dbt_subprojects/dex/models/_projects/balancer/labels/hyperevm/labels_balancer_v3_pools_hyperevm.sql Unions Reclamm pools into HyperEVM Balancer v3 pool labels.
dbt_subprojects/dex/models/_projects/balancer/labels/monad/labels_balancer_v3_pools_monad.sql Unions Reclamm pools into Monad Balancer v3 pool labels.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

tiagoponciano and others added 2 commits April 14, 2026 18:43
- Modified SQL logic across multiple blockchain models (Arbitrum, Base, Ethereum, Gnosis, Hyperevm, Monad, Plasma) to incorporate 'reclamm' pool type in the CASE statement.
- Enhanced token data handling for improved categorization of Balancer v3 pools.
Update Balancer v3 pools SQL models to include 'reclamm' pool type
@tiagoponciano tiagoponciano marked this pull request as ready for review April 14, 2026 21:56
@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dbt: dex covers the DEX dbt subproject ready-for-review this PR development is complete, please review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants