From 89a86cb454b021586362e699d91a859826520a50 Mon Sep 17 00:00:00 2001 From: Miguel Cervera Date: Tue, 4 Jun 2024 15:22:03 -0700 Subject: [PATCH] chore(subgraph): Use decentralized network arbitrum subgraph --- lib/cron/cache-config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cron/cache-config.ts b/lib/cron/cache-config.ts index 6abd06e515..198269c4d7 100644 --- a/lib/cron/cache-config.ts +++ b/lib/cron/cache-config.ts @@ -7,7 +7,8 @@ const v3SubgraphUrlOverride = (chainId: ChainId) => { case ChainId.MAINNET: return `https://subgraph.satsuma-prod.com/${process.env.ALCHEMY_QUERY_KEY}/uniswap/uniswap-v3-mainnet/api` case ChainId.ARBITRUM_ONE: - return `https://subgraph.satsuma-prod.com/${process.env.ALCHEMY_QUERY_KEY}/uniswap/uniswap-v3-arbitrum-ii/api` + //https://thegraph.com/explorer/subgraphs/FbCGRftH4a3yZugY7TnbYgPJVEv2LvMT6oF1fxPe9aJM?view=Overview&chain=arbitrum-one + return `https://gateway-arbitrum.network.thegraph.com/api/${process.env.DCN_API_KEY}/subgraphs/id/FbCGRftH4a3yZugY7TnbYgPJVEv2LvMT6oF1fxPe9aJM` case ChainId.POLYGON: return `https://subgraph.satsuma-prod.com/${process.env.ALCHEMY_QUERY_KEY}/uniswap/uniswap-v3-polygon/api` case ChainId.OPTIMISM: