From 18283287caa6c9e679c83cd5664de4f1dca6af2b Mon Sep 17 00:00:00 2001 From: KillariDev Date: Wed, 27 Dec 2023 12:37:57 +0200 Subject: [PATCH] no unsupported tokens --- src/constants/lists.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/constants/lists.ts b/src/constants/lists.ts index 385dbcdb143..780a85626a8 100644 --- a/src/constants/lists.ts +++ b/src/constants/lists.ts @@ -1,8 +1,6 @@ export const UNI_LIST = 'https://gateway.ipfs.io/ipns/tokens.uniswap.org' export const UNI_EXTENDED_LIST = 'https://gateway.ipfs.io/ipns/extendedtokens.uniswap.org' -const UNI_UNSUPPORTED_LIST = 'https://gateway.ipfs.io/ipns/unsupportedtokens.uniswap.org' const AAVE_LIST = 'tokenlist.aave.eth' -const BA_LIST = 'https://raw.githubusercontent.com/The-Blockchain-Association/sec-notice-list/master/ba-sec-list.json' // TODO(WEB-2282): Re-enable CMC list once we have a better solution for handling large lists. // const CMC_ALL_LIST = 'https://s3.coinmarketcap.com/generated/dex/tokens/eth-tokens-all.json' const COINGECKO_LIST = 'https://tokens.coingecko.com/uniswap/all.json' @@ -27,8 +25,6 @@ export const AVALANCHE_LIST = export const BASE_LIST = 'https://raw.githubusercontent.com/ethereum-optimism/ethereum-optimism.github.io/master/optimism.tokenlist.json' -export const UNSUPPORTED_LIST_URLS: string[] = [BA_LIST, UNI_UNSUPPORTED_LIST] - // default lists to be 'active' aka searched across export const DEFAULT_ACTIVE_LIST_URLS: string[] = [UNI_LIST] export const DEFAULT_INACTIVE_LIST_URLS: string[] = [ @@ -53,7 +49,6 @@ export const DEFAULT_INACTIVE_LIST_URLS: string[] = [ PLASMA_BNB_LIST, AVALANCHE_LIST, BASE_LIST, - ...UNSUPPORTED_LIST_URLS, ] export const DEFAULT_LIST_OF_LISTS: string[] = [...DEFAULT_ACTIVE_LIST_URLS, ...DEFAULT_INACTIVE_LIST_URLS]