import { COIN_ICONS } from '@shared/assets/coins'
import type { Chain } from '@features/wallet'

export interface Token {
  ticker: string
  name: string
  logo?: string
  color: string
  price: string
  change: number
  bal: string
  usd: string
  fav: boolean
  /** Stable unique key — tickers can repeat across chains (e.g. USDT on ETH/TRX/BSC). */
  id?: string
  /** Network this row belongs to — used to target send/receive modals and grouping. */
  chain?: Chain
  /** Numeric USD value of the holding — used for sorting and per-network subtotals. */
  usdValue?: number
}

export const TOKENS: readonly Token[] = [
  { ticker: 'BTC', name: 'Bitcoin', logo: COIN_ICONS.BTC, color: '#F7931A', price: '$66,916.00', change: 0.12, bal: '0.003295', usd: '$220.57', fav: true },
  { ticker: 'ETH', name: 'Ethereum', logo: COIN_ICONS.ETH, color: '#627EEA', price: '$2,053.97', change: -0.12, bal: '0.07636', usd: '$156.51', fav: false },
  { ticker: 'SOL', name: 'Solana', logo: COIN_ICONS.SOL, color: '#9945FF', price: '$163.84', change: -1.57, bal: '0.07636', usd: '$156.51', fav: false },
  { ticker: 'TRX', name: 'Tron', logo: COIN_ICONS.TRX, color: '#FF060A', price: '$0.1197', change: 1.33, bal: '0.07636', usd: '$156.51', fav: false },
  { ticker: 'BNB', name: 'BNB', logo: COIN_ICONS.BNB, color: '#F3BA2F', price: '$0.00', change: 0, bal: '0.00000', usd: '$0.00', fav: false },
] as const
