Commit ea452894 authored by Nicolas Brugneaux's avatar Nicolas Brugneaux Committed by GitHub

feat: replace cMC02 by WBTC in the celo tokens (#7244)

parent 7f810730
...@@ -22,7 +22,7 @@ describe('Routing', () => { ...@@ -22,7 +22,7 @@ describe('Routing', () => {
}) })
it('contains all coins for celo', () => { it('contains all coins for celo', () => {
const symbols = COMMON_BASES[ChainId.CELO].map((coin) => coin.symbol) const symbols = COMMON_BASES[ChainId.CELO].map((coin) => coin.symbol)
expect(symbols).toEqual(['CELO', 'cEUR', 'cUSD', 'ETH', 'USDCet', 'cMCO2']) expect(symbols).toEqual(['CELO', 'cEUR', 'cUSD', 'ETH', 'USDCet', 'WBTC'])
}) })
it('contains all coins for bsc', () => { it('contains all coins for bsc', () => {
const symbols = COMMON_BASES[ChainId.BNB].map((coin) => coin.symbol) const symbols = COMMON_BASES[ChainId.BNB].map((coin) => coin.symbol)
......
...@@ -7,7 +7,6 @@ import { ...@@ -7,7 +7,6 @@ import {
BUSD_BSC, BUSD_BSC,
CEUR_CELO, CEUR_CELO,
CEUR_CELO_ALFAJORES, CEUR_CELO_ALFAJORES,
CMC02_CELO,
CUSD_CELO, CUSD_CELO,
CUSD_CELO_ALFAJORES, CUSD_CELO_ALFAJORES,
DAI, DAI,
...@@ -37,6 +36,7 @@ import { ...@@ -37,6 +36,7 @@ import {
USDT_POLYGON, USDT_POLYGON,
WBTC, WBTC,
WBTC_ARBITRUM_ONE, WBTC_ARBITRUM_ONE,
WBTC_CELO,
WBTC_OPTIMISM, WBTC_OPTIMISM,
WBTC_POLYGON, WBTC_POLYGON,
WETH_AVALANCHE, WETH_AVALANCHE,
...@@ -104,7 +104,7 @@ export const COMMON_BASES: ChainCurrencyList = { ...@@ -104,7 +104,7 @@ export const COMMON_BASES: ChainCurrencyList = {
WETH_POLYGON_MUMBAI, WETH_POLYGON_MUMBAI,
], ],
[ChainId.CELO]: [nativeOnChain(ChainId.CELO), CEUR_CELO, CUSD_CELO, PORTAL_ETH_CELO, PORTAL_USDC_CELO, CMC02_CELO], [ChainId.CELO]: [nativeOnChain(ChainId.CELO), CEUR_CELO, CUSD_CELO, PORTAL_ETH_CELO, PORTAL_USDC_CELO, WBTC_CELO],
[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],
......
...@@ -185,12 +185,12 @@ export const PORTAL_ETH_CELO = new Token( ...@@ -185,12 +185,12 @@ export const PORTAL_ETH_CELO = new Token(
'ETH', 'ETH',
'Portal Ether' 'Portal Ether'
) )
export const CMC02_CELO = new Token( export const WBTC_CELO = new Token(
ChainId.CELO, ChainId.CELO,
'0x32A9FE697a32135BFd313a6Ac28792DaE4D9979d', '0xd71Ffd0940c920786eC4DbB5A12306669b5b81EF',
18, 18,
'cMCO2', 'WBTC',
'Celo Moss Carbon Credit' 'Wrapped BTC'
) )
const CELO_CELO_ALFAJORES = new Token( const CELO_CELO_ALFAJORES = new Token(
ChainId.CELO_ALFAJORES, ChainId.CELO_ALFAJORES,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment