cake_wallet/cw_core/lib/transaction_info.dart

23 lines
552 B
Dart
Raw Normal View History

import 'package:cw_core/transaction_direction.dart';
import 'package:cw_core/keyable.dart';
abstract class TransactionInfo extends Object with Keyable {
2022-10-12 17:09:57 +00:00
late String id;
late int amount;
int? fee;
late TransactionDirection direction;
late bool isPending;
late DateTime date;
late int height;
late int confirmations;
String amountFormatted();
String fiatAmount();
2022-10-12 17:09:57 +00:00
String? feeFormatted();
void changeFiatAmount(String amount);
String? to;
@override
dynamic get keyIndex => id;
2022-01-31 12:08:38 +00:00
2022-10-12 17:09:57 +00:00
late Map<String, dynamic> additionalInfo;
}