You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
502 B
21 lines
502 B
import 'package:cw_core/transaction_direction.dart';
|
|
import 'package:cake_wallet/utils/mobx.dart';
|
|
import 'package:cw_core/keyable.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;
|
|
} |