Add reCLAMM Balancer v3 pool sources and label coverage#9561
Open
tiagoponciano wants to merge 11 commits intoduneanalytics:mainfrom
Open
Add reCLAMM Balancer v3 pool sources and label coverage#9561tiagoponciano wants to merge 11 commits intoduneanalytics:mainfrom
tiagoponciano wants to merge 11 commits intoduneanalytics:mainfrom
Conversation
- 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.
Balancer v3 labels: include reCLAMM Pools
- 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
Contributor
There was a problem hiding this comment.
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_createto Balancer v3 dbt source definitions for Arbitrum, Base, Ethereum, Gnosis, HyperEVM, and Monad. - Extend each chain’s
labels_balancer_v3_pools_<chain>.sqlto union in Reclamm-created pools withpool_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.
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 withpool_type = 'reclamm'.Changes
Sources
ReclammPoolFactory_call_createunder the existing Balancer v3 source definitions (per-chainsources/balancer/*/balancer_*_sources.yml), sosource('balancer_v3_<chain>', 'ReclammPoolFactory_call_create')resolves in dbt.Labels
labels_balancer_v3_pools_*with aUNION ALLbranch that joinstoken_datatoReclammPoolFactory_call_createonoutput_pool, setspool_type = 'reclamm', and follows the same non-weighted factory pattern as other stable-style branches.Chains touched in this branch
Notes