mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 18:07:44 +00:00
20 lines
No EOL
476 B
Dart
20 lines
No EOL
476 B
Dart
import 'package:cake_wallet/entities/transaction_direction.dart';
|
|
import 'package:cake_wallet/utils/mobx.dart';
|
|
|
|
abstract class TransactionInfo extends Object with Keyable {
|
|
String id;
|
|
int amount;
|
|
int fee;
|
|
TransactionDirection direction;
|
|
bool isPending;
|
|
DateTime date;
|
|
int height;
|
|
int confirmations;
|
|
String amountFormatted();
|
|
String fiatAmount();
|
|
String feeFormatted();
|
|
void changeFiatAmount(String amount);
|
|
|
|
@override
|
|
dynamic get keyIndex => id;
|
|
} |