threshold-network / merkle-distribution

Threshold Network rewards generation and distribution
https://threshold.network
1 stars 6 forks source link

Remove legacy queries to SimplePREApplication #143

Closed manumonti closed 4 months ago

manumonti commented 4 months ago

SimplePREApplication subgraph was created to get data about the legacy PRE operator so legacy Nu rewards could be calculated.

Since SimplePREApplication contract has been deactivated and there are no rewards calculated for PRE, the queries to this subgraph can be removed.

Note to reviewers:

Almost all the files modified in this PR have been automatically updated when running yarn graphclient build --fileType json. The only files that are worth reviewing are .graphclientrc.yml and src/scripts/utils/graphql/PREOpsBeforeLegacyDeactQuery.gql.