Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix(uniswap-v2): Fix slow subgraph call
Browse files Browse the repository at this point in the history
  • Loading branch information
immasandwich committed Nov 29, 2023
1 parent 0ebf82f commit 4611f33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/apps/uniswap-v2/ethereum/uniswap-v2.pool.token-fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ export class EthereumUniswapV2PoolTokenFetcher extends UniswapV2DefaultPoolSubgr
groupLabel = 'Pools';

factoryAddress = '0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f';
subgraphUrl = 'https://api.thegraph.com/subgraphs/name/ianlapham/uniswapv2?source=zapper';
subgraphUrl = 'https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v2-dev?source=zapper';
ignoredPools = ['0x3016a43b482d0480460f6625115bd372fe90c6bf'];
first = 5000;
orderBy = 'trackedReserveETH';
first = 1000;
// Todo: remove when subgraph isn't throwing when calling volumeUSD
skipVolume = true;

Expand Down

0 comments on commit 4611f33

Please sign in to comment.