Skip to content

Conversation

@OlaStenberg
Copy link
Contributor

@OlaStenberg OlaStenberg commented Dec 24, 2025

Thank you for contributing to Spellbook 🪄

Add RP10


quick links for more information:

@github-actions github-actions bot added WIP work in progress dbt: dex covers the DEX dbt subproject labels Dec 24, 2025
@OlaStenberg OlaStenberg marked this pull request as ready for review January 19, 2026 15:42
Copilot AI review requested due to automatic review settings January 19, 2026 15:42
@cursor
Copy link

cursor bot commented Jan 19, 2026

PR Summary

Adds Sushiswap RouteProcessor v10 support and introduces Monad chain to the aggregator.

  • Extends generate_sushiswap_trades with RP10 function mappings and updates versions_by_chain to include '10' across supported chains; adds Monad wrapped native address
  • Adds Monad aggregator model (sushiswap_agg_monad_trades.sql) with schema/tests and includes it in the consolidated sushiswap_agg_trades view and expose_spells blockchains
  • Updates source YAMLs for many chains to register RP10 call tables; adds new sushiswap_monad sources for RP9.2 and RP10

Written by Cursor Bugbot for commit 0315683. 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 Jan 19, 2026
Copy link
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 pull request adds support for Sushiswap RouteProcessor version 10 (RP10) contracts across 22 blockchain networks and introduces the new monad blockchain to the Sushiswap ecosystem.

Changes:

  • Added RP10 (routeprocessor10) source table definitions for 22 chains
  • Created monad chain support with source files, SQL models, schema, and macro configurations
  • Updated version mappings and chain configurations to include RP10 and monad

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sources/sushiswap//sushiswap__sources.yml Added four routeprocessor10 call tables for each supported chain
sources/sushiswap/monad/sushiswap_monad_sources.yml New source file defining routeprocessor9_2 and routeprocessor10 tables for monad chain
dbt_subprojects/dex/models/_projects/sushiswap/sushiswap_agg_trades.sql Added monad to blockchain list and model references in alphabetical order
dbt_subprojects/dex/models/_projects/sushiswap/monad/sushiswap_agg_monad_trades.sql New model file for monad aggregator trades using standard template
dbt_subprojects/dex/models/_projects/sushiswap/monad/_schema.yml New schema definition for monad trades with standard column definitions and tests
dbt_subprojects/dex/macros/models/_project/sushiswap/sushiswap_agg_trades.sql Added RP10 function mappings, updated version lists for all chains, and added monad wrapped native token address

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

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