add torn to default tokens list
Some checks failed
Crowdin Upload / upload-sources (push) Has been cancelled
Test / lint (push) Has been cancelled
Test / typecheck (push) Has been cancelled
Test / deps-tests (push) Has been cancelled
Test / unit-tests (push) Has been cancelled
Test / build (push) Has been cancelled
Test / cypress-typecheck (push) Has been cancelled
Test / cypress-rerun (push) Has been cancelled
Test / cloud-typecheck (push) Has been cancelled
Test / cloud-tests (push) Has been cancelled
Test / pre (push) Has been cancelled
Test / cypress-test-matrix (1) (push) Has been cancelled
Test / cypress-test-matrix (2) (push) Has been cancelled
Test / cypress-test-matrix (3) (push) Has been cancelled
Test / cypress-test-matrix (4) (push) Has been cancelled
Test / hardhat-cache (push) Has been cancelled
Test / post (push) Has been cancelled

This commit is contained in:
ButterflyEffect 2023-12-22 07:12:38 +00:00
parent 986cf07391
commit fb0108196c
2 changed files with 9 additions and 1 deletions

@ -20,6 +20,7 @@ import {
OP, OP,
PORTAL_ETH_CELO, PORTAL_ETH_CELO,
PORTAL_USDC_CELO, PORTAL_USDC_CELO,
TORN_MAINNET,
USDC_ARBITRUM, USDC_ARBITRUM,
USDC_ARBITRUM_GOERLI, USDC_ARBITRUM_GOERLI,
USDC_AVALANCHE, USDC_AVALANCHE,
@ -67,10 +68,10 @@ const WRAPPED_NATIVE_CURRENCIES_ONLY: ChainTokenList = Object.fromEntries(
export const COMMON_BASES: ChainCurrencyList = { export const COMMON_BASES: ChainCurrencyList = {
[ChainId.MAINNET]: [ [ChainId.MAINNET]: [
nativeOnChain(ChainId.MAINNET), nativeOnChain(ChainId.MAINNET),
TORN_MAINNET,
DAI, DAI,
USDC_MAINNET, USDC_MAINNET,
USDT, USDT,
WBTC,
WRAPPED_NATIVE_CURRENCY[ChainId.MAINNET] as Token, WRAPPED_NATIVE_CURRENCY[ChainId.MAINNET] as Token,
], ],
[ChainId.GOERLI]: [nativeOnChain(ChainId.GOERLI), WRAPPED_NATIVE_CURRENCY[ChainId.GOERLI] as Token], [ChainId.GOERLI]: [nativeOnChain(ChainId.GOERLI), WRAPPED_NATIVE_CURRENCY[ChainId.GOERLI] as Token],

@ -15,6 +15,13 @@ export const USDC_MAINNET = new Token(
'USDC', 'USDC',
'USD//C' '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_GOERLI = new Token(ChainId.GOERLI, '0x07865c6e87b9f70255377e024ace6630c1eaa37f', 6, 'USDC', 'USD//C')
const USDC_SEPOLIA = new Token(ChainId.SEPOLIA, '0x6f14C02Fc1F78322cFd7d707aB90f18baD3B54f5', 6, 'USDC', 'USD//C') const USDC_SEPOLIA = new Token(ChainId.SEPOLIA, '0x6f14C02Fc1F78322cFd7d707aB90f18baD3B54f5', 6, 'USDC', 'USD//C')
export const USDC_OPTIMISM = new Token( export const USDC_OPTIMISM = new Token(