import btc from './btc.svg'
import eth from './eth.svg'
import sol from './sol.svg'
import trx from './trx.svg'
import bnb from './bnb.svg'
import arb from './arb.svg'
import bonk from './bonk.svg'
import busd from './busd.svg'
import dai from './dai.svg'
import doge from './doge.svg'
import jup from './jup.svg'
import link from './link.svg'
import orca from './orca.svg'
import popcat from './popcat.svg'
import pyth from './pyth.svg'
import ray from './ray.svg'
import uni from './uni.svg'
import usdc from './usdc.svg'
import usdt from './usdt.svg'
import w from './w.svg'
import wif from './wif.svg'

export const COIN_ICONS: Record<string, string> = {
  BTC: btc,
  ETH: eth,
  SOL: sol,
  TRX: trx,
  BNB: bnb,
  ARB: arb,
  BONK: bonk,
  BUSD: busd,
  DAI: dai,
  DOGE: doge,
  JUP: jup,
  LINK: link,
  ORCA: orca,
  POPCAT: popcat,
  PYTH: pyth,
  RAY: ray,
  UNI: uni,
  USDC: usdc,
  USDT: usdt,
  W: w,
  WIF: wif,
}

export function getCoinIcon(ticker: string): string | undefined {
  return COIN_ICONS[ticker.toUpperCase()]
}
