BalanceExemption class
BalanceExemption indicates that the balance for an exempt account
could change without a corresponding Operation. This typically occurs with
staking rewards, vesting balances, and Currencies with a dynamic supply.
Currently, it is possible to exempt an account from strict reconciliation
by SubAccountIdentifier.Address
or by Currency. This means that any account
with SubAccountIdentifier.Address
would be exempt or any balance of a
particular Currency would be exempt, respectively. BalanceExemptions
should be used sparingly as they may introduce significant complexity for
integrators that attempt to reconcile all account balance changes.
If your implementation relies on any BalanceExemptions, you MUST implement
historical balance lookup
(the ability to query an account balance at any BlockIdentifier).
- Annotations
-
- @immutable
Constructors
- BalanceExemption(String? subAccountAddress, Currency? currency, String? exemptionType)
-
"greater_or_equal" | "less_or_equal" | "dynamic";
const
-
BalanceExemption.fromJson(Map<
String, dynamic> map) -
factory
Properties
- currency → Currency?
-
final
- exemptionType → String?
-
exemptionType is used to indicate if the live balance for
an account subject to a BalanceExemption could increase above,
decrease below, or equal the computed balance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subAccountAddress → String?
-
subAccountAddress is the
SubAccountIdentifier.Address
that the BalanceExemption applies to (regardless of the value ofSubAccountIdentifier.Metadata
).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited