QuaiWhale logo
QuaiWhale
DEX

Aerodrome Liquidity

Tracks Aerodrome swaps, reserves, price, liquidity, and two-percent market depth.

Live
Runtime key
aerodrome_feed
Railway process
aerodrome-feed
Required production process
Last heartbeat
Jul 31, 2026, 12:42:35 a.m.
UTC
Last successful cycle
Jul 31, 2026, 12:42:35 a.m.
UTC
Runtime status
completed
Next scheduled run
Not available
No next_run_at exposed
Last cycle duration
467ms
Completed Jul 31, 2026, 12:42:35 a.m. UTC
Process started
Jul 31, 2026, 12:32:58 a.m.
UTC
Current runtime snapshot

Point-in-time operational summary

This worker exposes a current loop-state record in this view. No multi-run history is requested or inferred.

Live
Runtime status
completed
Next scheduled
Not available
Checkpoint fields
3
Metadata fields
3
Exact data chain

Input to product surface

required process
Step 1Input
Aerodrome pool contract

Reads confirmed Base blocks, pool metadata, reserves, Swap logs, and quote calls for the registered QUAI/WETH pool.

Step 2Checkpoint
Resume confirmed block scan

Starts after the latest persisted pool snapshot or a bounded bootstrap lookback.

Step 3Normalization
Price, liquidity, and depth

Parses swaps, resolves WETH/USD context, calculates QUAI price and liquidity, and estimates two-percent depth.

Step 4Persistence
Persist swaps and snapshots

Upserts decoded swaps and one pool snapshot for the processed block range.

Step 5Product
Expose DEX intelligence

Powers Aerodrome liquidity, swaps, volume, price, and depth in QUAI Live and Overview.

Required dependencies

The chain cannot produce its canonical output without these dependencies.

Base JSON-RPC

Confirmed block, log, metadata, reserve, and quote reads.

Supabase service role

Checkpoint lookup and DEX persistence.

Aerodrome pool registry

Registered QUAI/WETH pool and QUAI token contract.

Secondary and fallback paths

Recovery, enrichment, transport, or coordination paths that do not replace the canonical source of truth.

Coinbase ETH/USD spot

Used when a fixed WETH/USD value is not configured.

Reserve simulation fallback

Estimates depth when pool quote calls fail.

Storage contract

Tables read or written by this worker chain.

Swipe horizontally to inspect all columns

TablePurpose
dex_swapsDecoded Aerodrome swaps.
dex_pool_snapshotsReserves, prices, liquidity, depth, and block checkpoints.

Product outputs

User-facing workspaces directly powered by this chain.

Runtime checkpoint

Confirmed Base block range

To Block
49 334 598
From Block
49 334 584
Next Block
49 334 599

Cycle metadata

Depth Method
pool_getAmountOut_volatile
Inserted Swaps
0
Inserted Snapshots
1

Implementation map

Primary repository files implementing this worker chain and its product read path.

workers/aerodrome-feed/start.cjs
workers/market-feed/aerodrome-feed.js
app/lib/market-feed/aerodrome-store.js