From a23056471e53d9bcc332f935a5c8441d52650645 Mon Sep 17 00:00:00 2001 From: Aidan Kinzett Date: Fri, 14 Jun 2024 15:55:14 +1000 Subject: [PATCH] feat: set up with our uniswap contracts and graph deployment --- src/providers/v3/subgraph-provider.ts | 1 + src/util/addresses.ts | 1 + src/util/chains.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/providers/v3/subgraph-provider.ts b/src/providers/v3/subgraph-provider.ts index 4cbd7b116..7bb232325 100644 --- a/src/providers/v3/subgraph-provider.ts +++ b/src/providers/v3/subgraph-provider.ts @@ -69,6 +69,7 @@ const SUBGRAPH_URL_BY_CHAIN: { [chainId in ChainId]?: string } = { [ChainId.BASE]: 'https://api.studio.thegraph.com/query/48211/uniswap-v3-base/version/latest', [ChainId.BLAST]: 'https://gateway-arbitrum.network.thegraph.com/api/0ae45f0bf40ae2e73119b44ccd755967/subgraphs/id/2LHovKznvo8YmKC9ZprPjsYAZDCc4K5q4AYz8s3cnQn1', + [ChainId.SEPOLIA]: 'https://thegraph.labrys.group/subgraphs/name/ianlapham/uniswap-v3' }; const PAGE_SIZE = 1000; // 1k is max possible query size from subgraph. diff --git a/src/util/addresses.ts b/src/util/addresses.ts index 64adfa4df..55a3287cc 100644 --- a/src/util/addresses.ts +++ b/src/util/addresses.ts @@ -41,6 +41,7 @@ export const V3_CORE_FACTORY_ADDRESSES: AddressMap = { [ChainId.BLAST]: CHAIN_TO_ADDRESSES_MAP[ChainId.BLAST].v3CoreFactoryAddress, [ChainId.ZORA]: CHAIN_TO_ADDRESSES_MAP[ChainId.ZORA].v3CoreFactoryAddress, [ChainId.ZKSYNC]: CHAIN_TO_ADDRESSES_MAP[ChainId.ZKSYNC].v3CoreFactoryAddress, + [ChainId.SEPOLIA]: "0x9475cccd3a9A32192d8Df3d87D735b384A90e0c0" // TODO: Gnosis + Moonbeam contracts to be deployed }; diff --git a/src/util/chains.ts b/src/util/chains.ts index 840473189..a1c92bd7b 100644 --- a/src/util/chains.ts +++ b/src/util/chains.ts @@ -373,7 +373,7 @@ export const WRAPPED_NATIVE_CURRENCY: { [chainId in ChainId]: Token } = { ), [ChainId.SEPOLIA]: new Token( 11155111, - '0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14', + '0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9', 18, 'WETH', 'Wrapped Ether'