From 0cac4ea16fc1188e9c5e192e850f157ef7b9ed75 Mon Sep 17 00:00:00 2001 From: Michael Feng Date: Sat, 27 Jul 2024 16:02:09 -0700 Subject: [PATCH] (fix) fix uniswap config networks --- src/connectors/uniswap/uniswap.config.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/connectors/uniswap/uniswap.config.ts b/src/connectors/uniswap/uniswap.config.ts index 0896c883ac..cbd1648f0d 100644 --- a/src/connectors/uniswap/uniswap.config.ts +++ b/src/connectors/uniswap/uniswap.config.ts @@ -66,7 +66,7 @@ export namespace UniswapConfig { { chain: 'ethereum', networks: Object.keys( - ConfigManagerV2.getInstance().get('uniswap.contractAddresses') + ConfigManagerV2.getInstance().get('uniswap.contractAddresses.ethereum') ).filter((network) => Object.keys( ConfigManagerV2.getInstance().get('ethereum.networks') @@ -75,7 +75,7 @@ export namespace UniswapConfig { }, { chain: 'polygon', networks: Object.keys( - ConfigManagerV2.getInstance().get('uniswap.contractAddresses') + ConfigManagerV2.getInstance().get('uniswap.contractAddresses.polygon') ).filter((network) => Object.keys( ConfigManagerV2.getInstance().get('polygon.networks') @@ -84,7 +84,7 @@ export namespace UniswapConfig { }, { chain: 'binance-smart-chain', networks: Object.keys( - ConfigManagerV2.getInstance().get('uniswap.contractAddresses') + ConfigManagerV2.getInstance().get('uniswap.contractAddresses.binance-smart-chain') ).filter((network) => Object.keys( ConfigManagerV2.getInstance().get('binance-smart-chain.networks') @@ -93,7 +93,7 @@ export namespace UniswapConfig { }, { chain: 'avalanche', networks: Object.keys( - ConfigManagerV2.getInstance().get('uniswap.contractAddresses') + ConfigManagerV2.getInstance().get('uniswap.contractAddresses.avalanche') ).filter((network) => Object.keys( ConfigManagerV2.getInstance().get('avalanche.networks') @@ -102,7 +102,7 @@ export namespace UniswapConfig { }, { chain: 'celo', networks: Object.keys( - ConfigManagerV2.getInstance().get('uniswap.contractAddresses') + ConfigManagerV2.getInstance().get('uniswap.contractAddresses.celo') ).filter((network) => Object.keys( ConfigManagerV2.getInstance().get('celo.networks')