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
8 changes: 4 additions & 4 deletions src/components/trading-apps-leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export type UnifiedAppRow = {
stableOnly: { ethereum: boolean; bsc: boolean; base: boolean };
};

type TabKey = "all" | "meme-bot" | "telegram-bot";
type TabKey = "all" | "trading-terminal" | "telegram-bot";
type WindowKey = "24h" | "7d" | "30d";

const TABS: { key: TabKey; label: string }[] = [
{ key: "all", label: "All" },
{ key: "meme-bot", label: "Meme Bots" },
{ key: "trading-terminal", label: "Trading Terminals" },
{ key: "telegram-bot", label: "Telegram Bots" },
];

Expand All @@ -36,12 +36,12 @@ const WINDOWS: { key: WindowKey; label: string }[] = [
];

const CATEGORY_BADGE: Record<AppMeta["category"], string> = {
"meme-bot": "bg-orange-500/10 text-orange-400 border border-orange-500/20",
"trading-terminal": "bg-orange-500/10 text-orange-400 border border-orange-500/20",
"telegram-bot": "bg-blue-500/10 text-blue-400 border border-blue-500/20",
};

const CATEGORY_LABEL: Record<AppMeta["category"], string> = {
"meme-bot": "Meme Bot",
"trading-terminal": "Trading Terminal",
"telegram-bot": "Telegram Bot",
};

Expand Down
10 changes: 5 additions & 5 deletions src/lib/trading-apps-config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type AppMeta = {
id: string;
name: string;
category: "meme-bot" | "telegram-bot";
category: "trading-terminal" | "telegram-bot";
logoKey: string | null;
productUrl: string;
benchUrl: string | null;
Expand All @@ -10,10 +10,10 @@ export type AppMeta = {
};

export const TRADING_APPS: AppMeta[] = [
{ id: "pump.fun", name: "pump.fun", category: "meme-bot", logoKey: "pump-fun", productUrl: "https://pump.fun", benchUrl: "/benchmarks/trading-app-execution", evmKey: "pumpfun", solanaKey: "pump.fun" },
{ id: "fomo", name: "FOMO", category: "meme-bot", logoKey: "fomo", productUrl: "https://fomo.fund", benchUrl: "/benchmarks/trading-app-execution", evmKey: null, solanaKey: "fomo" },
{ id: "bullx", name: "BullX", category: "meme-bot", logoKey: "bullx", productUrl: "https://bullx.io", benchUrl: "/benchmarks/trading-app-execution", evmKey: null, solanaKey: "bullx" },
{ id: "photon", name: "Photon", category: "meme-bot", logoKey: "photon", productUrl: "https://photon-sol.tinyastro.io", benchUrl: "/benchmarks/trading-app-execution", evmKey: null, solanaKey: "photon" },
{ 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: "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" },
{ id: "maestro", name: "Maestro", category: "telegram-bot", logoKey: "maestro", productUrl: "https://maestro.bots.gg", benchUrl: "/benchmarks/trading-app-execution", evmKey: "maestro", solanaKey: "maestro" },
Expand Down
Loading