Skip to content

Commit

Permalink
chore(subgraph): Use decentralized network arbitrum subgraph (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeki authored Jun 4, 2024
1 parent b90c12c commit e99139d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cron/cache-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e99139d

Please sign in to comment.