WHA class

Wallet Holdings Attestation - holdings of wallets across chains and their value at one time.

Constructors

WHA(List<int> bytes)
factory

Properties

ACCOUNTS → List<WHAAccount>?
Wallets read (in a request, the wallets to read).
no setter
AS_OF_MS → int
Unix milliseconds the holdings were read (the as-of time); 0 in a request.
no setter
asOfMs → int
no setter
ATTESTATION_ID → String?
Identifier of this attestation; empty = not assigned.
no setter
attestationId → String?
no setter
ATTESTED → bool
True when at least one chain was read, every chain is COMPLETE and ERRORS is empty: TOTAL_VALUE is then the attested value.
no setter
ATTESTER_ID → String?
Identifier of the attester (a peer identifier or module identifier).
no setter
attesterId → String?
no setter
CHAINS → List<WHAChain>?
no setter
CURRENCY → String?
Valuation currency, ISO 4217 code, e.g. "USD".
no setter
ERRORS → List<String>?
Problems met, one per line, e.g. "ETH: lookup incomplete"; empty when ATTESTED.
no setter
hashCode → int
The hash code for this object.
no setterinherited
HOLDINGS → List<WHAHolding>?
no setter
PURPOSE → String?
What the attestation is for, e.g. "security-bond", "treasury", "collateral"; empty = general.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SIGNATURE → List<int>?
Attester's signature over the attestation, and its scheme (e.g. "ed25519"); empty when unsigned.
no setter
SIGNATURE_TYPE → String?
no setter
signatureType → String?
no setter
SUBJECT_ID → String?
Whose holdings these are: a peer identifier, an account or an organization; empty = the attester's own.
no setter
subjectId → String?
no setter
TOTAL_VALUE → double
Sum of all priced holdings' values in CURRENCY. Meaningful as the attested value only when ATTESTED; otherwise a partial sum.
no setter
totalValue → double
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<WHA>