Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Aug 9, 2024
1 parent ea3ce9c commit 4fdfb7b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
9 changes: 3 additions & 6 deletions packages/sushi/src/config/bases-to-check-trades-against.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { ChainId } from '../chain/index.js'
import {
ENOSYS_APS,
ENOSYS_BNZ,
ENOSYS_EETH,
ENOSYS_EQNT,
ENOSYS_HLN,
ENOSYS_USDT,
MUSD,
Token,
USDB,
Expand Down Expand Up @@ -492,10 +490,9 @@ export const BASES_TO_CHECK_TRADES_AGAINST: {
WNATIVE[ChainId.FLARE],
WETH9[ChainId.FLARE],
USDT[ChainId.FLARE],
ENOSYS_BNZ,
ENOSYS_EQNT,
USDC[ChainId.FLARE],
ENOSYS_USDT,
ENOSYS_HLN,
ENOSYS_APS,
ENOSYS_EETH,
],
}
3 changes: 2 additions & 1 deletion packages/sushi/src/currency/token-addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ export const USDC_ADDRESS = {
[ChainId.CRONOS]: '0xc21223249CA28397B4B6541dfFaEcC539BfF0c59',
[ChainId.FANTOM]: '0xd9820a17053d6314B20642E465a84Bf01a3D64f5',
[ChainId.MOONBEAM]: '0x8f552a71EFE5eeFc207Bf75485b356A0b3f01eC9',
[ChainId.FLARE]: '0x0B38e83B86d491735fEaa0a791F65c2B99535396',
} as const

export const USDT_ADDRESS = {
Expand Down Expand Up @@ -485,7 +486,7 @@ export const USDT_ADDRESS = {
[ChainId.HAQQ]: axlUSDT_ADDRESS[ChainId.HAQQ],
[ChainId.SCROLL]: '0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df',
[ChainId.ZETACHAIN]: '0x7c8dDa80bbBE1254a7aACf3219EBe1481c6E01d7',
[ChainId.FLARE]: '0x96B41289D90444B8adD57e6F265DB5aE8651DF29',
[ChainId.FLARE]: '0x0B38e83B86d491735fEaa0a791F65c2B99535396',
} as const

export const DAI_ADDRESS = {
Expand Down
15 changes: 8 additions & 7 deletions packages/sushi/src/currency/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,13 +832,6 @@ export const USDT: Record<keyof typeof USDT_ADDRESS, Token> = {
symbol: 'USDT',
name: 'Tether USD',
}),
[ChainId.FLARE]: new Token({
chainId: ChainId.FLARE,
address: USDT_ADDRESS[ChainId.FLARE],
decimals: 6,
symbol: 'eUSDT',
name: 'Tether USD',
}),
}

export const DAI = addressMapToTokenMap(
Expand Down Expand Up @@ -1167,6 +1160,14 @@ export const MUSD = new Token({
decimals: 18,
})

export const ENOSYS_USDT = new Token({
chainId: ChainId.FLARE,
address: '0x96B41289D90444B8adD57e6F265DB5aE8651DF29',
decimals: 6,
symbol: 'eUSDT',
name: 'Enosys USDT',
})

export const ENOSYS_BNZ = new Token({
chainId: ChainId.FLARE,
address: '0xfD3449E8Ee31117a848D41Ee20F497a9bCb53164',
Expand Down

0 comments on commit 4fdfb7b

Please sign in to comment.