mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
1690f6af1e
* evm signature name * hide depositWithExpiry and transfer transactions * Update contact_list_view_model.dart * remove erc20 token history when disabled
27 lines
No EOL
661 B
Dart
27 lines
No EOL
661 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;
|
|
String? from;
|
|
String? evmSignatureName;
|
|
List<String>? inputAddresses;
|
|
List<String>? outputAddresses;
|
|
|
|
@override
|
|
dynamic get keyIndex => id;
|
|
|
|
late Map<String, dynamic> additionalInfo;
|
|
} |