All packages

uniswap-third-party

ciyengar3
v0.0.1/4 downloads/Repository

Package ref

uniswap-third-party@v0.0.1

Run package

CLI

Run map_events from the command line.

substreams run uniswap-third-party@v0.0.1 map_events -e base --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

Substreams: Uniswap Third-Party DEX

Extracts third-party DEX events used by routing — PancakeSwap v3 Swap and Aerodrome/Velodrome Slipstream PoolCreated — from EVM blockchains.

Split out of uniswap-routing-specific so third-party coverage can build and deploy independently of the Uniswap event stream. Both events are matched signature-wide (no address filter): the signatures differ from Uniswap v3's (Pancake's Swap carries two trailing protocol-fee amounts; Slipstream's PoolCreated indexes tickSpacing and has no fee tier), so they cannot collide with the Uniswap decoders.

The message shapes are copied verbatim from routing-specific.proto — consumers of uniswap-routing-specific can share decode logic.

Run locally

make run CHAIN=base

chains.json mirrors uniswap-routing-specific (endpoint per chain, no addresses — signature-wide matching needs none).

Modules

Execution graph

1 modules