Skip to content

Commit

Permalink
feat: add eXOF to mainnet (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras authored Oct 16, 2023
1 parent a36e959 commit 7a12bb7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
16 changes: 16 additions & 0 deletions src/config/exchanges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ChainId, Array<Exchange>> = {
Expand Down
2 changes: 1 addition & 1 deletion src/config/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const TokenAddresses: Record<ChainId, Record<TokenId, Address>> = Object.
[TokenId.cREAL]: '0xe8537a3d056DA446677B9E9d6c5dB704EaAb4787',
[TokenId.axlUSDC]: '0xEB466342C4d449BC9f53A865D5Cb90586f405215',
[TokenId.axlEUROC]: '0x061cc5a2C863E0C1Cb404006D559dB18A34C762d',
[TokenId.eXOF]: '',
[TokenId.eXOF]: '0x73F93dcc49cB8A239e2032663e9475dd5ef29A08',
},
})

Expand Down
2 changes: 2 additions & 0 deletions src/images/tokens/TokenIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 (
Expand Down
4 changes: 4 additions & 0 deletions src/images/tokens/eXOF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 7a12bb7

@vercel
Copy link

@vercel vercel bot commented on 7a12bb7 Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.