interlay / interbtc-squid

Subquid GraphQL schema and indexer for the Interlay and Kintsugi networks
Apache License 2.0
4 stars 7 forks source link

[loans] Track account's earned interest on supply positions #125

Closed peterslany closed 1 year ago

peterslany commented 1 year ago

Add earned interest for supply positions. If it's too complex we can track only total deposited amount in underlying asset by updating state on each supply/withdrawal from market.

https://discord.com/channels/745259537707040778/1063145456756064256/1063145460509974568

Blocking strategies page https://github.com/interlay/interbtc-ui/pull/1473

peterslany commented 1 year ago

Resolved with https://github.com/interlay/interbtc-squid/pull/127