Skip to content

feat(explorer): add Tokens summary table to Fee AMM page#944

Open
decofe wants to merge 1 commit into
mainfrom
feat/fee-amm-tokens-table
Open

feat(explorer): add Tokens summary table to Fee AMM page#944
decofe wants to merge 1 commit into
mainfrom
feat/fee-amm-tokens-table

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented May 12, 2026

Adds a birds-eye-view Tokens table alongside the existing Pools table on /fee-amm.

Each row aggregates data across all pools that a given token participates in:

Column Description
Token Icon + linked symbol
Direction As user token or as validator token
Reserves Total units of that token providing liquidity across all pools
Liquidity Total USD value (including the paired token side)
Routes List of tokens it is paired against in FeeAMM pools

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Bundle Size Report

Metric Size Δ Change
Total 4.6 MB +417.5 KB (+9.6%)
Gzip 1.3 MB +123.3 KB (+9.9%)
Brotli 1.2 MB +107.8 KB (+9.9%)
Chunk changes (>1KB)
Chunk Change
assets/chains.js (removed) -360.7 KB
assets/export-rate-limit.js (removed) -177.3 KB
assets/wagmi.config.js -29.5 KB
assets/AbiItem.js (removed) -27.1 KB
assets/env.js -9.7 KB
assets/validators.js (removed) -5.1 KB
assets/call.js +1.2 KB
assets/parseAbiItem.js (new) +1.6 KB
assets/.js +1.7 KB
assets/_address.js +1.7 KB
assets/router.js +1.9 KB
assets/known-event-totals.js (new) +2.0 KB
assets/tempo-queries.js +2.7 KB
assets/fee.js +8.9 KB
assets/Addresses.js (new) +9.1 KB
assets/schemas.js +22.7 KB
assets/structs.js (new) +23.9 KB
assets/queries.js +26.4 KB
assets/Connectors.js (new) +55.5 KB
assets/token.js +56.1 KB
...and 3 more

Compared against main branch (baseline from 4/27/2026, 4:02:54 PM)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Cloudflare Deployments

App Environment Status Preview
explorer devnet [OK] Deployed View Preview
explorer mainnet [OK] Deployed View Preview
explorer testnet [OK] Deployed View Preview
fee-payer devnet [>>] Skipped No changes
fee-payer moderato [>>] Skipped No changes
fee-payer privy [>>] Skipped No changes
og - [>>] Skipped No changes
perf - [>>] Skipped No changes
reth-snapshots-viewer - [>>] Skipped No changes
tempo-snapshots-viewer - [>>] Skipped No changes
tokenlist - [>>] Skipped No changes

Adds a Tokens section above the existing Pools table on /fee-amm that
gives a bird's-eye view of each TIP-20 token participating in FeeAMM.

Each token expands into two directional sub-rows:
- As Fee Token: reserves, liquidity, and routes to validator tokens
- As Validator Token: reserves, liquidity, and routes from fee tokens

Routes are sorted by pool liquidity, capped at top 5 with '+ X more'
overflow. Tokens with no pools in a direction show 'No pools' aligned
to the Liquidity column. Route tokens are separated by trailing dots
with smart wrapping so new lines start with the token icon.

Co-authored-by: 0xrusowsky <0xrusowsky@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e1ba7-2e93-731f-8d76-32f60fb7f196
@decofe decofe force-pushed the feat/fee-amm-tokens-table branch from 6f77602 to ea1c53c Compare May 12, 2026 12:47
@0xrusowsky 0xrusowsky marked this pull request as ready for review May 12, 2026 13:05
@0xrusowsky
Copy link
Copy Markdown
Contributor

the idea is to make it easier for:

  • users and validators to select their preferred tokens
  • token issuers to determine which tokens to LP for (select their counter pairs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants