ScWasmBridgeBase class abstract
Base ScWasmBridge that serializes the unsigned transaction to JSON and delegates the actual digest computation to processJson.
- Implemented types
- Implementers
Constructors
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
-
extractV2TransactionSemantics(
Map< String, dynamic> unsignedTransaction, {Iterable<String> changeAddresses = const []}) → Future<ScV2TransactionSemantics> -
override
-
extractV2TransactionSemanticsJson(
String jsonString) → Future< String> -
inspectV2TransactionSemantics(
Uint8List semanticBytes, {Iterable< String> changeAddresses = const []}) → Future<ScV2TransactionSemantics> -
override
-
inspectV2TransactionSemanticsJson(
String jsonString) → Future< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processJson(
String jsonString) → Future< String> - Implementation-specific: take the unsigned transaction JSON, compute the signing digests, and return the result transaction JSON string.
-
processUnsignedTransaction(
ScUnsignedTransaction unsignedTx) → Future< ScWasmResult> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited