2021-07-05 13:52:24 +00:00
|
|
|
import 'package:mobx/mobx.dart';
|
|
|
|
|
|
|
|
part 'unspent_coins_item.g.dart';
|
|
|
|
|
|
|
|
class UnspentCoinsItem = UnspentCoinsItemBase with _$UnspentCoinsItem;
|
|
|
|
|
|
|
|
abstract class UnspentCoinsItemBase with Store {
|
|
|
|
UnspentCoinsItemBase({
|
2022-10-12 17:09:57 +00:00
|
|
|
required this.address,
|
|
|
|
required this.amount,
|
|
|
|
required this.hash,
|
|
|
|
required this.isFrozen,
|
|
|
|
required this.note,
|
2023-04-20 13:46:41 +00:00
|
|
|
required this.isSending,
|
|
|
|
required this.amountRaw,
|
2023-08-24 13:54:05 +00:00
|
|
|
required this.vout,
|
|
|
|
required this.keyImage
|
|
|
|
});
|
2021-07-05 13:52:24 +00:00
|
|
|
|
|
|
|
@observable
|
|
|
|
String address;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
String amount;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
String hash;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
bool isFrozen;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
String note;
|
2021-05-25 17:32:36 +00:00
|
|
|
|
2021-07-05 13:52:24 +00:00
|
|
|
@observable
|
|
|
|
bool isSending;
|
2023-04-20 13:46:41 +00:00
|
|
|
|
|
|
|
@observable
|
|
|
|
int amountRaw;
|
|
|
|
|
|
|
|
@observable
|
|
|
|
int vout;
|
2023-08-24 13:54:05 +00:00
|
|
|
|
|
|
|
@observable
|
|
|
|
String? keyImage;
|
|
|
|
}
|