Skip to content

Commit

Permalink
Merge pull request #75 from GenerationSoftware/goldsky-subgraphs
Browse files Browse the repository at this point in the history
Updated Subgraph URIs
  • Loading branch information
Ncookiez authored Nov 25, 2024
2 parents b61a472 + 0a04cd6 commit d16d482
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/hyperstructure-react-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@generationsoftware/hyperstructure-react-hooks",
"description": "React hooks library for interacting with PoolTogether contracts",
"version": "1.25.3",
"version": "1.25.4",
"license": "MIT",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
18 changes: 12 additions & 6 deletions shared/utilities/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,12 +580,18 @@ export const LIQUIDATION_ROUTER_ADDRESSES: { [chainId: number]: Address } = {
* Subgraph API URLs
*/
export const SUBGRAPH_API_URLS = {
[NETWORK.mainnet]: 'https://api.studio.thegraph.com/query/63100/pt-v5-ethereum/version/latest',
[NETWORK.optimism]: 'https://api.studio.thegraph.com/query/63100/pt-v5-optimism/version/latest',
[NETWORK.base]: 'https://api.studio.thegraph.com/query/41211/pt-v5-base/version/latest',
[NETWORK.arbitrum]: 'https://api.studio.thegraph.com/query/63100/pt-v5-arbitrum/version/latest',
[NETWORK.scroll]: 'https://api.studio.thegraph.com/query/63100/pt-v5-scroll/version/latest',
[NETWORK.gnosis]: 'https://api.studio.thegraph.com/query/63100/pt-v5-gnosis/version/latest',
[NETWORK.mainnet]:
'https://api.goldsky.com/api/public/project_cm3xb1e8iup5601yx9mt5caat/subgraphs/pt-v5-ethereum/v0.0.2/gn',
[NETWORK.optimism]:
'https://api.goldsky.com/api/public/project_cm3xb1e8iup5601yx9mt5caat/subgraphs/pt-v5-optimism/v0.0.4/gn',
[NETWORK.base]:
'https://api.goldsky.com/api/public/project_cm3xb1e8iup5601yx9mt5caat/subgraphs/pt-v5-base/v0.0.1/gn',
[NETWORK.arbitrum]:
'https://api.goldsky.com/api/public/project_cm3xb1e8iup5601yx9mt5caat/subgraphs/pt-v5-arbitrum-one/v0.0.1/gn',
[NETWORK.scroll]:
'https://api.goldsky.com/api/public/project_cm3xb1e8iup5601yx9mt5caat/subgraphs/pt-v5-scroll/v0.0.1/gn',
[NETWORK.gnosis]:
'https://api.goldsky.com/api/public/project_cm3xb1e8iup5601yx9mt5caat/subgraphs/pt-v5-gnosis/v0.0.1/gn',
[NETWORK.optimism_sepolia]:
'https://api.studio.thegraph.com/query/63100/pt-v5-op-sepolia/version/latest',
[NETWORK.arbitrum_sepolia]:
Expand Down

0 comments on commit d16d482

Please sign in to comment.