Skip to content

Commit

Permalink
Merge pull request #88 from OlympusDAO/develop
Browse files Browse the repository at this point in the history
Release: Migrate to Decentralised Network
  • Loading branch information
0xJem authored Jun 6, 2024
2 parents 346454c + efa28bc commit dcf7b3a
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit dcf7b3a

Please sign in to comment.