From fb0108196c58c1894695a44f073cc99b2c51842f Mon Sep 17 00:00:00 2001 From: ButterflyEffect Date: Fri, 22 Dec 2023 07:12:38 +0000 Subject: [PATCH] add torn to default tokens list --- src/constants/routing.ts | 3 ++- src/constants/tokens.ts | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/constants/routing.ts b/src/constants/routing.ts index 57944cc299..31ce5a506c 100644 --- a/src/constants/routing.ts +++ b/src/constants/routing.ts @@ -20,6 +20,7 @@ import { OP, PORTAL_ETH_CELO, PORTAL_USDC_CELO, + TORN_MAINNET, USDC_ARBITRUM, USDC_ARBITRUM_GOERLI, USDC_AVALANCHE, @@ -67,10 +68,10 @@ const WRAPPED_NATIVE_CURRENCIES_ONLY: ChainTokenList = Object.fromEntries( export const COMMON_BASES: ChainCurrencyList = { [ChainId.MAINNET]: [ nativeOnChain(ChainId.MAINNET), + TORN_MAINNET, DAI, USDC_MAINNET, USDT, - WBTC, WRAPPED_NATIVE_CURRENCY[ChainId.MAINNET] as Token, ], [ChainId.GOERLI]: [nativeOnChain(ChainId.GOERLI), WRAPPED_NATIVE_CURRENCY[ChainId.GOERLI] as Token], diff --git a/src/constants/tokens.ts b/src/constants/tokens.ts index d60390fd5c..73ccc8135e 100644 --- a/src/constants/tokens.ts +++ b/src/constants/tokens.ts @@ -15,6 +15,13 @@ export const USDC_MAINNET = new Token( 'USDC', 'USD//C' ) +export const TORN_MAINNET = new Token( + ChainId.MAINNET, + '0x77777FeDdddFfC19Ff86DB637967013e6C6A116C', + 18, + 'TORN', + 'Tornado Cash' +) const USDC_GOERLI = new Token(ChainId.GOERLI, '0x07865c6e87b9f70255377e024ace6630c1eaa37f', 6, 'USDC', 'USD//C') const USDC_SEPOLIA = new Token(ChainId.SEPOLIA, '0x6f14C02Fc1F78322cFd7d707aB90f18baD3B54f5', 6, 'USDC', 'USD//C') export const USDC_OPTIMISM = new Token(