threshold-network / staking-subgraphs

Threshold Network staking subgraphs
https://threshold.network
1 stars 1 forks source link

Add simple-pre-application subgraph #50

Closed manumonti closed 7 months ago

manumonti commented 7 months ago

To calculate the pending legacy Keep rewards [1] it is necessary to know if the stakes are elegible for legacy PRE rewards.

To know this, it is necessary to have (again) this subgraph.

This code comes mainly from https://github.com/threshold-network/staking-subgraphs/pull/39

[1] https://github.com/threshold-network/merkle-distribution/issues/112