Skip to content

Commit

Permalink
update balancer and gauges subgraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
mendesfabio committed Jun 12, 2024
1 parent 26552b4 commit c9dfa59
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 30 deletions.
8 changes: 3 additions & 5 deletions src/lib/config/arbitrum/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,15 @@ const config: Config = {
publicRpc: 'https://arb1.arbitrum.io/rpc',
explorer: 'https://arbiscan.io',
explorerName: 'Arbiscan',
subgraph:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-arbitrum-v2',
subgraph: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/98cQDy6tufTJtshDCuhh9z2kWXsQWBHVh2bqnLHsGAeS`,
balancerApi: 'https://api.balancer.fi',
poolsUrlV2: '',
subgraphs: {
main: [
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-arbitrum-v2',
`https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/98cQDy6tufTJtshDCuhh9z2kWXsQWBHVh2bqnLHsGAeS`,
],
aave: '',
gauge:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges-arbitrum',
gauge: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/Bb1hVjJZ52kL23chZyyGWJKrGEg3S6euuNa1YA6XRU4J`,
blocks:
'https://api.thegraph.com/subgraphs/name/ianlapham/arbitrum-one-blocks',
},
Expand Down
8 changes: 3 additions & 5 deletions src/lib/config/avalanche/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,15 @@ const config: Config = {
publicRpc: 'https://avalanche.public-rpc.com',
explorer: 'https://snowtrace.io',
explorerName: 'Snowtrace',
subgraph:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-avalanche-v2',
subgraph: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/7asfmtQA1KYu6CP7YVm5kv4bGxVyfAHEiptt2HMFgkHu`,
balancerApi: 'https://api.balancer.fi',
poolsUrlV2: '',
subgraphs: {
main: [
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-avalanche-v2',
`https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/7asfmtQA1KYu6CP7YVm5kv4bGxVyfAHEiptt2HMFgkHu`,
],
aave: 'https://api.thegraph.com/subgraphs/name/aave/protocol-v2-avalanche',
gauge:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges-avalanche',
gauge: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/GzGBUh1X4Cq9RBdyKoCrPLhYW1saBYHwFBgcTsARPYUG`,
blocks:
'https://api.thegraph.com/subgraphs/name/iliaazhel/avalanche-blocks',
},
Expand Down
9 changes: 4 additions & 5 deletions src/lib/config/gnosis-chain/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Config } from '../types';
import keys from './keys';
import contracts from './contracts';
import pools from './pools';
import tokenlists from './tokenlists';
Expand Down Expand Up @@ -26,16 +27,14 @@ const config: Config = {
explorer: 'https://gnosisscan.io',
explorerName: 'Gnosisscan',
balancerApi: 'https://api.balancer.fi',
subgraph:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gnosis-chain-v2',
subgraph: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/EJezH1Cp31QkKPaBDerhVPRWsKVZLrDfzjrLqpmv6cGg`,
poolsUrlV2: '',
subgraphs: {
main: [
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gnosis-chain-v2',
`https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/EJezH1Cp31QkKPaBDerhVPRWsKVZLrDfzjrLqpmv6cGg`,
],
aave: '',
gauge:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges-gnosis-chain',
gauge: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/HW5XpZBi2iYDLBqqEEMiRJFx8ZJAQak9uu5TzyH9BBxy`,
blocks: '',
},
bridgeUrl: 'https://bridge.gnosischain.com/',
Expand Down
8 changes: 3 additions & 5 deletions src/lib/config/mainnet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,16 @@ const config: Config = {
ws: ``,
explorer: 'https://etherscan.io',
explorerName: 'Etherscan',
subgraph: 'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-v2',
subgraph: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/C4ayEZP2yTXRAB8vSaTrgN4m9anTe9Mdm2ViyiAuV9TV`,
balancerApi: 'https://api.balancer.fi',
poolsUrlV2:
'https://storageapi.fleek.co/johngrantuk-team-bucket/poolsV2.json',
subgraphs: {
main: [
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-v2',
`https://gateway.thegraph.com/api/${keys.graph}/subgraphs/id/GAWNgiGrA9eRce5gha9tWc7q5DPvN3fs5rSJ6tEULFNM`,
`https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/C4ayEZP2yTXRAB8vSaTrgN4m9anTe9Mdm2ViyiAuV9TV`,
],
aave: 'https://api.thegraph.com/subgraphs/name/aave/protocol-v2',
gauge:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges',
gauge: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/4sESujoqmztX6pbichs4wZ1XXyYrkooMuHA8sKkYxpTn`,
blocks:
'https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks',
},
Expand Down
9 changes: 4 additions & 5 deletions src/lib/config/optimism/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Config } from '../types';
import keys from './keys';
import contracts from './contracts';
import pools from './pools';
import tokenlists from './tokenlists';
Expand All @@ -24,17 +25,15 @@ const config: Config = {
blockTime: 13,
explorer: 'https://optimistic.etherscan.io/',
explorerName: 'The Optimism Explorer',
subgraph:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-optimism-v2',
subgraph: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/FsmdxmvBJLGjUQPxKMRtcWKzuCNpomKuMTbSbtRtggZ7`,
balancerApi: 'https://api.balancer.fi',
poolsUrlV2: '',
subgraphs: {
main: [
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-optimism-v2',
`https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/FsmdxmvBJLGjUQPxKMRtcWKzuCNpomKuMTbSbtRtggZ7`,
],
aave: '',
gauge:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges-optimism',
gauge: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/CbLt7GqU7sypjRaCfwissEBkFeCw3dUz2emrvBNJ7dZu`,
blocks:
'https://api.thegraph.com/subgraphs/name/iliaazhel/optimism-blocklytics',
},
Expand Down
8 changes: 3 additions & 5 deletions src/lib/config/polygon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,15 @@ const config: Config = {
publicRpc: 'https://polygon-rpc.com',
explorer: 'https://polygonscan.com',
explorerName: 'Polygonscan',
subgraph:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-prune-v2',
subgraph: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/H9oPAbXnobBRq1cB3HDmbZ1E8MWQyJYQjT1QDJMrdbNp`,
balancerApi: 'https://api.balancer.fi',
poolsUrlV2: '',
subgraphs: {
main: [
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-prune-v2',
`https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/H9oPAbXnobBRq1cB3HDmbZ1E8MWQyJYQjT1QDJMrdbNp`,
],
aave: 'https://api.thegraph.com/subgraphs/name/aave/aave-v2-matic',
gauge:
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges-polygon',
gauge: `https://gateway-arbitrum.network.thegraph.com/api/${keys.graph}/subgraphs/id/FxSLKXiieSqBCjDGPbqayhqbxyNtwaEC5M3rxr6hUa8h`,
blocks: 'https://api.thegraph.com/subgraphs/name/ianlapham/polygon-blocks',
},
bridgeUrl: 'https://wallet.polygon.technology/polygon/bridge',
Expand Down

0 comments on commit c9dfa59

Please sign in to comment.