From c4998d2afae8d06b1566eddcd616e66235036148 Mon Sep 17 00:00:00 2001 From: deiay Date: Mon, 11 Mar 2024 15:49:56 -0400 Subject: [PATCH 1/3] add weth9 --- src/entities/weth9.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/entities/weth9.ts b/src/entities/weth9.ts index 925e9069..b43e127b 100644 --- a/src/entities/weth9.ts +++ b/src/entities/weth9.ts @@ -9,6 +9,7 @@ export const WETH9: { [chainId: number]: Token } = { [4]: new Token(4, '0xc778417E063141139Fce010982780140Aa0cD5Ab', 18, 'WETH', 'Wrapped Ether'), [5]: new Token(5, '0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6', 18, 'WETH', 'Wrapped Ether'), [42]: new Token(42, '0xd0A1E359811322d97991E03f863a0C30C2cF029C', 18, 'WETH', 'Wrapped Ether'), + [11155111]: new Token(11155111, '0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14', 18, 'WETH', 'Wrapped Ether'), [10]: new Token(10, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'), [69]: new Token(69, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'), @@ -22,5 +23,5 @@ export const WETH9: { [chainId: number]: Token } = { [56]: new Token(56, '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', 18, 'WBNB', 'Wrapped BNB'), [137]: new Token(137, '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', 18, 'WMATIC', 'Wrapped MATIC'), - [43114]: new Token(43114, '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', 18, 'WAVAX', 'Wrapped AVAX') + [43114]: new Token(43114, '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', 18, 'WAVAX', 'Wrapped AVAX'), } From 2651e80a13136f833f2670bf5c12e02de8974b2a Mon Sep 17 00:00:00 2001 From: deiay Date: Mon, 11 Mar 2024 15:51:32 -0400 Subject: [PATCH 2/3] remove trailing comment --- src/entities/weth9.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/weth9.ts b/src/entities/weth9.ts index b43e127b..cdf20585 100644 --- a/src/entities/weth9.ts +++ b/src/entities/weth9.ts @@ -23,5 +23,5 @@ export const WETH9: { [chainId: number]: Token } = { [56]: new Token(56, '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', 18, 'WBNB', 'Wrapped BNB'), [137]: new Token(137, '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', 18, 'WMATIC', 'Wrapped MATIC'), - [43114]: new Token(43114, '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', 18, 'WAVAX', 'Wrapped AVAX'), + [43114]: new Token(43114, '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', 18, 'WAVAX', 'Wrapped AVAX') } From 930ce5dcf81965050e21bb406657863661b963a0 Mon Sep 17 00:00:00 2001 From: deiay Date: Mon, 11 Mar 2024 15:53:33 -0400 Subject: [PATCH 3/3] add v2 router address --- src/addresses.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/addresses.ts b/src/addresses.ts index 879593ef..aa468b20 100644 --- a/src/addresses.ts +++ b/src/addresses.ts @@ -56,6 +56,7 @@ export const V2_ROUTER_ADDRESS = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' export const V2_ROUTER_ADDRESSES: AddressMap = { [ChainId.MAINNET]: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', [ChainId.GOERLI]: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', + [ChainId.SEPOLIA]: '0x425141165d3DE9FEC831896C016617a52363b687', [ChainId.ARBITRUM_ONE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', [ChainId.OPTIMISM]: '0x4a7b5da61326a6379179b40d00f57e5bbdc962c2', [ChainId.BASE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24',