interlay / interbtc-squid

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

feat: add handler for IssueAmountChange event #14

Open gregdhill opened 2 years ago

gregdhill commented 2 years ago

Signed-off-by: Gregory Hill gregorydhill@outlook.com

When a user sends more or less BTC to a Vault we update the execution amounts under-the-hood. To show in the UI what changed (and how much griefing collateral was slashed) we should capture the IssueAmountChange event.