Skip to content

Commit

Permalink
(fix) fix uniswap config networks
Browse files Browse the repository at this point in the history
  • Loading branch information
fengtality committed Jul 27, 2024
1 parent 3db080c commit 0cac4ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/connectors/uniswap/uniswap.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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')
Expand All @@ -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')
Expand All @@ -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')
Expand All @@ -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')
Expand Down

0 comments on commit 0cac4ea

Please sign in to comment.