mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
21 lines
417 B
Dart
21 lines
417 B
Dart
class PendingChange {
|
|
final String address;
|
|
final String amount;
|
|
|
|
PendingChange(this.address, this.amount);
|
|
}
|
|
|
|
mixin PendingTransaction {
|
|
String get id;
|
|
String get amountFormatted;
|
|
String get feeFormatted;
|
|
String? feeRate;
|
|
String get hex;
|
|
int? get outputCount => null;
|
|
PendingChange? change;
|
|
|
|
bool shouldCommitUR() => false;
|
|
|
|
Future<void> commit();
|
|
Future<Map<String, String>> commitUR();
|
|
}
|