feat(explorer): dual-chain wallet metadata, native coin pricing, and UI refresh.
Deploy Explorer Live / deploy (push) Failing after 20s
Validate Explorer / frontend (push) Failing after 24s
Validate Explorer / smoke-e2e (push) Has been skipped

Add Chain 138 wallet network metadata and stats coin-price enrichment; sync frontend explorer SPA, command center, and address/token pages with backend config.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
defiQUG
2026-06-19 16:16:17 -07:00
co-authored by Cursor
parent 0f02e6e54f
commit b87ebee6a1
94 changed files with 7648 additions and 1124 deletions
+35
View File
@@ -0,0 +1,35 @@
# Chain 138 visual topology — command center source
Canonical maintainer doc for `frontend/public/chain138-command-center.html` (live at `/chain138-command-center.html` and `/topology`).
Diagrams are **informational**; live addresses and guardrails are served by the explorer:
- `/protocols` and `/token-aggregation/api/v1/report/official-protocols`
- `/pools`, `/liquidity`, `/routes`
- `/bridge` (managed relay fleet + CCIP lane health)
- `/docs/gru`, `/docs/posture-glossary`, `/docs/transaction-review`
## PMM production canon (Chain 138)
| Role | Address |
|------|---------|
| DODOPMMIntegration Stack A (live) | `0x86ADA6Ef91A3B450F89f2b751e93B1b7A3218895` |
| DODOPMMProvider Stack A (live) | `0x3f729632E9553EBacCdE2e9b4c8F2B285b014F2e` |
| EnhancedSwapRouter (live) | `0xE6Cc7643ae2A4C720A28D8263BC4972905d7DE0f` |
| Stack B integration (do not wire) | `0x5BDc62f1ae7D630c37A8B363a1d49845356Ee72d` |
EnhancedSwapRouterV2 remains a planned Phase 4b deploy; it is not the default production router.
## Managed relay lanes (explorer `/bridge`)
`mainnet_weth`, `mainnet_cw`, `bsc`, `avax`, `avax_cw`, `avax_to_138`
## External references (proxmox monorepo)
When editing diagrams, cross-check:
- `docs/11-references/PMM_DEX_ROUTING_STATUS.md`
- `docs/11-references/CONTRACT_ADDRESSES_REFERENCE.md`
- `docs/11-references/EXPLORER_TOKEN_LIST_CROSSCHECK.md` (§5 canonical tokens)
Bundle metadata: `frontend/public/chain138-command-center.meta.json` (refresh via `scripts/refresh-chain138-command-center-meta.sh`).
+1 -1
View File
@@ -388,7 +388,7 @@ The script checks:
- HTTP 200 on `/api/v2/stats`, `/api/v2/blocks`, `/api/v2/transactions`.
- Explorer frontend at `/` returns 200.
- Chain 138 Snap companion site at `/snap/` returns 200 or 301 and contains expected content when 200.
- The static Visual Command Center at `/chain138-command-center.html` returns 200 and contains expected architecture text.
- The static Visual Command Center at `/chain138-command-center.html` (alias `/topology`) returns 200, includes Stack A PMM canon text, and `/chain138-command-center.meta.json` exposes bundle metadata.
- Mission Control endpoints return healthy responses:
- `/explorer-api/v1/mission-control/stream`
- `/explorer-api/v1/mission-control/bridge/trace`