POLYGON137
#91,847,2930.8s ago
3/3CONSENSUS
Gas:32.4 Gwei
Base:30.1 Gwei
Lag:0 blk
C1 EXECUTION PIPELINE · CHAIN 137

C1 Pipeline Visualizer

Pool discovery (TVL gate) → pool & token registry → staging layer (sorted) → staged route data → invariant math → calldata simulation → holding tank → tx submission via Polygon MEV relay

10
Discovery Stages
8
Execution Stages

Pipeline Order Rule: Staging is Mandatory Before Math

Pools that pass the TVL gate enter the pool & token registry, then are sorted through the staging layer before any math is performed. No pool enters the invariant math layer without first passing through the sorted staging layer.

#1Venue / DEX Family
#2Fee Tier
#3Per-Unit Price (USD)

Critical Production Rule: Non-Blocking C2

When C1 completes, it immediately creates a C2 reaction lane — but no C2 waiting state is permitted to block global discovery. The C1 global scanner continues uninterrupted. C2 runs in parallel, never as a gate.

C1 completes → create C2 reaction lane
C1 GLOBAL SCANNER CONTINUES
Discovery, Registry & Staging Pipeline— click stage for details
Staging Layer — Sort & Rank Detailrequired before math
#1Venue / DEX Family

QuickSwap V3 → Uniswap V3 → Balancer → Curve → DODO → V2 family

#2Fee Tier

Ascending — lowest fee tier first (0.01% → 0.05% → 0.3% → 1%)

#3Per-Unit Price (USD)

Descending — highest USD price per unit first

POOL DISCOVERY (TVL gate)POOL & TOKEN REGISTRYSTAGING LAYER (sorted)STAGED ROUTE DATAINVARIANT MATHCALLDATA SIMULATIONPOLYGON MEV RELAY
Execution Pipeline— flashloan → buy/sell → optimal size → cost model → MEV-safe profit → calldata simulation → Polygon MEV relay
BUY_LEG1_EXEC_PRICE<SELL_LEG2_EXEC_PRICE→ POSITIVE ARB CONDITION
Holding Tank · Final Batching & Execution Modulepost-simulation staging

Batching Rules — Flush on whichever condition fires first

Simulation-passing transactions accumulate in the holding tank. The batch is signed and submitted when 5 transactions accumulate OR 3 blocks have elapsed since the last flush — whichever fires first. No transaction proceeds to signing without first passing calldata simulation.

Flush trigger A: ≥ 5 TX in tank
Flush trigger B: every 3 blocks
Entry gate: sim must pass
52,841,200
Current Block
3 blocks
Until Block Flush
0 / 5
TX in Tank
5 more
Until Count Flush
Block Interval Progress0 / 3 blocks
Flushes every 3 blocks
TX Count Progress0 / 5 TX
Flushes when 5 TX accumulate
Tank Contents0 total · 0 pending
Tank empty — start simulation to fill
Batch Flush Log0 flushes
No flushes yet
CALLDATA SIMULATION▶ HOLDING TANK (batch)SIGNINGPOLYGON MEV RELAYflush: every 3 blocks OR 5 TX
Invariant Adapter State Hydration Matrix
FamilyRequired State HydrationNotes
V2_CPMM
reserve0reserve1feetoken0/token1
Universal adapter for QuickSwap V2, SushiSwap V2, ApeSwap, Elk V2, and all verified V2-compatible factories
V3_CLMM
slot0 (sqrtPriceX96, tick)liquiditytick bitmapinitialized ticksfee tiertick spacing
Full tick traversal required — never reduce to spot price. Uniswap V3, SushiSwap V3, ElkDEX V3
ALGEBRA_CLMM
globalStateliquiditytickstick table/treedynamic fee stateplugin/config state
QuickSwap V3 Algebra. Creation event: Pool(token0, token1, pool) — no fee in event signature
DODO_PMM
base reservequote reservetarget inventoriesoracle/reference pricek parameterR-statefee parameters
Three separate factory streams: DVMFactory, DPPFactory, DSPFactory. Do NOT process as CPMM
BALANCER_WEIGHTED
Pool IDVault token balancespool specializationweightsscaling factorsrate providers
Deployment Registry → Pool Factories → Factory Events → Pool ID → Vault. Classify: Weighted / Stable / ComposableStable / Linear / Gyro
CURVE_STABLE
Address Provider → Registries → Factories → PoolsA parametervirtual pricecoins mappingunderlying mapping
StableSwap → Stable adapter. CryptoSwap → Crypto adapter. MetaPool → base-pool composition. Pool address alone does not determine invariant
KYBER_ELASTIC
tick stateliquiditysqrt pricefee growth
Shadow-only. KyberSwap Elastic classified as legacy/deprecated. Requires extra validation before live execution
WOFI_SPMM
oracle pricebase/quote reservesspread parametersfee state
sPMM oracle-anchored model. Pool/router registry discovery. P1 priority
Complete C1 Integration Flow
Discovery → Staging → Math
1
MULTI-RPC BLOCK/WSS INPUT
2
FACTORY + REGISTRY WATCHERS
3
POOL DISCOVERY · TVL GATE
4
POOL & TOKEN REGISTRY
5
▶ STAGING LAYER (sorted)
6
▶ STAGED ROUTE DATA
7
INVARIANT MATH
8
EXECUTABLE QUOTE
9
TOKEN GRAPH
10
ROUTE ENUMERATION
Execution
1
FLASHLOAN ASSET A
2
BUY B
3
SELL B → A
4
OPTIMAL FLASH SIZE
5
FULL COST MODEL
6
MEV_SAFE_PROFIT
7
CALLDATA PAYLOAD SIMULATION
8
▶ HOLDING TANK (batch)
9
OPPORTUNITY_ID
10
TX SUBMISSION · POLYGON MEV RELAY
Coverage Summary
Discovered venue pools~20,000
Known token universe~4,500
Passes TVL gate → registry~1,200
Staged & sorted pools~1,200
Route-relevant (staged)~600
Hot execution graph~250
Simulation candidates~25
Holding tank (max batch)5 TX
Submitted trades1 batch

"discover thousands · gate by TVL · register qualified · stage & sort · math on staged only · simulate calldata · batch in holding tank · submit almost none"