Package Logo
sei-scanner
sei-scanner@v0.1.2
Total Downloads
462
Published
1 weeks ago
Publisher
User Avatar Rimantovas

Readme

Modules

The pipeline processes blockchain data through 7 stages:

  1. map_pool_created - Discovers new liquidity pools from factory contracts
  2. store_pools - Stores canonical pool metadata (tokens, fees, addresses)
  3. map_swaps - Extracts swap/trade events from pools
  4. map_mints - Tracks liquidity additions
  5. map_burns - Tracks liquidity removals
  6. map_token_accounts - Monitors ERC20 token balance changes
  7. graph_out - Combines all outputs into unified structured message

Supported DEX Protocols

  • Sailor (Uniswap V3 fork) - Factory: 0xa51136931fdd3875902618bf6b3abe38ab2d703b
  • Dragonswap V2 (Uniswap V3 fork)
  • Dragonswap V1 (Uniswap V2 style)

Deployment Guide

To deploy updates to the substreams registry:

  1. Increment the version field in substreams.yaml
  2. Run substreams build to compile the WASM binary
  3. Run substreams registry publish to upload the package

Documentation

Modules

Maps icon
Maps

map
map_pool_created

fac1d643ffbbcea4897ab047c53e2a386976365c
map map_pool_created (
blocksf.ethereum.type.v2.Block
)  -> trading.Pool
substreams gui sei-scanner@v0.1.2 map_pool_created

map
map_swaps

9ac6f7a34430bc9b2761a98298976f5e2118b3cb
substreams gui sei-scanner@v0.1.2 map_swaps

map
map_mints

e3861994d227534d7b6d8277bbe5503942dddab3
substreams gui sei-scanner@v0.1.2 map_mints

map
map_burns

6a059ec905e282e4aa20c5e8b1b0bcd6196663d4
substreams gui sei-scanner@v0.1.2 map_burns

map
map_token_accounts

962f56b3cb524dad1ce171c6ee30b79486374adc
map map_token_accounts (
)  -> trading.TokenAccounts
substreams gui sei-scanner@v0.1.2 map_token_accounts

map
graph_out

7696d47eddede4c3b49f0fa10191c10c62edb74e
substreams gui sei-scanner@v0.1.2 graph_out
Stores icon
Stores

store
store_pools

57f2e9d4e183de1c32788cabd7a80e25bcc4b5c4
store <set,trading.Pool> store_pools (
)
substreams gui sei-scanner@v0.1.2 store_pools
Protobuf

Protobuf Docs Explorer

sf.ethereum.type.v2
sf.ethereum.substreams.v1
contract.v1
trading