Skip to content

Commit

Permalink
Update blockNumbers subgraph config
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoguerios committed Jun 12, 2024
1 parent 773fd31 commit 0eea6c9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions balancer-js/src/lib/constants/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const BALANCER_NETWORK_CONFIG: Record<Network, BalancerNetworkConfig> = {
gaugesSubgraph:
'https://api.studio.thegraph.com/query/75376/balancer-gauges/version/latest',
blockNumberSubgraph:
'https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks', // TODO: check if this is still being used and if we have a new endpoint for those
'https://api.studio.thegraph.com/query/48427/ethereum-blocks/version/latest⁠',
},
thirdParty: {
coingecko: {
Expand Down Expand Up @@ -142,7 +142,7 @@ export const BALANCER_NETWORK_CONFIG: Record<Network, BalancerNetworkConfig> = {
gaugesSubgraph:
'https://api.studio.thegraph.com/query/75376/balancer-gauges-polygon/version/latest',
blockNumberSubgraph:
'https://api.thegraph.com/subgraphs/name/ianlapham/polygon-blocks', // TODO: same
'https://api.studio.thegraph.com/query/48427/polygon-blocks/version/latest',
},
thirdParty: {
coingecko: {
Expand Down Expand Up @@ -203,7 +203,7 @@ export const BALANCER_NETWORK_CONFIG: Record<Network, BalancerNetworkConfig> = {
gaugesSubgraph:
'https://api.studio.thegraph.com/query/75376/balancer-gauges-arbitrum/version/latest',
blockNumberSubgraph:
'https://api.thegraph.com/subgraphs/name/ianlapham/arbitrum-one-blocks',
'https://api.studio.thegraph.com/query/48427/arbitrum-blocks/version/latest',
},
thirdParty: {
coingecko: {
Expand Down Expand Up @@ -316,7 +316,7 @@ export const BALANCER_NETWORK_CONFIG: Record<Network, BalancerNetworkConfig> = {
gaugesSubgraph:
'https://api.studio.thegraph.com/query/75376/balancer-gauges-optimism/version/latest',
blockNumberSubgraph:
'https://api.thegraph.com/subgraphs/name/lyra-finance/optimism-mainnet-blocks',
'https://api.studio.thegraph.com/query/48427/optimism-blocks/version/latest',
},
pools: {},
sorConnectingTokens: [
Expand Down Expand Up @@ -355,6 +355,8 @@ export const BALANCER_NETWORK_CONFIG: Record<Network, BalancerNetworkConfig> = {
'https://api.studio.thegraph.com/query/75376/balancer-gnosis-chain-v2/version/latest',
gaugesSubgraph:
'https://api.studio.thegraph.com/query/75376/balancer-gauges-gnosis-chain/version/latest',
blockNumberSubgraph:
'https://api.studio.thegraph.com/query/48427/gnosis-blocks/version/latest',
},
thirdParty: {
coingecko: {
Expand Down Expand Up @@ -547,7 +549,7 @@ export const BALANCER_NETWORK_CONFIG: Record<Network, BalancerNetworkConfig> = {
gaugesSubgraph:
'https://api.studio.thegraph.com/query/75376/balancer-gauges-avalanche/version/latest',
blockNumberSubgraph:
'https://api.thegraph.com/subgraphs/name/iliaazhel/avalanche-blocks',
'https://api.studio.thegraph.com/query/48427/avalanche-blocks/version/latest',
},
thirdParty: {
coingecko: {
Expand Down

0 comments on commit 0eea6c9

Please sign in to comment.