23 lines
516 B
TypeScript
23 lines
516 B
TypeScript
import type { MarketChartRange } from "@/lib/market";
|
|
|
|
export const DEFAULT_FROM = "USD";
|
|
export const DEFAULT_TO = "BTC";
|
|
export const QUICK_AMOUNTS = [10, 50, 100, 500, 1000] as const;
|
|
export const DEFAULT_MULTI_CONVERSION_CODES = [
|
|
"USD",
|
|
"EUR",
|
|
"BTC",
|
|
"ETH",
|
|
"SOL",
|
|
] as const;
|
|
export const MAX_MULTI_CONVERSIONS = 4;
|
|
export const MAX_PINNED_PAIRS = 6;
|
|
|
|
export const MARKET_RANGE_LABELS: Record<MarketChartRange, string> = {
|
|
"24h": "24h",
|
|
"7d": "7d",
|
|
"30d": "30d",
|
|
"1y": "1y",
|
|
all: "all",
|
|
};
|