Class IncrementedBalances<T>

IncrementedBalances represents predetermined incremented balances for transfers of an approval. You can define a starting balance and increment the badge IDs and owned times by a certain amount.

Type Parameters

Hierarchy (view full)

Implements

Constructors

Properties

incrementBadgeIdsBy: T

The amount to increment the badge IDs by after each transfer.

incrementOwnershipTimesBy: T

The amount to increment the owned times by after each transfer.

startBalances: BalanceArray<T>

The starting balances for each transfer. Order number corresponds to the number of times we increment.

Methods

  • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

    If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

    Type Parameters

    Parameters

    • other: undefined | null | CustomType<U>
    • OptionalnormalizeNumberTypes: boolean

    Returns boolean