Skip to content

Commit

Permalink
fix: add usdc to arbitrum/optimism common bases (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Domingue authored Oct 19, 2021
1 parent 244ed38 commit 1e7dff0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/constants/routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import {
renBTC,
TRIBE,
USDC,
USDC_ARBITRUM,
USDC_OPTIMISM,
USDT,
USDT_ARBITRUM_ONE,
USDT_OPTIMISM,
Expand Down Expand Up @@ -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],
Expand All @@ -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],
Expand Down
7 changes: 7 additions & 0 deletions src/constants/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

1 comment on commit 1e7dff0

@vercel
Copy link

@vercel vercel bot commented on 1e7dff0 Oct 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.