Skip to content

feat: rebuild bench 204 — YAML-driven, exec /metrics, clean ExecBenchTable - #1918

Closed
Flotapponnier wants to merge 223 commits into
mainfrom
dev
Closed

feat: rebuild bench 204 — YAML-driven, exec /metrics, clean ExecBenchTable#1918
Flotapponnier wants to merge 223 commits into
mainfrom
dev

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Bench 204 (trading-app-execution) rebuilt: YAML-driven metadata, FAQ/methodology/findings read from YAML at render time
  • New /metrics Prometheus endpoint on exec API — 6 gauges per platform (jito rate, CU price p50/p95, priority fee, platform fee, tx count)
  • ExecBenchTable replaces ExecChainTabs + SolanaExecTable — 24h/7d/30d window tabs, 8-column table sorted by tx count
  • Prometheus scrape job added (solana-execocb-solana-exec-api:2116)
  • apps/page.tsx cleaned up (EVM-only revenue section, exec table moved to dedicated bench page)

Test plan

  • /benchmarks/trading-app-execution loads with 24h/7d/30d tabs
  • FAQ/methodology render from YAML (no hardcoded strings)
  • /apps still shows revenue leaderboard + link to execution bench

…tachain, haqq, etherlink, chiliz, wemix, songbird, etc-classic, telos, pulsechain, warden, oraichain, peaq)
* fix: remove dead providers (BlastAPI shutdown, Ankr key-gated, dRPC/1RPC not supported)

* feat: add wave 7 chains to /chains hub (fantom, kusama, hydration, zetachain, haqq, etherlink, chiliz, wemix, songbird, etc-classic, telos, pulsechain, warden, oraichain, peaq)
fix: remove drift/variational from perp venue meta
fix: answers product links + bridge in footer
fix: drop dead RPC providers + add wave 7 chain pages
* feat: add /apps leaderboard foundation — specs, Go harness, Postgres schema, alerting

* fix: interface ctx type, float-free toMicroUSDC, goroutine error capture, pagination cursor
feat: /apps leaderboard foundation + dYdX collector
feat: Hyperliquid collector (DeFiLlama, 590 days, .47B)
feat: /apps leaderboard page (Hyperliquid $45M/30d, dYdX)
…1801)

* feat(apps): switch HL collector to node fills, add hl-fills-agg

Replace DeFiLlama proxy with first-party Hyperliquid node fills.
- Reads fee/builderFee from node_fills_by_block on SGP (15.235.224.14)
- hl-fills-agg.py aggregates daily totals, runs as pm2 on SGP:2116
- net_usdc = gross - builder = amount flowing to AF + HLP + deployers
- Fills archive starts 2026-06-01, backfill runs automatically

* feat(apps): add GMX v2 collector (Arbitrum + Avalanche) via Subsquid

First-party data from GMX-operated Subsquid GraphQL endpoint.
Position fees (63% LP / 37% protocol) + swap fees split per governance.
Borrowing fees classified as LP revenue (pool-only, no protocol cut).
Amounts in GMX internal 1e30 precision, stored with Decimals=30.
* feat(apps): add Phantom, formFactor, DL market share + change_1d

* fix: remove em dashes from memecoin-platforms and trading-app-execution YAMLs (Zod rejection)

* feat(apps): Bloom/MevX/Moonshot, dailyRevenue, extreme-move guards, venue footnote
* fix: remove all em-dashes from bench 204 YAML (Zod rejection)

* fix: em-dashes in bench 203 YAML + bench 204 page.tsx
* fix: remove all em-dashes from bench 204 YAML (Zod rejection)

* fix: em-dashes in bench 203 YAML + bench 204 page.tsx

* fix: drop PumpSwap from bench 205, keep terminals + pump.fun launchpad
…s24h (#1900)

* feat: add pump.fun to bench 201 via byLaunchpad cross-publish

* feat: bench 206 avg swap size + platformTrades24h gauge
* feat: add pump.fun to bench 201 via byLaunchpad cross-publish

* feat: bench 206 avg swap size + platformTrades24h gauge

* feat: add bench 207 unique daily traders by Solana platform via Dune
* feat: add pump.fun to bench 201 via byLaunchpad cross-publish

* feat: bench 206 avg swap size + platformTrades24h gauge

* feat: add bench 207 unique daily traders by Solana platform via Dune

* fix: use DeFiLlama fees for Fomo in bench 201 (Mobula was 9x understated)
…ees, FAQ)

