Skip to content

Commit

Permalink
Merge pull request #4 from tommyzhao451/pruneSubgraph
Browse files Browse the repository at this point in the history
switch manta and scroll to pruned subgraph
  • Loading branch information
gnarlycow authored Dec 19, 2024
2 parents d7e2183 + f5ef2a9 commit 677c1c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aperture_finance/uniswap-smart-order-router",
"version": "0.3.1",
"version": "0.3.2",
"description": "Uniswap Smart Order Router",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/providers/v3/subgraph-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ const SUBGRAPH_URL_BY_CHAIN: { [chainId in ChainId]?: string } = {
[ChainId.MANTA_PACIFIC_TESTNET]:
'https://d3lcl3uht06cq4.cloudfront.net/subgraphs/name/aperture/uniswap-v3',
[ChainId.MANTA_PACIFIC]:
'https://api.goldsky.com/api/public/project_clnz7akg41cv72ntv0uhyd3ai/subgraphs/aperture-manta-pacific/uniswap-v3/gn',
'https://api.goldsky.com/api/public/project_clnz7akg41cv72ntv0uhyd3ai/subgraphs/pruned-manta-pacific-mainnet/0.0.2/gn',
[ChainId.SCROLL]:
'https://api.goldsky.com/api/public/project_clnz7akg41cv72ntv0uhyd3ai/subgraphs/aperture-scroll/uniswap-v3/gn',
'https://api.goldsky.com/api/public/project_clnz7akg41cv72ntv0uhyd3ai/subgraphs/pruned-scroll-mainnet/0.0.1/gn',
};

const PAGE_SIZE = 1000; // 1k is max possible query size from subgraph.
Expand Down

0 comments on commit 677c1c9

Please sign in to comment.