fix: add native USDC to Polygon quick-select (#7500)
* fix: add native USDC to Polygon quick-select * remove usdce * pr review
This commit is contained in:
parent
6798bf3cf1
commit
b670affd4c
@ -29,6 +29,7 @@ import {
|
|||||||
USDC_MAINNET,
|
USDC_MAINNET,
|
||||||
USDC_OPTIMISM,
|
USDC_OPTIMISM,
|
||||||
USDC_POLYGON,
|
USDC_POLYGON,
|
||||||
|
USDC_POLYGON_MUMBAI,
|
||||||
USDT,
|
USDT,
|
||||||
USDT_ARBITRUM_ONE,
|
USDT_ARBITRUM_ONE,
|
||||||
USDT_AVALANCHE,
|
USDT_AVALANCHE,
|
||||||
@ -74,6 +75,7 @@ export const COMMON_BASES: ChainCurrencyList = {
|
|||||||
],
|
],
|
||||||
[ChainId.GOERLI]: [nativeOnChain(ChainId.GOERLI), WRAPPED_NATIVE_CURRENCY[ChainId.GOERLI] as Token],
|
[ChainId.GOERLI]: [nativeOnChain(ChainId.GOERLI), WRAPPED_NATIVE_CURRENCY[ChainId.GOERLI] as Token],
|
||||||
[ChainId.SEPOLIA]: [nativeOnChain(ChainId.SEPOLIA), WRAPPED_NATIVE_CURRENCY[ChainId.SEPOLIA] as Token],
|
[ChainId.SEPOLIA]: [nativeOnChain(ChainId.SEPOLIA), WRAPPED_NATIVE_CURRENCY[ChainId.SEPOLIA] as Token],
|
||||||
|
|
||||||
[ChainId.ARBITRUM_ONE]: [
|
[ChainId.ARBITRUM_ONE]: [
|
||||||
nativeOnChain(ChainId.ARBITRUM_ONE),
|
nativeOnChain(ChainId.ARBITRUM_ONE),
|
||||||
ARB,
|
ARB,
|
||||||
@ -88,9 +90,12 @@ export const COMMON_BASES: ChainCurrencyList = {
|
|||||||
WRAPPED_NATIVE_CURRENCY[ChainId.ARBITRUM_GOERLI] as Token,
|
WRAPPED_NATIVE_CURRENCY[ChainId.ARBITRUM_GOERLI] as Token,
|
||||||
USDC_ARBITRUM_GOERLI,
|
USDC_ARBITRUM_GOERLI,
|
||||||
],
|
],
|
||||||
|
|
||||||
[ChainId.OPTIMISM]: [nativeOnChain(ChainId.OPTIMISM), OP, DAI_OPTIMISM, USDC_OPTIMISM, USDT_OPTIMISM, WBTC_OPTIMISM],
|
[ChainId.OPTIMISM]: [nativeOnChain(ChainId.OPTIMISM), OP, DAI_OPTIMISM, USDC_OPTIMISM, USDT_OPTIMISM, WBTC_OPTIMISM],
|
||||||
[ChainId.OPTIMISM_GOERLI]: [nativeOnChain(ChainId.OPTIMISM_GOERLI)],
|
[ChainId.OPTIMISM_GOERLI]: [nativeOnChain(ChainId.OPTIMISM_GOERLI)],
|
||||||
|
|
||||||
[ChainId.BASE]: [nativeOnChain(ChainId.BASE), WRAPPED_NATIVE_CURRENCY[ChainId.BASE] as Token, USDC_BASE, USDbC_BASE],
|
[ChainId.BASE]: [nativeOnChain(ChainId.BASE), WRAPPED_NATIVE_CURRENCY[ChainId.BASE] as Token, USDC_BASE, USDbC_BASE],
|
||||||
|
|
||||||
[ChainId.POLYGON]: [
|
[ChainId.POLYGON]: [
|
||||||
nativeOnChain(ChainId.POLYGON),
|
nativeOnChain(ChainId.POLYGON),
|
||||||
WETH_POLYGON,
|
WETH_POLYGON,
|
||||||
@ -102,6 +107,7 @@ export const COMMON_BASES: ChainCurrencyList = {
|
|||||||
[ChainId.POLYGON_MUMBAI]: [
|
[ChainId.POLYGON_MUMBAI]: [
|
||||||
nativeOnChain(ChainId.POLYGON_MUMBAI),
|
nativeOnChain(ChainId.POLYGON_MUMBAI),
|
||||||
WRAPPED_NATIVE_CURRENCY[ChainId.POLYGON_MUMBAI] as Token,
|
WRAPPED_NATIVE_CURRENCY[ChainId.POLYGON_MUMBAI] as Token,
|
||||||
|
USDC_POLYGON_MUMBAI,
|
||||||
WETH_POLYGON_MUMBAI,
|
WETH_POLYGON_MUMBAI,
|
||||||
],
|
],
|
||||||
|
|
||||||
@ -109,6 +115,7 @@ export const COMMON_BASES: ChainCurrencyList = {
|
|||||||
[ChainId.CELO_ALFAJORES]: [nativeOnChain(ChainId.CELO_ALFAJORES), CUSD_CELO_ALFAJORES, CEUR_CELO_ALFAJORES],
|
[ChainId.CELO_ALFAJORES]: [nativeOnChain(ChainId.CELO_ALFAJORES), CUSD_CELO_ALFAJORES, CEUR_CELO_ALFAJORES],
|
||||||
|
|
||||||
[ChainId.BNB]: [nativeOnChain(ChainId.BNB), DAI_BSC, USDC_BSC, USDT_BSC, ETH_BSC, BTC_BSC, BUSD_BSC],
|
[ChainId.BNB]: [nativeOnChain(ChainId.BNB), DAI_BSC, USDC_BSC, USDT_BSC, ETH_BSC, BTC_BSC, BUSD_BSC],
|
||||||
|
|
||||||
[ChainId.AVALANCHE]: [
|
[ChainId.AVALANCHE]: [
|
||||||
nativeOnChain(ChainId.AVALANCHE),
|
nativeOnChain(ChainId.AVALANCHE),
|
||||||
DAI_AVALANCHE,
|
DAI_AVALANCHE,
|
||||||
|
@ -47,17 +47,17 @@ export const USDC_ARBITRUM_GOERLI = new Token(
|
|||||||
)
|
)
|
||||||
export const USDC_POLYGON = new Token(
|
export const USDC_POLYGON = new Token(
|
||||||
ChainId.POLYGON,
|
ChainId.POLYGON,
|
||||||
'0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
|
'0x3c499c542cef5e3811e1192ce70d8cc03d5c3359',
|
||||||
6,
|
6,
|
||||||
'USDC',
|
'USDC',
|
||||||
'USD//C'
|
'USD Coin'
|
||||||
)
|
)
|
||||||
const USDC_POLYGON_MUMBAI = new Token(
|
export const USDC_POLYGON_MUMBAI = new Token(
|
||||||
ChainId.POLYGON_MUMBAI,
|
ChainId.POLYGON_MUMBAI,
|
||||||
'0xe11a86849d99f524cac3e7a0ec1241828e332c62',
|
'0x0fa8781a83e46826621b3bc094ea2a0212e71b23',
|
||||||
6,
|
6,
|
||||||
'USDC',
|
'USDC',
|
||||||
'USD//C'
|
'USD Coin'
|
||||||
)
|
)
|
||||||
export const PORTAL_USDC_CELO = new Token(
|
export const PORTAL_USDC_CELO = new Token(
|
||||||
ChainId.CELO,
|
ChainId.CELO,
|
||||||
|
Loading…
Reference in New Issue
Block a user