mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
4c9c6a1eae
* Fix transaction receive address not showing for Eth/Erc20 [skip ci] * Fix transaction receive address for Eth/Erc20
23 lines
No EOL
552 B
Dart
23 lines
No EOL
552 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 int amount;
|
|
int? fee;
|
|
late TransactionDirection direction;
|
|
late bool isPending;
|
|
late DateTime date;
|
|
late int height;
|
|
late int confirmations;
|
|
String amountFormatted();
|
|
String fiatAmount();
|
|
String? feeFormatted();
|
|
void changeFiatAmount(String amount);
|
|
String? to;
|
|
|
|
@override
|
|
dynamic get keyIndex => id;
|
|
|
|
late Map<String, dynamic> additionalInfo;
|
|
} |