interlay / interbtc-squid

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

[Blocked] feat: adding more fields to vault scalar #77

Closed jtfirek closed 1 year ago

jtfirek commented 1 year ago

Pr for adding to vault scalar.

jtfirek commented 1 year ago

Do you guys have any thoughts on the assumptions I have made so far in this pr @nud3l @bvotteler :

bvotteler commented 1 year ago
  • Pulling the threshold values from storage is very expensive so right now thresholds are only updated when a change has been made to the vault collateral or Btc amount.

We could also check in with the parachain devs whether we can get an event added for thresholds being set. That would save us from having to query state.

jtfirek commented 1 year ago

Once these events are merged into the blockchain, I will be able complete this pr. https://github.com/interlay/interbtc/pull/961 https://github.com/interlay/interbtc/pull/967

bvotteler commented 1 year ago

Closing stale PR