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,
|
|
|
|
required this.vout});
|
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;
|
2021-05-25 17:32:36 +00:00
|
|
|
}
|