* fix: bench 201 FAQ attribution contradiction + wrong source URL

* fix: add phantom logoKey

* fix: bench 201 remove hardcoded numbers, clarify PumpSwap scope, Fomo fees source, expand FAQ
* fix: remove marketing metric from Invo methodology bullet

* fix: bench 202 editorial pass (dates, methodology, FAQ accuracy)
* fix: bench 203 pump.fun FAQ reflects 0% fee since Aug 7 2026

* fix: bench 203 editorial pass (overclaims, apply-equally, unattributed limitation)
* fix: bench 203 pump.fun FAQ reflects 0% fee since Aug 7 2026

* fix: bench 203 editorial pass (overclaims, apply-equally, unattributed limitation)

* fix: bench 203 unattributed trades no longer assigned to pump-fun bucket
…1913)

* fix: bench 203 pump.fun attribution via poolAddress/bondingCurveAddress instead of empty platform tag

* fix: bench 203 pump.fun attribution via poolType (pumpfun/pumpswap)

* fix: bench 203 YAML methodology + pump.fun FAQ updated for poolType attribution
…es (#1914)

* fix: bench 203 pump.fun attribution via poolAddress/bondingCurveAddress instead of empty platform tag

* fix: bench 203 pump.fun attribution via poolType (pumpfun/pumpswap)

* fix: bench 203 YAML methodology + pump.fun FAQ updated for poolType attribution

* fix: loosen bench 201 seo_intro volume ranges (GMGN >100M not 80-100M)
…hodology corrections

* fix(204): PLATFORM_DISPLAY missing 5 platforms, findings outdated, FAQ drift

* fix: bench 203 - add data_freshness lag detector, fix pump-fun/Trojan methodology, rewrite YAML for new harness

* feat: bench 203 - add fee-paying volume metric via dex_solana.trades tx join

Implements the self-consistent denominator from the methodology review:
- Dune SQL: add fee_tx_ids + fee_paying_vol CTEs joining fee wallet inflows
  to dex_solana.trades on tx_id, taking MAX(amount_usd) per tx to avoid
  double-counting multi-hop swaps
- New metrics: fee_paying_rate_pct, coverage_pct, fee_paying_volume_usd_24h
- updateQuery() syncs feesSQL to Dune on startup; handles 404 no-execution
  gracefully without dropping health to 0
- YAML: two-metric methodology documented, findings updated with live values

* fix: bench 203 YAML lint - trim disclaimer, strip em dashes
…work (#1917)

* fix(204): PLATFORM_DISPLAY missing 5 platforms, findings outdated, FAQ drift

* fix: bench 203 - add data_freshness lag detector, fix pump-fun/Trojan methodology, rewrite YAML for new harness

* feat: bench 203 - add fee-paying volume metric via dex_solana.trades tx join

Implements the self-consistent denominator from the methodology review:
- Dune SQL: add fee_tx_ids + fee_paying_vol CTEs joining fee wallet inflows
  to dex_solana.trades on tx_id, taking MAX(amount_usd) per tx to avoid
  double-counting multi-hop swaps
- New metrics: fee_paying_rate_pct, coverage_pct, fee_paying_volume_usd_24h
- updateQuery() syncs feesSQL to Dune on startup; handles 404 no-execution
  gracefully without dropping health to 0
- YAML: two-metric methodology documented, findings updated with live values

* fix: bench 203 YAML lint - trim disclaimer, strip em dashes

* fix(207): rewrite Dune SQL - use dex_solana.trades for unique traders

Remove account_index approach (column unavailable), use fee wallet tx_ids
joined to dex_solana.trades.taker for unique daily trader count.
Remove pump_fun_solana.trades (Spellbook, premium-only).

* fix(207): simplify Dune SQL to COUNT(DISTINCT tx_id) per fee wallet

Remove complex joins (account_index unavailable, dex_solana.trades.taker
unverified). Use direct COUNT(DISTINCT tx_id) from solana.account_activity
— same proven pattern as bench 203. Counts unique fee-touching txs per
platform as proxy for daily active traders.

* fix(207): update YAML disclaimer to reflect tx-based proxy metric
@Flotapponnier

Copy link
Copy Markdown
Collaborator Author

Replaced by merge/dev-to-main PR due to conflicts

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.

1 participant