Skip to content

Commit

Permalink
feat: set up with our uniswap contracts and graph deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
aidankinzett committed Jun 14, 2024
1 parent 82d75c0 commit a230564
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/providers/v3/subgraph-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions src/util/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down
2 changes: 1 addition & 1 deletion src/util/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export const WRAPPED_NATIVE_CURRENCY: { [chainId in ChainId]: Token } = {
),
[ChainId.SEPOLIA]: new Token(
11155111,
'0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14',
'0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9',
18,
'WETH',
'Wrapped Ether'
Expand Down

0 comments on commit a230564

Please sign in to comment.