Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Decentralised Network #87

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/server/.wundergraph/wundergraph.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import operations from './wundergraph.operations';

/**
* The TokenSupply type on non-Ethereum chains has not historically had a blockchain property.
*
*
* Re-indexing the historical data is very time-consuming, so we modify the schema to add this field,
* and add it to each record in the operations.
*
*
* NOTE: this is currently ignored by Wundergraph
*/
const schemaExtension: string =
Expand Down Expand Up @@ -40,13 +40,13 @@ const treasuryArbitrum = introspect.graphql({

const treasuryFantom = introspect.graphql({
apiNamespace: "treasuryFantom",
url: "https://api.thegraph.com/subgraphs/name/olympusdao/protocol-metrics-fantom",
url: resolveSubgraphUrl("https://gateway-arbitrum.network.thegraph.com/api/[api-key]/deployments/id/QmSBMNhnzbe4c4cwznLUsFkE4H5XZfiVqLHnNZYA48EPwy"), // 0.0.6
schemaExtension: schemaExtension,
});

const treasuryPolygon = introspect.graphql({
apiNamespace: "treasuryPolygon",
url: "https://api.thegraph.com/subgraphs/name/olympusdao/protocol-metrics-polygon",
url: resolveSubgraphUrl("https://gateway-arbitrum.network.thegraph.com/api/[api-key]/deployments/id/QmdDUpqEzfKug1ER6HWM8c7U6wf3wtEtRBvXV7LkVoBi9f"), // 1.1.1
schemaExtension: schemaExtension,
});

Expand Down
Loading