OZSmartAccountAuthPayloadCodec class abstract

Codec for reading and writing OZSmartAccountAuthPayload to and from XdrSCVal.

Handles the OpenZeppelin Smart Account contract AuthPayload format, which is a named struct (Map-based) with fields context_rule_ids and signers.

All entry points are pure static functions over their arguments; safe to call concurrently from any isolate.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

read(XdrSCVal signatureScVal) OZSmartAccountAuthPayload
Reads an OZSmartAccountAuthPayload from its XdrSCVal representation.
signerFromScVal(XdrSCVal scVal) OZSmartAccountSigner
Parses an OZSmartAccountSigner from its XdrSCVal representation.
upsertSigner(OZSmartAccountAuthPayload payload, OZSmartAccountSigner signer, Uint8List signatureBytes) → void
Upserts a signer entry in payload.
write(OZSmartAccountAuthPayload payload) XdrSCVal
Writes an OZSmartAccountAuthPayload to its XdrSCVal representation.