Skip to content

Commit

Permalink
chore(cron): Migrate Arbitrum Subgraph (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeki authored May 17, 2024
1 parent f34fc2c commit fa4871d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cron/cache-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const v3SubgraphUrlOverride = (chainId: ChainId) => {
switch (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`
case ChainId.OPTIMISM:
return `https://subgraph.satsuma-prod.com/${process.env.ALCHEMY_QUERY_KEY}/uniswap/uniswap-v3-optimism-ii/api`
case ChainId.AVALANCHE:
Expand Down Expand Up @@ -76,7 +78,8 @@ export const chainProtocols = [
90000,
true,
v3TrackedEthThreshold,
v3UntrackedUsdThreshold
v3UntrackedUsdThreshold,
v3SubgraphUrlOverride(ChainId.ARBITRUM_ONE)
),
},
{
Expand Down

0 comments on commit fa4871d

Please sign in to comment.