centrifuge / pools-subql

Subquery for Pools on Centrifuge
MIT License
1 stars 4 forks source link

Tinlake support #104

Closed AStox closed 4 months ago

AStox commented 5 months ago

This PR adds support for indexing legacy tinlake TVL and loans. Some changes have been made to the Loan entity in the graphQL schema in order to support legacy loans. Changes were also made to the snapshotting logic in order to make it work smoothly across chains.

I removed the --frozen-lockfile flag from yarn install so that we could add the abab package. Without it we run into a atob is not defined error when trying to index evm blocks. See here for a similar issue: https://github.com/subquery/subql/issues/1277