Skip to content

Commit

Permalink
chore: temporarily hardcode subgraph urls
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Dec 18, 2024
1 parent 159f6ac commit 0c1b5d7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions apps/explorer/src/consts/subgraphUrls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ function getSubgraphUrl(chainId: SupportedChainId, suffix: string): string | nul
* When value is null, then Subgraph is not supported for the network
*/
export const SUBGRAPH_URLS: Record<SupportedChainId, string | null> = {
[SupportedChainId.MAINNET]: getSubgraphUrl(SupportedChainId.MAINNET, 'MAINNET'),
[SupportedChainId.GNOSIS_CHAIN]: getSubgraphUrl(SupportedChainId.GNOSIS_CHAIN, 'GNOSIS_CHAIN'),
[SupportedChainId.ARBITRUM_ONE]: getSubgraphUrl(SupportedChainId.ARBITRUM_ONE, 'ARBITRUM_ONE'),
[SupportedChainId.MAINNET]:
'https://subgraph.satsuma-prod.com/a29a417e85ec/cow-nomev-labs-pt516811924/cow-subgraph-mainnet/api',
[SupportedChainId.GNOSIS_CHAIN]:
'https://subgraph.satsuma-prod.com/a29a417e85ec/cow-nomev-labs-pt516811924/cow-subgraphs-gnosis/api',
[SupportedChainId.ARBITRUM_ONE]:
'https://subgraph.satsuma-prod.com/a29a417e85ec/cow-nomev-labs-pt516811924/cow-subgraph-arb/api',
[SupportedChainId.BASE]: getSubgraphUrl(SupportedChainId.BASE, 'BASE'),
[SupportedChainId.SEPOLIA]: getSubgraphUrl(SupportedChainId.SEPOLIA, 'SEPOLIA'),
[SupportedChainId.SEPOLIA]:
'https://subgraph.satsuma-prod.com/a29a417e85ec/cow-nomev-labs-pt516811924/cow-subgraph-sepolia/api',
}

0 comments on commit 0c1b5d7

Please sign in to comment.