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 Nov 6, 2024
1 parent c64f6e3 commit 1cb7c3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/explorer/src/consts/subgraphUrls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ 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.SEPOLIA]: getSubgraphUrl(SupportedChainId.SEPOLIA, 'SEPOLIA'),
[SupportedChainId.MAINNET]: 'https://api.studio.thegraph.com/query/49707/cow-subgraph-mainnet/version/latest',
[SupportedChainId.GNOSIS_CHAIN]: 'https://api.studio.thegraph.com/query/49707/cow-subgraph-gnosis/version/latest',
[SupportedChainId.ARBITRUM_ONE]: 'https://api.studio.thegraph.com/query/49707/cow-subgraph-arb/version/latest',
[SupportedChainId.SEPOLIA]: 'https://api.studio.thegraph.com/query/49707/cow-subgraph-sepolia/version/latest',
}

0 comments on commit 1cb7c3b

Please sign in to comment.