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

Live Execution Pipeline

Full pipeline status, data parity, discovery cycles, data lifespan, blockers, and identity wiring

8
LIVE
0
PARTIAL
0
SIMULATED
4
CRITICAL
6
GAPS CLOSED
6 Production Gaps Closed — All 4 Critical Blockers + Event-Driven Cache + 3-Tier Oracle Engine
✅ Blocker 1 — Real Signing

ethers.js v6 Wallet.signTransaction(). JIT hold unsigned. Signer recovery verified. SHADOW/LIVE gate. EIP-1559 type-2.

✅ Blocker 2 — Venue Registry

Canonical P0_VENUE_REGISTRY. QuickSwap V2/V3-Algebra, SushiSwap, Uniswap V3, Curve, Balancer V2, Aave V3. Bytecode provenance. Balancer reentrancy rule.

✅ Blocker 3 — ABI Calldata

ethers.Interface.encodeFunctionData() for execute(ExecutionPlan). ABI roundtrip test. Sealed payload. eth_call simulation. Selector + length verification.

✅ Blocker 4 — Flash Capital

Live Aave V3 + Balancer V2 liquidity query. Economics-aware source selection. Balancer reentrancy topology enforced. Premium in economics. Insufficient liquidity rejects route.

✅ Event-Driven Cache

WebSocket Sync/Swap/Mint/Burn → in-memory CPMM at 0ms. CLMM Multicall only on touched pools. WARM→HOT instant on 25 bps or 2% volume. 95% RPC reduction.

✅ 3-Tier Oracle Engine

Chainlink AggregatorV3 (8 feeds) + Curve/Balancer virtual price + Uniswap V3/Algebra TWAP. PASS/WARN/FAIL divergence gates. All 16 tokens live-priced. apexService auto-sync to token_registry.

Discovery Engine Cycle Frequency Summary
HOT POOLS
Every block (~2s)
State hydration, math, simulation, route enumeration
WARM POOLS
Every 20 blocks (~40s)
State refresh, re-scoring, promotion check
COLD POOLS
Every 300 blocks (~10min)
Periodic re-score, demotion/promotion check
FACTORY WATCHERS
Continuous (event-driven)
PairCreated/PoolCreated events, backfill on boot
Data Lifespan Reference
Data TypeTTL / LifespanExpiry ActionPhase
Block header / WSS event1 block TTLDiscarded after factory watcher processesPhase 1
Factory event logPermanentWritten to pool registry, never expiresPhase 2
Pool registry entryPermanent (until REJECT)Demoted to REJECT tier, archivedPhase 3
Pool tier scorePer scan policy (1/20/300 blocks)Re-scored on next scan cyclePhase 3
Pool state cache (HOT)Max 2 blocksStale state → re-hydration required before mathPhase 4
Staged route data1 blockDiscarded, re-staged next cyclePhase 4
Invariant math quote1 blockStale quote → re-compute before simulationPhase 5
Simulation result1 blockStale sim → re-simulate before relayPhase 6
Holding Tank TXMax 3 blocksForced flush or expiry on 3rd blockPhase 7
Nonce statePer flush attemptRefreshed via dual eth_getTransactionCountPhase 7
Signed bundleTarget block + 1Relay drops bundle after target block passesPhase 8
Relay outcome / tx logPermanent (Supabase)Persisted to transaction_logs tablePhase 8