Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions harnesses/solana-exec/internal/platform/platforms.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@ package platform
// paginates each independently and aggregates before sampling.
// Sources: DefiLlama dimension-adapters, verified 2026-08.
var FeeAccounts = map[string][]string{
// 8 bonding-curve fee recipients (round-robin) + Mayhem wallet.
// Sources: DeFiLlama fees/pumpdotfun adapter (master, 2026-08).
"pump.fun": {
"CebN5WGQ4jvEPvsVU4EoHEpgzq1VV7AbicfhtW4xC9iM",
"62qc2CNXwrYqQScmEdiZFFAnJR262PxWEuNQtxfafNgV",
"FWsW1xNtWscwNmKv6wVsU1iTzRN6wmmk3MjxRP5tT7hz",
"7hTckgnGnLQR6sdH7YkqFTAA7VwTfYFaZ6EhEsU3saCX",
"AVmoTthdrX6tKt4nDjco2D775W2YK3sDhxPcMmzUAmTY",
"9rPYyANsfQZw3DnDmKE3YCQF5E8oD89UXoHn9JFEhJUz",
"G5UZAVbAf46s7cKWoyKu8kYTip9DGTpbLZ2qa9Aq69dP",
"7VtfL8fvgNfhz17qKRMjzQEXgbdpnHHHQRh54R9jP2RJ",
"GesfTA3X2arioaHp8bbKdjG9vJtskViWACZoYvxp4twS", // Mayhem mode
},
"photon": {
"AVUCZyuT35YSuj4RH7fwiyPu82Djn2Hfg7y2ND2XcnZH",
Expand Down
15 changes: 11 additions & 4 deletions src/components/trading-apps-leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,11 @@ export function TradingAppsLeaderboard({
const [window, setWindow] = useState<WindowKey>("24h");

const filtered = tab === "all" ? rows : rows.filter((r) => r.meta.category === tab);
const sorted = [...filtered].sort(
(a, b) => (b.windows[window]?.total ?? 0) - (a.windows[window]?.total ?? 0)
);
const sorted = [...filtered].sort((a, b) => {
if (a.meta.inactive && !b.meta.inactive) return 1;
if (!a.meta.inactive && b.meta.inactive) return -1;
return (b.windows[window]?.total ?? 0) - (a.windows[window]?.total ?? 0);
});

const hasStableOnly = sorted.some(
(r) => r.stableOnly.ethereum || r.stableOnly.bsc || r.stableOnly.base
Expand Down Expand Up @@ -173,7 +175,7 @@ export function TradingAppsLeaderboard({
return (
<tr
key={meta.id}
className="border-b border-rule last:border-0 hover:bg-paper-soft transition-colors"
className={`border-b border-rule last:border-0 hover:bg-paper-soft transition-colors ${meta.inactive ? "opacity-50" : ""}`}
>
<td className="py-4 pl-4 sm:pl-6 pr-3 text-ink-muted font-mono text-xs tabular-nums align-middle">
{i + 1}
Expand All @@ -196,6 +198,11 @@ export function TradingAppsLeaderboard({
)}
<span className="font-medium text-ink">{meta.name}</span>
</Link>
{meta.inactive && (
<span className="inline-flex px-1.5 py-0.5 rounded text-[10px] font-medium bg-red-500/10 text-red-400 border border-red-500/20 shrink-0" title={`Trading suspended since ${meta.inactiveSince}`}>
Suspended
</span>
)}
{meta.benchUrl && (
<a
href={meta.productUrl}
Expand Down
4 changes: 3 additions & 1 deletion src/lib/trading-apps-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ export type AppMeta = {
benchUrl: string | null;
evmKey: string | null;
solanaKey: string | null;
inactive?: boolean;
inactiveSince?: string;
};

export const TRADING_APPS: AppMeta[] = [
{ id: "pump.fun", name: "pump.fun", category: "trading-terminal", logoKey: "pump-fun", productUrl: "https://pump.fun", benchUrl: "/benchmarks/trading-app-execution", evmKey: "pumpfun", solanaKey: "pump.fun" },
{ id: "fomo", name: "FOMO", category: "trading-terminal", logoKey: "fomo", productUrl: "https://fomo.fund", benchUrl: "/benchmarks/trading-app-execution", evmKey: null, solanaKey: "fomo" },
{ id: "bullx", name: "BullX", category: "trading-terminal", logoKey: "bullx", productUrl: "https://bullx.io", benchUrl: "/benchmarks/trading-app-execution", evmKey: null, solanaKey: "bullx" },
{ id: "bullx", name: "BullX", category: "trading-terminal", logoKey: "bullx", productUrl: "https://bullx.io", benchUrl: "/benchmarks/trading-app-execution", evmKey: null, solanaKey: "bullx", inactive: true, inactiveSince: "2026-06-01" },
{ id: "photon", name: "Photon", category: "trading-terminal", logoKey: "photon", productUrl: "https://photon-sol.tinyastro.io", benchUrl: "/benchmarks/trading-app-execution", evmKey: null, solanaKey: "photon" },
{ id: "gmgn", name: "GMGN", category: "telegram-bot", logoKey: "gmgn", productUrl: "https://gmgn.ai", benchUrl: "/benchmarks/trading-app-execution", evmKey: "gmgn", solanaKey: "gmgn" },
{ id: "axiom", name: "Axiom", category: "telegram-bot", logoKey: "axiom", productUrl: "https://axiom.trade", benchUrl: "/benchmarks/trading-app-execution", evmKey: "axiom", solanaKey: "axiom" },
Expand Down
Loading