From 554060b3c5e2030f2012aca0790d20a2f1cecd89 Mon Sep 17 00:00:00 2001 From: DR497 <47689875+dr497@users.noreply.github.com> Date: Thu, 12 Nov 2020 14:19:42 +0800 Subject: [PATCH] explorer: Add additional tokens and icons to registry (#13544) * Add NFTs to the explorer * Add missing tokens --- explorer/public/tokens/bitcoin.svg | 1 + explorer/public/tokens/cream.svg | 1 + explorer/public/tokens/ethereum.svg | 1 + explorer/public/tokens/ftt.svg | 1 + explorer/public/tokens/link.svg | 1 + explorer/public/tokens/sxp.svg | 1 + explorer/public/tokens/usdt.svg | 1 + explorer/public/tokens/xrp.svg | 1 + explorer/public/tokens/yfi.svg | 1 + explorer/src/tokenRegistry.ts | 138 ++++++++++++++++++++++++++++ 10 files changed, 147 insertions(+) create mode 100644 explorer/public/tokens/bitcoin.svg create mode 100644 explorer/public/tokens/cream.svg create mode 100644 explorer/public/tokens/ethereum.svg create mode 100644 explorer/public/tokens/ftt.svg create mode 100644 explorer/public/tokens/link.svg create mode 100644 explorer/public/tokens/sxp.svg create mode 100644 explorer/public/tokens/usdt.svg create mode 100644 explorer/public/tokens/xrp.svg create mode 100644 explorer/public/tokens/yfi.svg diff --git a/explorer/public/tokens/bitcoin.svg b/explorer/public/tokens/bitcoin.svg new file mode 100644 index 000000000..87220006e --- /dev/null +++ b/explorer/public/tokens/bitcoin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/explorer/public/tokens/cream.svg b/explorer/public/tokens/cream.svg new file mode 100644 index 000000000..e79bf99fd --- /dev/null +++ b/explorer/public/tokens/cream.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/explorer/public/tokens/ethereum.svg b/explorer/public/tokens/ethereum.svg new file mode 100644 index 000000000..5a33ab1e6 --- /dev/null +++ b/explorer/public/tokens/ethereum.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/explorer/public/tokens/ftt.svg b/explorer/public/tokens/ftt.svg new file mode 100644 index 000000000..32798f767 --- /dev/null +++ b/explorer/public/tokens/ftt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/explorer/public/tokens/link.svg b/explorer/public/tokens/link.svg new file mode 100644 index 000000000..d9bdd83fc --- /dev/null +++ b/explorer/public/tokens/link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/explorer/public/tokens/sxp.svg b/explorer/public/tokens/sxp.svg new file mode 100644 index 000000000..4c858ace6 --- /dev/null +++ b/explorer/public/tokens/sxp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/explorer/public/tokens/usdt.svg b/explorer/public/tokens/usdt.svg new file mode 100644 index 000000000..e53082240 --- /dev/null +++ b/explorer/public/tokens/usdt.svg @@ -0,0 +1 @@ +tether-usdt-logo \ No newline at end of file diff --git a/explorer/public/tokens/xrp.svg b/explorer/public/tokens/xrp.svg new file mode 100644 index 000000000..bd1cd0029 --- /dev/null +++ b/explorer/public/tokens/xrp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/explorer/public/tokens/yfi.svg b/explorer/public/tokens/yfi.svg new file mode 100644 index 000000000..937883ab6 --- /dev/null +++ b/explorer/public/tokens/yfi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/explorer/src/tokenRegistry.ts b/explorer/src/tokenRegistry.ts index 1666d0fc6..17f30775d 100644 --- a/explorer/src/tokenRegistry.ts +++ b/explorer/src/tokenRegistry.ts @@ -54,30 +54,44 @@ const MAINNET_TOKENS: { [key: string]: TokenDetails } = { "9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E": { symbol: "BTC", name: "Wrapped Bitcoin", + logo: "/tokens/bitcoin.svg", + icon: "/tokens/bitcoin.svg", }, "2FPyTwcZLUg1MDrwsyoP4D6s1tM7hAkHYRjkNb5w6Pxk": { symbol: "ETH", name: "Wrapped Ethereum", + logo: "/tokens/ethereum.svg", + icon: "/tokens/ethereum.svg", }, AGFEad2et2ZJif9jaGpdMixQqvW5i81aBdvKe7PHNfz3: { symbol: "FTT", name: "Wrapped FTT", + logo: "/tokens/ftt.svg", + icon: "/tokens/ftt.svg", }, "3JSf5tPeuscJGtaCp5giEiDhv51gQ4v3zWg8DGgyLfAB": { symbol: "YFI", name: "Wrapped YFI", + logo: "/tokens/yfi.svg", + icon: "/tokens/yfi.svg", }, CWE8jPTUYhdCTZYWPTe1o5DFqfdjzWKc9WKz6rSjQUdG: { symbol: "LINK", name: "Wrapped Chainlink", + logo: "/tokens/link.svg", + icon: "/tokens/link.svg", }, Ga2AXHpfAF6mv2ekZwcsJFqu7wB4NV331qNH7fW9Nst8: { symbol: "XRP", name: "Wrapped XRP", + logo: "/tokens/xrp.svg", + icon: "/tokens/xrp.svg", }, BQcdHdAQW1hczDbBi9hiegXAR7A98Q9jx3X3iBBBDiq4: { symbol: "USDT", name: "Wrapped USDT", + logo: "/tokens/usdt.svg", + icon: "/tokens/usdt.svg", }, BXXkv6z8ykpG1yuvUDPgh732wzVHB69RnB9YgSYh3itW: { symbol: "USDC", @@ -90,6 +104,8 @@ const MAINNET_TOKENS: { [key: string]: TokenDetails } = { SF3oTvfWzEP3DTwGSvUXRrGTvr75pdZNnBLAH9bzMuX: { symbol: "SXP", name: "Wrapped Swipe", + logo: "/tokens/sxp.svg", + icon: "/tokens/sxp.svg", }, BtZQfWqDGbk9Wf2rXEiWyQBdBY1etnUUn6zEphvVS7yN: { symbol: "HGET", @@ -106,6 +122,8 @@ const MAINNET_TOKENS: { [key: string]: TokenDetails } = { "5Fu5UUgbjpUvdBveb3a1JTNirL8rXtiYeSMWvKjtUNQv": { symbol: "CREAM", name: "Wrapped Cream Finance", + logo: "/tokens/cream.svg", + icon: "/tokens/cream.svg", }, HqB7uswoVg4suaQiDP3wjxob1G5WdZ144zhdStwMCq7e: { symbol: "HNT", @@ -115,4 +133,124 @@ const MAINNET_TOKENS: { [key: string]: TokenDetails } = { symbol: "SUSHI", name: "Wrapped Sushi", }, + AcstFzGGawvvdVhYV9bftr7fmBHbePUjhv53YK1W3dZo: { + symbol: "LSD", + name: "LSD", + website: "https://solible.com", + }, + "91fSFQsPzMLat9DHwLdQacW3i3EGnWds5tA5mt7yLiT9": { + symbol: "Unlimited Energy", + name: "Unlimited Energy", + website: "https://solible.com", + }, + "29PEpZeuqWf9tS2gwCjpeXNdXLkaZSMR2s1ibkvGsfnP": { + symbol: "Need for Speed", + name: "Need for Speed", + website: "https://solible.com", + }, + HsY8PNar8VExU335ZRYzg89fX7qa4upYu6vPMPFyCDdK: { + symbol: "ADOR OPENS", + name: "ADOR OPENS", + website: "https://solible.com", + }, + EDP8TpLJ77M3KiDgFkZW4v4mhmKJHZi9gehYXenfFZuL: { + symbol: "CMS - Rare", + name: "CMS - Rare", + website: "https://solible.com", + }, + BrUKFwAABkExb1xzYU4NkRWzjBihVQdZ3PBz4m5S8if3: { + symbol: "Tesla", + name: "Tesla", + website: "https://solible.com", + }, + "9CmQwpvVXRyixjiE3LrbSyyopPZohNDN1RZiTk8rnXsQ": { + symbol: "DeceFi", + name: "DeceFi", + website: "https://solible.com", + }, + F6ST1wWkx2PeH45sKmRxo1boyuzzWCfpnvyKL4BGeLxF: { + symbol: "Power User", + name: "Power User", + website: "https://solible.com", + }, + dZytJ7iPDcCu9mKe3srL7bpUeaR3zzkcVqbtqsmxtXZ: { + symbol: "VIP Member", + name: "VIP Member", + website: "https://solible.com", + }, + "8T4vXgwZUWwsbCDiptHFHjdfexvLG9UP8oy1psJWEQdS": { + symbol: "Uni Christmas", + name: "Uni Christmas", + website: "https://solible.com", + }, + EjFGGJSyp9UDS8aqafET5LX49nsG326MeNezYzpiwgpQ: { + symbol: "BNB", + name: "BNB", + website: "https://solible.com", + }, + FkmkTr4en8CXkfo9jAwEMov6PVNLpYMzWr3Udqf9so8Z: { + symbol: "Seldom", + name: "Seldom", + website: "https://solible.com", + }, + "2gn1PJdMAU92SU5inLSp4Xp16ZC5iLF6ScEi7UBvp8ZD": { + symbol: "Satoshi Closeup", + name: "Satoshi Closeup", + website: "https://solible.com", + }, + "7mhZHtPL4GFkquQR4Y6h34Q8hNkQvGc1FaNtyE43NvUR": { + symbol: "Satoshi GB", + name: "Satoshi GB", + website: "https://solible.com", + }, + "8RoKfLx5RCscbtVh8kYb81TF7ngFJ38RPomXtUREKsT2": { + symbol: "Satoshi OG", + name: "Satoshi OG", + website: "https://solible.com", + }, + "9rw5hyDngBQ3yDsCRHqgzGHERpU2zaLh1BXBUjree48J": { + symbol: "Satoshi BTC", + name: "Satoshi BTC", + website: "https://solible.com", + }, + AiD7J6D5Hny5DJB1MrYBc2ePQqy2Yh4NoxWwYfR7PzxH: { + symbol: "Satoshi GB", + name: "Satoshi GB", + website: "https://solible.com", + }, + bxiA13fpU1utDmYuUvxvyMT8odew5FEm96MRv7ij3eb: { + symbol: "Satoshi", + name: "Satoshi", + website: "https://solible.com", + }, + GoC24kpj6TkvjzspXrjSJC2CVb5zMWhLyRcHJh9yKjRF: { + symbol: "Satoshi Closeup", + name: "Satoshi Closeup", + website: "https://solible.com", + }, + oCUduD44ETuZ65bpWdPzPDSnAdreg1sJrugfwyFZVHV: { + symbol: "Satoshi BTC", + name: "Satoshi BTC", + website: "https://solible.com", + }, + "9Vvre2DxBB9onibwYDHeMsY1cj6BDKtEDccBPWRN215E": { + symbol: "Satoshi Nakamoto", + name: "Satoshi Nakamoto", + website: "https://solible.com", + }, + "7RpFk44cMTAUt9CcjEMWnZMypE9bYQsjBiSNLn5qBvhP": { + symbol: "Charles Hoskinson", + name: "Charles Hoskinson", + website: "https://solible.com", + }, + GyRkPAxpd9XrMHcBF6fYHVRSZQvQBwAGKAGQeBPSKzMq: { + symbol: "SBF", + name: "SBF", + website: "https://solible.com", + }, + AgdBQN2Sy2abiZ2KToWeUsQ9PHdCv95wt6kVWRf5zDkx: { + symbol: "Bitcoin Tram", + name: "Bitcoin Tram", + website: "https://solible.com", + }, };