feat: rebuild /protocol as USD stats plus unified oracle (#550) #1078

Merged
PlasticDigits merged 3 commits from feat/550-protocol-global-stats into main 2026-08-17 13:46:18 +00:00
PlasticDigits commented 2026-08-17 12:29:48 +00:00 (Migrated from gitlab.com)

Summary

  • Rebuild /protocol as DEX USD global stats above one oracle card with USTC / LUNC / vFDUSD tabs (query keys and /price/{ticker} / /history/{ticker}).
  • Indexer: OracleTicker::Vfdusd polls CEX FDUSD (not $1, no fdusd alias); overview adds 7d/30d USD, 30d listings, active_pairs_24h, and unique_traders_24h on the ~5 min rollup.
  • Docs/skills: P550-1–P550-12, X2 includes vfdusd, make verify-issue-550.

Closes #550

Test plan

  • make verify-issue-550 (docs, source greps, indexer lib + integration, RTL, Playwright P1–P5 with 5 workers)
  • make verify-issue-515 (catalog + X1–X6 still green)
  • Manual: production/LocalTerra USTC ~0.00x, LUNC ~0.0000x, vFDUSD ~1.00 (not 100× swapped)
  • Manual: Protocol 24h USD vs Charts 24h Volume (USD) within ~5 min rollup lag
  • Light + dark eyeball of stats above oracle + three ticker chips (P6 uses existing design-tokens-visual protocol shot)
## Summary - Rebuild `/protocol` as DEX **USD** global stats above **one** oracle card with USTC / LUNC / vFDUSD tabs (query keys and `/price/{ticker}` / `/history/{ticker}`). - Indexer: `OracleTicker::Vfdusd` polls CEX FDUSD (not `$1`, no `fdusd` alias); overview adds 7d/30d USD, 30d listings, `active_pairs_24h`, and `unique_traders_24h` on the ~5 min rollup. - Docs/skills: P550-1–P550-12, X2 includes `vfdusd`, `make verify-issue-550`. Closes #550 ## Test plan - [x] `make verify-issue-550` (docs, source greps, indexer lib + integration, RTL, Playwright P1–P5 with 5 workers) - [x] `make verify-issue-515` (catalog + X1–X6 still green) - [ ] Manual: production/LocalTerra USTC ~0.00x, LUNC ~0.0000x, vFDUSD ~1.00 (not 100× swapped) - [ ] Manual: Protocol 24h USD vs Charts 24h Volume (USD) within ~5 min rollup lag - [ ] Light + dark eyeball of stats above oracle + three ticker chips (P6 uses existing `design-tokens-visual` protocol shot)
PlasticDigits commented 2026-08-17 12:32:08 +00:00 (Migrated from gitlab.com)

added 1 commit

  • 2f5b4ad1 - fix: Protocol outage lead covers stats and oracle (#550)

Compare with previous version

added 1 commit <ul><li>2f5b4ad1 - fix: Protocol outage lead covers stats and oracle (#550)</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/360/diffs?diff_id=1965674928&start_sha=388bd558c94daf95a8a6340a32390413d8cb9e76)
PlasticDigits commented 2026-08-17 13:46:08 +00:00 (Migrated from gitlab.com)

added 6 commits

  • 2f5b4ad1...75240100 - 5 commits from branch main
  • 81b403d5 - Merge branch 'main' into feat/550-protocol-global-stats

Compare with previous version

added 6 commits <ul><li>2f5b4ad1...75240100 - 5 commits from branch <code>main</code></li><li>81b403d5 - Merge branch &#39;main&#39; into feat/550-protocol-global-stats</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/360/diffs?diff_id=1965867039&start_sha=2f5b4ad14e6c6934820705781f6c7cad6d53e2d8)
PlasticDigits commented 2026-08-17 13:46:19 +00:00 (Migrated from gitlab.com)

mentioned in commit 9481c758e9

mentioned in commit 9481c758e9634751c8533861f18741686ac2a4f2
PlasticDigits (Migrated from gitlab.com) merged commit 9481c758e9 into main 2026-08-17 13:46:19 +00:00
PlasticDigits commented 2026-08-17 13:48:58 +00:00 (Migrated from gitlab.com)

mentioned in issue #548

mentioned in issue #548
PlasticDigits commented 2026-08-17 13:49:02 +00:00 (Migrated from gitlab.com)

mentioned in issue #550

mentioned in issue #550
PlasticDigits commented 2026-08-17 13:49:47 +00:00 (Migrated from gitlab.com)

mentioned in issue #552

mentioned in issue #552
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic!1078
No description provided.