feat(explorer): dynamic feeds, wallet SSR alignment, and detail pagination
Align wallet SSR with report token-list, dedupe featured v1 tokens, refresh home and wallet snapshots on a 60s cadence, and drive vanilla SPA chain add/watch from API metadata. Add shared pagination/tabs for address, token, and transaction pages, extend token aggregation helpers, and harden stats API with tests and health checks. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -198,6 +198,11 @@ export default function LiquidityOperationsPage({
|
||||
}),
|
||||
[bridgeStatus, stats],
|
||||
)
|
||||
const liquidityInventoryUpdatedAt =
|
||||
stats?.sampling?.stats_generated_at ||
|
||||
stats?.freshness?.chain_head?.timestamp ||
|
||||
routeMatrix?.generatedAt ||
|
||||
routeMatrix?.updated
|
||||
|
||||
const insightLines = useMemo(
|
||||
() => [
|
||||
@@ -234,6 +239,12 @@ export default function LiquidityOperationsPage({
|
||||
href: `/explorer-api/v1/mission-control/liquidity/token/${featuredTokens[0]?.address || '0x93E66202A11B1772E55407B32B44e5Cd8eda7f22'}/pools`,
|
||||
notes: 'Cached public pool inventory for a specific Chain 138 token.',
|
||||
},
|
||||
{
|
||||
name: 'External indexer readiness',
|
||||
method: 'GET',
|
||||
href: `/api/v1/report/external-indexer-readiness?chainId=138`,
|
||||
notes: 'One JSON posture for DefiLlama, CoinGecko, CoinMarketCap, and Dexscreener readiness.',
|
||||
},
|
||||
]
|
||||
|
||||
const copyEndpoint = async (endpoint: EndpointCard) => {
|
||||
@@ -321,7 +332,7 @@ export default function LiquidityOperationsPage({
|
||||
</div>
|
||||
<MarketEvidenceNote
|
||||
source="mission-control"
|
||||
lastUpdated={routeMatrix?.updated}
|
||||
lastUpdated={liquidityInventoryUpdatedAt}
|
||||
method="Route matrix, provider capabilities, and mission-control pool inventory are reconciled for visible public liquidity only."
|
||||
compact
|
||||
/>
|
||||
@@ -363,7 +374,7 @@ export default function LiquidityOperationsPage({
|
||||
</div>
|
||||
<MarketEvidenceNote
|
||||
source="mission-control"
|
||||
lastUpdated={routeMatrix?.updated}
|
||||
lastUpdated={liquidityInventoryUpdatedAt}
|
||||
method="Pool TVL is the visible mission-control value for discovered route-backed liquidity."
|
||||
compact
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user