This PR adds support for "exempting" account balances identified by a certain SubAccount.Identifier or Currency from strict balance tracking (instead subjecting them to tracking that reflects the specified ExemptionType). In other words, it is now possible to specify which account balances may change without corresponding operations (i.e. staking rewards, vesting balances, tokens with dynamic supply).
BalanceExemptions should be used sparingly as they may introduce significant complexity for integrators that attempt to reconcile (compare computed balance with live balance) the balance of accounts they care about.
Fixes: #53
This PR adds support for "exempting" account balances identified by a certain
SubAccount.Identifier
orCurrency
from strict balance tracking (instead subjecting them to tracking that reflects the specifiedExemptionType
). In other words, it is now possible to specify which account balances may change without corresponding operations (i.e. staking rewards, vesting balances, tokens with dynamic supply).BalanceExemptions
should be used sparingly as they may introduce significant complexity for integrators that attempt to reconcile (compare computed balance with live balance) the balance of accounts they care about.