From 508420035a72ec7688eeaefc9db091beb8a77c77 Mon Sep 17 00:00:00 2001 From: Oleksandr Dovgopoliy Date: Mon, 11 Nov 2024 12:07:18 +0200 Subject: [PATCH] remove Sepolia and Lisk --- .idea/prettier.xml | 7 +++++++ src/constants.ts | 7 ++----- src/entities/token.ts | 10 +--------- 3 files changed, 10 insertions(+), 14 deletions(-) create mode 100644 .idea/prettier.xml diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 0000000..0c83ac4 --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/src/constants.ts b/src/constants.ts index b4f8430..bcf119a 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -5,9 +5,7 @@ export type BigintIsh = JSBI | bigint | string export enum ChainId { XDC = 50, - AXDC = 51, - SEPOLIA = 11155111, - LISK = 1135 + AXDC = 51 } export enum TradeType { @@ -23,8 +21,7 @@ export enum Rounding { export const FACTORY_ADDRESS: { [key: string]: string } = { [ChainId.XDC]: '0x9fAb572F75008A42c6aF80b36Ab20C76a38ABc4B', - [ChainId.AXDC]: '0xe011699276055eDAd1E3fd2F98667068f7c8814A', - [ChainId.SEPOLIA]: '0x97989DFf5568F450970d404770f1975056834F93' + [ChainId.AXDC]: '0xe011699276055eDAd1E3fd2F98667068f7c8814A' } export const INIT_CODE_HASH = '0xa6d23746864049fd29713adbbf145eeecdddd2f9a91be053c057394dd5d7d9ad' diff --git a/src/entities/token.ts b/src/entities/token.ts index 4187c89..4045112 100644 --- a/src/entities/token.ts +++ b/src/entities/token.ts @@ -58,13 +58,5 @@ export function currencyEquals(currencyA: Currency, currencyB: Currency): boolea export const WETH = { [ChainId.XDC]: new Token(ChainId.XDC, '0x951857744785E80e2De051c32EE7b25f9c458C42', 18, 'WXDC', 'Wrapped XDC'), - [ChainId.AXDC]: new Token(ChainId.AXDC, '0xE99500AB4A413164DA49Af83B9824749059b46ce', 18, 'WXDC', 'Wrapped XDC'), - [ChainId.SEPOLIA]: new Token( - ChainId.SEPOLIA, - '0xD0dF82dE051244f04BfF3A8bB1f62E1cD39eED92', - 18, - 'WETH', - 'Wrapped ETH' - ), - [ChainId.LISK]: new Token(ChainId.LISK, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped ETH') + [ChainId.AXDC]: new Token(ChainId.AXDC, '0xE99500AB4A413164DA49Af83B9824749059b46ce', 18, 'WXDC', 'Wrapped XDC') }