mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
311fff2c44
* update target sdk for android * make welcome page scrollable fix moonpay url params * fix null exception when restoring from backup * fix ui issues * hopefully fix the timeout exception error report [skip ci] * validate electrum addresses * disable silent payments for hardware wallets * fixes and enhancements
28 lines
No EOL
688 B
Dart
28 lines
No EOL
688 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;
|
|
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;
|
|
} |