mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
32e119e24f
* rbf fixes * Revert "rbf fixes" * fix replaced transactions * re-format electrum_wallet.dart [skip ci] * minor fixes [skip ci] --------- Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
30 lines
706 B
Dart
30 lines
706 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;
|
|
bool? isReplaced;
|
|
List<String>? inputAddresses;
|
|
List<String>? outputAddresses;
|
|
|
|
@override
|
|
dynamic get keyIndex => id;
|
|
|
|
late Map<String, dynamic> additionalInfo;
|
|
}
|
|
|