feat: explorer API, wallet, CCIP scripts, and config refresh
- Backend REST/gateway/track routes, analytics, Blockscout proxy paths. - Frontend wallet and liquidity surfaces; MetaMask token list alignment. - Deployment docs, verification scripts, address inventory updates. Check: go build ./... under backend/ (pass). Made-with: Cursor
This commit is contained in:
307
frontend/src/data/explorerOperations.ts
Normal file
307
frontend/src/data/explorerOperations.ts
Normal file
@@ -0,0 +1,307 @@
|
||||
export interface ExplorerFeatureAction {
|
||||
title: string
|
||||
description: string
|
||||
href: string
|
||||
label: string
|
||||
external?: boolean
|
||||
}
|
||||
|
||||
export interface ExplorerFeaturePage {
|
||||
eyebrow: string
|
||||
title: string
|
||||
description: string
|
||||
note?: string
|
||||
actions: ExplorerFeatureAction[]
|
||||
}
|
||||
|
||||
const legacyNote =
|
||||
'These tools were restored in the legacy explorer asset first. The live Next explorer now exposes them here so they are reachable from the public UI without falling back to hidden static routes.'
|
||||
|
||||
export const explorerFeaturePages = {
|
||||
bridge: {
|
||||
eyebrow: 'Bridge Monitoring',
|
||||
title: 'Bridge & Relay Monitoring',
|
||||
description:
|
||||
'Inspect the CCIP relay status, follow the live mission-control stream, trace bridge transactions, and review the managed Mainnet, BSC, Avalanche, Avalanche cW, and Avalanche to Chain 138 lanes.',
|
||||
note: legacyNote,
|
||||
actions: [
|
||||
{
|
||||
title: 'Mission-control live stream',
|
||||
description: 'Open the server-sent event stream that powers live relay and RPC monitoring.',
|
||||
href: '/explorer-api/v1/mission-control/stream',
|
||||
label: 'Open SSE stream',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Bridge status snapshot',
|
||||
description: 'Review the current relay health payload, queue posture, and destination summary.',
|
||||
href: '/explorer-api/v1/track1/bridge/status',
|
||||
label: 'Open status JSON',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Reverse AVAX lane',
|
||||
description: 'Check the managed Avalanche cW burn-back lane to Chain 138 that now runs as its own relay service.',
|
||||
href: '/explorer-api/v1/track1/bridge/status',
|
||||
label: 'Review AVAX -> 138 lane',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Bridge trace API',
|
||||
description: 'Resolve source and destination addresses for a bridge transaction through mission control.',
|
||||
href: '/explorer-api/v1/mission-control/bridge/trace?tx=0x2f31d4f9a97be754b800f4af1a9eedf3b107d353bfa1a19e81417497a76c05c2',
|
||||
label: 'Open trace example',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Visual command center',
|
||||
description: 'Open the interactive topology map for Chain 138, CCIP, Alltra, and adjacent integrations.',
|
||||
href: '/chain138-command-center.html',
|
||||
label: 'Open command center',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Routes & liquidity',
|
||||
description: 'Move from bridge health into route coverage, pools, and execution access points.',
|
||||
href: '/routes',
|
||||
label: 'Open routes page',
|
||||
},
|
||||
],
|
||||
},
|
||||
routes: {
|
||||
eyebrow: 'Route Coverage',
|
||||
title: 'Routes, Pools, and Execution Access',
|
||||
description:
|
||||
'Surface the route matrix, live pool inventory, public liquidity endpoints, and bridge-adjacent execution paths that were previously only visible in the legacy explorer shell.',
|
||||
note: legacyNote,
|
||||
actions: [
|
||||
{
|
||||
title: 'Liquidity access',
|
||||
description: 'Review the public Chain 138 PMM access points, route helpers, and fallback execution endpoints.',
|
||||
href: '/liquidity',
|
||||
label: 'Open liquidity access',
|
||||
},
|
||||
{
|
||||
title: 'Pools inventory',
|
||||
description: 'Jump to the pool overview page for quick PMM route and asset discovery.',
|
||||
href: '/pools',
|
||||
label: 'Open pools page',
|
||||
},
|
||||
{
|
||||
title: 'Liquidity mission-control example',
|
||||
description: 'Open a live mission-control liquidity lookup for a canonical Chain 138 token.',
|
||||
href: '/explorer-api/v1/mission-control/liquidity/token/0x93E66202A11B1772E55407B32B44e5Cd8eda7f22/pools',
|
||||
label: 'Open liquidity JSON',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Bridge monitoring',
|
||||
description: 'Cross-check route availability with live relay and bridge health before operator actions.',
|
||||
href: '/bridge',
|
||||
label: 'Open bridge monitoring',
|
||||
},
|
||||
{
|
||||
title: 'Operations hub',
|
||||
description: 'Open the consolidated page for WETH utilities, analytics, operator shortcuts, and system views.',
|
||||
href: '/more',
|
||||
label: 'Open operations hub',
|
||||
},
|
||||
],
|
||||
},
|
||||
weth: {
|
||||
eyebrow: 'WETH Utilities',
|
||||
title: 'WETH Utilities & Bridge References',
|
||||
description:
|
||||
'Reach the WETH-focused tooling that operators use during support and bridge investigation without depending on the hidden legacy explorer navigation.',
|
||||
note: legacyNote,
|
||||
actions: [
|
||||
{
|
||||
title: 'Bridge monitoring',
|
||||
description: 'Start with relay and bridge health before reviewing WETH-specific flows.',
|
||||
href: '/bridge',
|
||||
label: 'Open bridge monitoring',
|
||||
},
|
||||
{
|
||||
title: 'Visual command center',
|
||||
description: 'Use the interactive topology map for contract placement, hub flow, and system context.',
|
||||
href: '/chain138-command-center.html',
|
||||
label: 'Open command center',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Wallet tools',
|
||||
description: 'Open the wallet page if you need supported network and token setup before testing flows.',
|
||||
href: '/wallet',
|
||||
label: 'Open wallet tools',
|
||||
},
|
||||
{
|
||||
title: 'Operations hub',
|
||||
description: 'Return to the larger operations landing page for adjacent route, analytics, and system shortcuts.',
|
||||
href: '/more',
|
||||
label: 'Open operations hub',
|
||||
},
|
||||
],
|
||||
},
|
||||
analytics: {
|
||||
eyebrow: 'Analytics Access',
|
||||
title: 'Analytics & Network Activity',
|
||||
description:
|
||||
'Use the public explorer pages and live monitoring endpoints as the visible analytics surface for chain activity, recent blocks, and transaction flow.',
|
||||
note: legacyNote,
|
||||
actions: [
|
||||
{
|
||||
title: 'Blocks',
|
||||
description: 'Inspect recent block production, timestamps, and miner attribution.',
|
||||
href: '/blocks',
|
||||
label: 'Open blocks',
|
||||
},
|
||||
{
|
||||
title: 'Transactions',
|
||||
description: 'Review recent transactions, status, and linked address flow.',
|
||||
href: '/transactions',
|
||||
label: 'Open transactions',
|
||||
},
|
||||
{
|
||||
title: 'Addresses',
|
||||
description: 'Browse saved and active addresses as part of the explorer activity surface.',
|
||||
href: '/addresses',
|
||||
label: 'Open addresses',
|
||||
},
|
||||
{
|
||||
title: 'Mission-control stream',
|
||||
description: 'Supplement the explorer pages with the live relay and RPC event feed.',
|
||||
href: '/explorer-api/v1/mission-control/stream',
|
||||
label: 'Open SSE stream',
|
||||
external: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
operator: {
|
||||
eyebrow: 'Operator Shortcuts',
|
||||
title: 'Operator Panel Shortcuts',
|
||||
description:
|
||||
'Expose the public operational shortcuts that were restored in the legacy explorer for bridge checks, route validation, liquidity entry points, and documentation.',
|
||||
note: legacyNote,
|
||||
actions: [
|
||||
{
|
||||
title: 'Bridge monitoring',
|
||||
description: 'Open relay status, queue posture, and bridge trace tools.',
|
||||
href: '/bridge',
|
||||
label: 'Open bridge monitoring',
|
||||
},
|
||||
{
|
||||
title: 'Routes',
|
||||
description: 'Inspect route coverage and liquidity path access before operator intervention.',
|
||||
href: '/routes',
|
||||
label: 'Open routes page',
|
||||
},
|
||||
{
|
||||
title: 'Liquidity access',
|
||||
description: 'Open partner payload helpers, route APIs, and execution-plan endpoints.',
|
||||
href: '/liquidity',
|
||||
label: 'Open liquidity access',
|
||||
},
|
||||
{
|
||||
title: 'Explorer docs',
|
||||
description: 'Use the static documentation landing page for explorer-specific reference material.',
|
||||
href: '/docs.html',
|
||||
label: 'Open docs',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Visual command center',
|
||||
description: 'Open the graphical deployment and integration topology in a dedicated page.',
|
||||
href: '/chain138-command-center.html',
|
||||
label: 'Open command center',
|
||||
external: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
system: {
|
||||
eyebrow: 'System Topology',
|
||||
title: 'System & Topology',
|
||||
description:
|
||||
'Jump straight into the public topology and reference surfaces that describe how Chain 138, bridge monitoring, and adjacent systems fit together.',
|
||||
note: legacyNote,
|
||||
actions: [
|
||||
{
|
||||
title: 'Visual command center',
|
||||
description: 'Open the topology map for Chain 138, CCIP, Alltra, OP Stack, and service flows.',
|
||||
href: '/chain138-command-center.html',
|
||||
label: 'Open command center',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Bridge monitoring',
|
||||
description: 'Correlate topology context with the live bridge and relay status surface.',
|
||||
href: '/bridge',
|
||||
label: 'Open bridge monitoring',
|
||||
},
|
||||
{
|
||||
title: 'Explorer docs',
|
||||
description: 'Open the documentation landing page for static reference material shipped with the explorer.',
|
||||
href: '/docs.html',
|
||||
label: 'Open docs',
|
||||
external: true,
|
||||
},
|
||||
{
|
||||
title: 'Operations hub',
|
||||
description: 'Return to the consolidated operations landing page for adjacent public tools.',
|
||||
href: '/more',
|
||||
label: 'Open operations hub',
|
||||
},
|
||||
],
|
||||
},
|
||||
more: {
|
||||
eyebrow: 'Operations Hub',
|
||||
title: 'More Explorer Tools',
|
||||
description:
|
||||
'This hub exposes the restored public tools that were previously buried in the legacy explorer shell: bridge monitoring, routes, WETH utilities, analytics shortcuts, operator links, and topology views.',
|
||||
note: legacyNote,
|
||||
actions: [
|
||||
{
|
||||
title: 'Bridge & relay monitoring',
|
||||
description: 'Open mission-control status, SSE monitoring, and bridge trace helpers.',
|
||||
href: '/bridge',
|
||||
label: 'Open bridge monitoring',
|
||||
},
|
||||
{
|
||||
title: 'Routes & liquidity',
|
||||
description: 'Open route coverage, pools, and public liquidity access points.',
|
||||
href: '/routes',
|
||||
label: 'Open routes page',
|
||||
},
|
||||
{
|
||||
title: 'WETH utilities',
|
||||
description: 'Open the WETH-focused landing page and bridge-adjacent shortcuts.',
|
||||
href: '/weth',
|
||||
label: 'Open WETH utilities',
|
||||
},
|
||||
{
|
||||
title: 'Analytics',
|
||||
description: 'Open the public analytics landing page for blocks, transactions, and live monitoring.',
|
||||
href: '/analytics',
|
||||
label: 'Open analytics page',
|
||||
},
|
||||
{
|
||||
title: 'Operator panel shortcuts',
|
||||
description: 'Open the operator landing page for bridge, route, liquidity, and docs shortcuts.',
|
||||
href: '/operator',
|
||||
label: 'Open operator page',
|
||||
},
|
||||
{
|
||||
title: 'System topology',
|
||||
description: 'Open the system landing page for topology references and command-center access.',
|
||||
href: '/system',
|
||||
label: 'Open system page',
|
||||
},
|
||||
{
|
||||
title: 'Visual command center',
|
||||
description: 'Open the dedicated interactive topology asset in a new tab.',
|
||||
href: '/chain138-command-center.html',
|
||||
label: 'Open command center',
|
||||
external: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
} as const satisfies Record<string, ExplorerFeaturePage>
|
||||
Reference in New Issue
Block a user