Skip to content

Conversation

@RantumBits
Copy link
Contributor

Description:

  • add 0x trades on Monad

@github-actions github-actions bot added WIP work in progress dbt: dex covers the DEX dbt subproject labels Dec 16, 2025
@RantumBits RantumBits marked this pull request as ready for review December 16, 2025 20:18
@cursor
Copy link

cursor bot commented Dec 16, 2025

PR Summary

Introduce Monad support for 0x by adding v2 trades and settler addresses, wiring them into aggregated fills/trades, and updating schemas/exposures.

  • Monad support for 0x:
    • Add zeroex_v2_monad_trades (incremental, partitioned by block_month, start_date 2024-07-15) and zeroex_monad_settler_addresses (incremental) models.
    • Define schemas/tests in monad/zeroex_monad_schema.yml (unique combos; detailed column docs).
  • Aggregate wiring & exposure:
    • Include ref('zeroex_v2_monad_trades') in zeroex_api_fills_deduped settler models.
    • Add monad to exposure lists in zeroex_api_fills_deduped and zeroex_trades; list monad in zeroex_schema.yml for zeroex_api_fills_deduped.
  • Seeds:
    • Update sample CSV to use WPOL (Polygon) symbol in place of WMATIC and adjust token pairs accordingly.

Written by Cursor Bugbot for commit 6c17ccb. Configure here.

@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Dec 16, 2025
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Comment @cursor review or bugbot run to trigger another review on this PR

@@ -0,0 +1,133 @@
version: 2

monadls:
Copy link

Choose a reason for hiding this comment

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

Bug: Typo: monadls instead of models breaks schema

The schema file uses monadls: as the top-level key instead of models:. This is clearly a typo that will cause dbt to completely ignore the model definitions, data tests, and column descriptions for both zeroex_v2_monad_trades and zeroex_monad_settler_addresses. All other blockchain schema files in the zeroex project correctly use models: as the key.

Fix in Cursor Fix in Web

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.

1 participant