Add ChimpX AI-powered DeFi aggregator trades on BNB Chain#9357
Open
dhruvalgupta2003 wants to merge 7 commits intoduneanalytics:mainfrom
Open
Add ChimpX AI-powered DeFi aggregator trades on BNB Chain#9357dhruvalgupta2003 wants to merge 7 commits intoduneanalytics:mainfrom
dhruvalgupta2003 wants to merge 7 commits intoduneanalytics:mainfrom
Conversation
Adds ChimpX to dex_aggregator.trades. ChimpX is an AI agent that executes swaps, bridges, lending, borrowing, staking, and perpetuals on BNB Chain. Volume is tracked via on-chain VolumeRegistered events from ChimpXVolumeRegistry (0x8327839597934e1490f90D06F2b0A549dFC7edeB, deployed block 82131810). New files: - dbt_subprojects/dex/models/_projects/chimpx/bnb/chimpx_bnb_trades.sql - dbt_subprojects/dex/models/_projects/chimpx/bnb/_chimpx_bnb_schema.yml - dbt_subprojects/dex/seeds/chimpx/chimpx_bnb_trades_seed.csv Modified: - dex_aggregator_trades.sql: added chimpx_bnb_trades to as_is_models Closes duneanalytics#9356
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
Author
|
recheck |
1 similar comment
Author
|
recheck |
Author
|
Reverted The uniqueness test failure (24 rows) from the earlier run appears to be pre-existing in recheck |
Author
|
recheck |
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.
Description
Adds ChimpX to
dex_aggregator.tradeson BNB Chain.ChimpX is an AI-powered DeFi aggregator that lets users execute swaps, bridges, lending, borrowing, staking, and perpetuals through natural language. Volume is recorded on-chain via the
ChimpXVolumeRegistrycontract which emitsVolumeRegisteredevents after each successful user action.Contract:
0x8327839597934e1490f90D06F2b0A549dFC7edeB(BNB Chain, deployed block 82131810)Changes
dbt_subprojects/dex/models/_projects/chimpx/bnb/chimpx_bnb_trades.sqldbt_subprojects/dex/models/_projects/chimpx/bnb/_chimpx_bnb_schema.ymldbt_subprojects/dex/seeds/chimpx/chimpx_bnb_trades_seed.csvdex_aggregator_trades.sql— addedchimpx_bnb_tradestoas_is_modelsNote on token columns
The registry contract records aggregated USD notional volume across action types (swap, bridge, lend, borrow, stake, perps) rather than individual token pair swaps. As a result,
token_bought/sold_addressandtoken_bought/sold_amount_raware NULL.amount_usdis populated from thevolumeUsdfield (18-decimal fixed-point). Happy to discuss the best approach if Dune prefers a different table or pattern.Related issue
Closes #9356