From 7a12bb794366020db63fc4898896e5d60413ae60 Mon Sep 17 00:00:00 2001 From: Nelson Taveras <4562733+nvtaveras@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:44:00 +0200 Subject: [PATCH] feat: add eXOF to mainnet (#111) --- src/config/exchanges.ts | 16 ++++++++++++++++ src/config/tokens.ts | 2 +- src/images/tokens/TokenIcon.tsx | 2 ++ src/images/tokens/eXOF.svg | 4 ++++ 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/images/tokens/eXOF.svg diff --git a/src/config/exchanges.ts b/src/config/exchanges.ts index 3814178..bc96c5d 100644 --- a/src/config/exchanges.ts +++ b/src/config/exchanges.ts @@ -212,6 +212,22 @@ export const CeloExchanges: Exchange[] = [ '0x061cc5a2C863E0C1Cb404006D559dB18A34C762d', ], }, + { + providerAddr: '0x22d9db95E6Ae61c104A7B6F6C78D7993B94ec901', + id: '0x269dcbdbc07fff1a4aaab9c7c03b3f629cd9bbed49aa0efebab874e4da1ffd07', + assets: [ + '0x73F93dcc49cB8A239e2032663e9475dd5ef29A08', + '0x471EcE3750Da237f93B8E339c536989b8978a438', + ], + }, + { + providerAddr: '0x22d9db95E6Ae61c104A7B6F6C78D7993B94ec901', + id: '0xcc68743c58a31c4ec3c56bca3d579409b4e2424e5f37e54a85f917b22af74e7c', + assets: [ + '0x73F93dcc49cB8A239e2032663e9475dd5ef29A08', + '0x061cc5a2C863E0C1Cb404006D559dB18A34C762d', + ], + }, ] export const MentoExchanges: Record> = { diff --git a/src/config/tokens.ts b/src/config/tokens.ts index 81b2ccf..d47d703 100644 --- a/src/config/tokens.ts +++ b/src/config/tokens.ts @@ -116,7 +116,7 @@ export const TokenAddresses: Record> = Object. [TokenId.cREAL]: '0xe8537a3d056DA446677B9E9d6c5dB704EaAb4787', [TokenId.axlUSDC]: '0xEB466342C4d449BC9f53A865D5Cb90586f405215', [TokenId.axlEUROC]: '0x061cc5a2C863E0C1Cb404006D559dB18A34C762d', - [TokenId.eXOF]: '', + [TokenId.eXOF]: '0x73F93dcc49cB8A239e2032663e9475dd5ef29A08', }, }) diff --git a/src/images/tokens/TokenIcon.tsx b/src/images/tokens/TokenIcon.tsx index 851a88a..04295df 100644 --- a/src/images/tokens/TokenIcon.tsx +++ b/src/images/tokens/TokenIcon.tsx @@ -7,6 +7,7 @@ import USDCIcon from 'src/images/tokens/USDC.svg' import cEURIcon from 'src/images/tokens/cEUR.svg' import cREALIcon from 'src/images/tokens/cREAL.svg' import cUSDIcon from 'src/images/tokens/cUSD.svg' +import eXOFIcon from 'src/images/tokens/eXOF.svg' interface Props { token?: Token | null @@ -35,6 +36,7 @@ function _TokenIcon({ token, size = 'm' }: Props) { else if (token?.id === TokenId.cREAL) imgSrc = cREALIcon else if (isUSDCVariant(token?.id)) imgSrc = USDCIcon else if (token?.id === TokenId.axlEUROC) imgSrc = EUROCIcon + else if (token?.id === TokenId.eXOF) imgSrc = eXOFIcon if (imgSrc) { return ( diff --git a/src/images/tokens/eXOF.svg b/src/images/tokens/eXOF.svg new file mode 100644 index 0000000..b2b1963 --- /dev/null +++ b/src/images/tokens/eXOF.svg @@ -0,0 +1,4 @@ + + + +