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

This commit is contained in:
Nicolas Brugneaux 2023-09-15 18:38:53 +02:00 committed by GitHub
parent 7f81073037
commit ea45289460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

@ -22,7 +22,7 @@ describe('Routing', () => {
})
it('contains all coins for celo', () => {
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', () => {
const symbols = COMMON_BASES[ChainId.BNB].map((coin) => coin.symbol)

@ -7,7 +7,6 @@ import {
BUSD_BSC,
CEUR_CELO,
CEUR_CELO_ALFAJORES,
CMC02_CELO,
CUSD_CELO,
CUSD_CELO_ALFAJORES,
DAI,
@ -37,6 +36,7 @@ import {
USDT_POLYGON,
WBTC,
WBTC_ARBITRUM_ONE,
WBTC_CELO,
WBTC_OPTIMISM,
WBTC_POLYGON,
WETH_AVALANCHE,
@ -104,7 +104,7 @@ export const COMMON_BASES: ChainCurrencyList = {
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.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(
'ETH',
'Portal Ether'
)
export const CMC02_CELO = new Token(
export const WBTC_CELO = new Token(
ChainId.CELO,
'0x32A9FE697a32135BFd313a6Ac28792DaE4D9979d',
'0xd71Ffd0940c920786eC4DbB5A12306669b5b81EF',
18,
'cMCO2',
'Celo Moss Carbon Credit'
'WBTC',
'Wrapped BTC'
)
const CELO_CELO_ALFAJORES = new Token(
ChainId.CELO_ALFAJORES,