Compare commits

...

2 Commits

Author SHA1 Message Date
fb0108196c 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
2023-12-22 07:12:38 +00:00
986cf07391 remove warnings 2023-12-22 07:12:12 +00:00
3 changed files with 9 additions and 5 deletions

@ -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],

@ -93,10 +93,6 @@ export function checkWarning(tokenAddress: string, chainId?: number | null) {
return null
case TOKEN_LIST_TYPES.UNI_EXTENDED:
return MediumWarning
case TOKEN_LIST_TYPES.UNKNOWN:
return StrongWarning
case TOKEN_LIST_TYPES.BLOCKED:
return BlockedWarning
case TOKEN_LIST_TYPES.BROKEN:
return BlockedWarning
}

@ -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(