mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
bbba41396d
* refactor: remove bitcoin_flutter, update deps, electrs node improvements * feat: connecting/disconnecting improvements, fix rescan by date, scanning message * chore: print * Update pubspec.yaml * Update pubspec.yaml * handle null sockets, retry connection on connect failure * fix imports * fix transaction history * fix RBF * minor fixes/readability enhancements [skip ci] --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com> Co-authored-by: Matthew Fosse <matt@fosse.co>
29 lines
686 B
Dart
29 lines
686 B
Dart
import 'package:cw_core/transaction_direction.dart';
|
|
import 'package:cw_core/keyable.dart';
|
|
|
|
abstract class TransactionInfo extends Object with Keyable {
|
|
late String id;
|
|
late String txHash = id;
|
|
late int amount;
|
|
int? fee;
|
|
late TransactionDirection direction;
|
|
late bool isPending;
|
|
late DateTime date;
|
|
int? height;
|
|
late int confirmations;
|
|
String amountFormatted();
|
|
String fiatAmount();
|
|
String? feeFormatted();
|
|
void changeFiatAmount(String amount);
|
|
String? to;
|
|
String? from;
|
|
String? evmSignatureName;
|
|
List<String>? inputAddresses;
|
|
List<String>? outputAddresses;
|
|
|
|
@override
|
|
dynamic get keyIndex => id;
|
|
|
|
late Map<String, dynamic> additionalInfo;
|
|
}
|
|
|