A half-open account balance range asserting that an account balance b satisfies inclusiveLowerBound <= b < exclusiveUpperBound at validation time (Dijkstra account_balance_interval).

On the wire this is a fixed 2-element array [inclusive_lower_bound, exclusive_upper_bound] where an absent bound encodes as CBOR null (nil). At most one bound may be nil; a bound of 0 is a valid coin value distinct from nil.

Hierarchy

  • AccountBalanceInterval

Constructors

Properties

#exclusiveUpperBound: undefined | bigint
#inclusiveLowerBound: undefined | bigint
#originalBytes: undefined | HexBlob = undefined

Methods

Generated using TypeDoc