From 1e7dff060ffaa92c7d960d5963f29372645148dc Mon Sep 17 00:00:00 2001 From: Justin Domingue Date: Tue, 19 Oct 2021 10:08:10 -0400 Subject: [PATCH] fix: add usdc to arbitrum/optimism common bases (#2641) --- src/constants/routing.ts | 4 ++++ src/constants/tokens.ts | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/src/constants/routing.ts b/src/constants/routing.ts index a87fc57aed1..9c2862385b1 100644 --- a/src/constants/routing.ts +++ b/src/constants/routing.ts @@ -15,6 +15,8 @@ import { renBTC, TRIBE, USDC, + USDC_ARBITRUM, + USDC_OPTIMISM, USDT, USDT_ARBITRUM_ONE, USDT_OPTIMISM, @@ -94,6 +96,7 @@ export const COMMON_BASES: ChainCurrencyList = { [SupportedChainId.ARBITRUM_ONE]: [ ExtendedEther.onChain(SupportedChainId.ARBITRUM_ONE), DAI_ARBITRUM_ONE, + USDC_ARBITRUM, USDT_ARBITRUM_ONE, WBTC_ARBITRUM_ONE, WETH9_EXTENDED[SupportedChainId.ARBITRUM_ONE], @@ -105,6 +108,7 @@ export const COMMON_BASES: ChainCurrencyList = { [SupportedChainId.OPTIMISM]: [ ExtendedEther.onChain(SupportedChainId.OPTIMISM), DAI_OPTIMISM, + USDC_OPTIMISM, USDT_OPTIMISM, WBTC_OPTIMISM, WETH9_EXTENDED[SupportedChainId.OPTIMISM], diff --git a/src/constants/tokens.ts b/src/constants/tokens.ts index a5bdd058f5b..5b4b3918336 100644 --- a/src/constants/tokens.ts +++ b/src/constants/tokens.ts @@ -45,6 +45,13 @@ export const USDC_ARBITRUM = new Token( 'USDC', 'USD//C' ) +export const USDC_OPTIMISM = new Token( + SupportedChainId.OPTIMISM, + '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', + 6, + 'USDC', + 'USD//C' +) export const USDT = new Token( SupportedChainId.MAINNET, '0xdAC17F958D2ee523a2206206994597C13D831ec7',