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
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.
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.
QuickSwap V3 → Uniswap V3 → Balancer → Curve → DODO → V2 family
Ascending — lowest fee tier first (0.01% → 0.05% → 0.3% → 1%)
Descending — highest USD price per unit first
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.
| Family | Required State Hydration | Notes |
|---|---|---|
| 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 |
"discover thousands · gate by TVL · register qualified · stage & sort · math on staged only · simulate calldata · batch in holding tank · submit almost none"