Skip to content

Commit

Permalink
use goldsky subgraphs over the graph's hosted ones (#1943)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparkallas committed May 24, 2024
1 parent 8a6b28e commit 8b26dd5
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 57 deletions.
4 changes: 4 additions & 0 deletions packages/metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to the metadata will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.2.3]
### Changed
- Use Goldsky automation subgraphs over The Graph's hosted service ones

## [v1.2.2]
### Added
- Added Base v1 subgraph endpoint
Expand Down
39 changes: 20 additions & 19 deletions packages/metadata/main/networks/list.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ module.exports =
},
"subgraphVesting": {
"name": "vesting-v1-xdai-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-xdai-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-xdai-mainnet/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-xdai-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-xdai-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-xdai-mainnet/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-xdai-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-xdai-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-xdai-mainnet/prod/gn"
},
"publicRPCs": [
"https://rpc.gnosischain.com",
Expand Down Expand Up @@ -284,15 +284,15 @@ module.exports =
},
"subgraphVesting": {
"name": "vesting-v1-polygon-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-polygon-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-polygon-mainnet/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-polygon-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-polygon-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-polygon-mainnet/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-polygon-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-polygon-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-polygon-mainnet/prod/gn"
},
"publicRPCs": [
"https://polygon-rpc.com",
Expand Down Expand Up @@ -345,15 +345,15 @@ module.exports =
},
"subgraphVesting": {
"name": "vesting-v1-optimism-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-optimism-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-optimism-mainnet/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-optimism-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-optimism-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-optimism-mainnet/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-optimism-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-optimism-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-optimism-mainnet/prod/gn"
},
"publicRPCs": [
"https://mainnet.optimism.io",
Expand Down Expand Up @@ -406,15 +406,15 @@ module.exports =
},
"subgraphVesting": {
"name": "vesting-v1-arbitrum-one",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-arbitrum-one"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-arbitrum-one/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-arbitrum-one",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-arbitrum-one"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-arbitrum-one/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-arbitrum-one",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-arbitrum-one"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-arbitrum-one/prod/gn"
},
"publicRPCs": [
"https://arb1.arbitrum.io/rpc",
Expand Down Expand Up @@ -467,15 +467,15 @@ module.exports =
},
"subgraphVesting": {
"name": "vesting-v1-avalanche-c",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-avalanche-c"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-avalanche-c/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-avalanche-c",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-avalanche-c"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-avalanche-c/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-avalanche-c",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-avalanche-c"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-avalanche-c/prod/gn"
},
"publicRPCs": [
"https://api.avax.network/ext/bc/C/rpc",
Expand Down Expand Up @@ -528,15 +528,15 @@ module.exports =
},
"subgraphVesting": {
"name": "vesting-v1-bsc-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-bsc-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-bsc-mainnet/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-bsc-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-bsc-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-bsc-mainnet/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-bsc-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-bsc-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-bsc-mainnet/prod/gn"
},
"publicRPCs": [
"https://bscrpc.com",
Expand Down Expand Up @@ -681,7 +681,8 @@ module.exports =
"explorer": "https://basescan.org",
"subgraphV1": {
"cliName": "base",
"name": "protocol-v1-base-mainnet"
"name": "protocol-v1-base-mainnet",
"satsumaEndpoint": "https://subgraph.satsuma-prod.com/c5br3jaVlJI6/superfluid/base-mainnet/api"
},
"subgraphVesting": {
"name": "vesting-v1-base-mainnet",
Expand Down
39 changes: 20 additions & 19 deletions packages/metadata/module/networks/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ export default
},
"subgraphVesting": {
"name": "vesting-v1-xdai-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-xdai-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-xdai-mainnet/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-xdai-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-xdai-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-xdai-mainnet/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-xdai-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-xdai-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-xdai-mainnet/prod/gn"
},
"publicRPCs": [
"https://rpc.gnosischain.com",
Expand Down Expand Up @@ -284,15 +284,15 @@ export default
},
"subgraphVesting": {
"name": "vesting-v1-polygon-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-polygon-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-polygon-mainnet/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-polygon-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-polygon-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-polygon-mainnet/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-polygon-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-polygon-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-polygon-mainnet/prod/gn"
},
"publicRPCs": [
"https://polygon-rpc.com",
Expand Down Expand Up @@ -345,15 +345,15 @@ export default
},
"subgraphVesting": {
"name": "vesting-v1-optimism-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-optimism-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-optimism-mainnet/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-optimism-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-optimism-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-optimism-mainnet/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-optimism-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-optimism-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-optimism-mainnet/prod/gn"
},
"publicRPCs": [
"https://mainnet.optimism.io",
Expand Down Expand Up @@ -406,15 +406,15 @@ export default
},
"subgraphVesting": {
"name": "vesting-v1-arbitrum-one",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-arbitrum-one"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-arbitrum-one/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-arbitrum-one",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-arbitrum-one"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-arbitrum-one/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-arbitrum-one",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-arbitrum-one"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-arbitrum-one/prod/gn"
},
"publicRPCs": [
"https://arb1.arbitrum.io/rpc",
Expand Down Expand Up @@ -467,15 +467,15 @@ export default
},
"subgraphVesting": {
"name": "vesting-v1-avalanche-c",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-avalanche-c"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-avalanche-c/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-avalanche-c",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-avalanche-c"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-avalanche-c/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-avalanche-c",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-avalanche-c"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-avalanche-c/prod/gn"
},
"publicRPCs": [
"https://api.avax.network/ext/bc/C/rpc",
Expand Down Expand Up @@ -528,15 +528,15 @@ export default
},
"subgraphVesting": {
"name": "vesting-v1-bsc-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-bsc-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-bsc-mainnet/prod/gn"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-bsc-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-bsc-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-bsc-mainnet/prod/gn"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-bsc-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-bsc-mainnet"
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-bsc-mainnet/prod/gn"
},
"publicRPCs": [
"https://bscrpc.com",
Expand Down Expand Up @@ -681,7 +681,8 @@ export default
"explorer": "https://basescan.org",
"subgraphV1": {
"cliName": "base",
"name": "protocol-v1-base-mainnet"
"name": "protocol-v1-base-mainnet",
"satsumaEndpoint": "https://subgraph.satsuma-prod.com/c5br3jaVlJI6/superfluid/base-mainnet/api"
},
"subgraphVesting": {
"name": "vesting-v1-base-mainnet",
Expand Down
Loading

0 comments on commit 8b26dd5

Please sign in to comment.