UnitFlow LogoUnitFlow Docs

Pools

The Pools page displays all available liquidity pairs across protocol versions with real-time data. It is a read-only view — use the Liquidity page to manage positions.

What's Displayed

Each pool card shows:

  • Token pair symbols and logos
  • Pool contract address (with copy and ArcScan links)
  • Total Value Locked (TVL) in USD
  • Number of LP holders
  • Protocol version badge (V2.5 / V3 / V4)
  • Quick links to add liquidity or swap the pair

Version Tabs

The Pools page renders v2.5 pairs by default via the V25PairsList component. V3 and V4 pools are accessible through the version tabs, each pulling data from their respective GraphQL subgraphs.

Data Source

Pool data is loaded from a shared PoolDataContext that fetches once on app load and caches results. This avoids redundant RPC calls when navigating between pages. The data source indicator in the UI shows whether data is coming from the Envio indexer, HyperRPC, or a direct RPC fallback.

Navigating to Liquidity

Clicking Add Liquidity on a pool card navigates to/liquidity?tokenA=0x...&tokenB=0x...&symbolA=...&symbolB=...&decimalsA=...&decimalsB=...with the pair pre-selected.

Clicking Swap navigates to/?inputCurrency=0x...&outputCurrency=0x... with the pair pre-selected in the swap interface.