mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
8084f490b5
* CW-490 Use native Coin Freeze * CW-467 Code cleanup * CW-467 Fix native Code * CW-467 Extend Unspend * CW-467 Add isChange * CW-467 Minor Fixes * CW-467 Add isChange to Electrum Unspents * CW-467 Localize Change Tag * CW-467 Fix frozen balance showing on other monero wallets * CW-467 Fix frozen balance showing on other monero wallets
50 lines
805 B
Dart
50 lines
805 B
Dart
import 'package:mobx/mobx.dart';
|
|
|
|
part 'unspent_coins_item.g.dart';
|
|
|
|
class UnspentCoinsItem = UnspentCoinsItemBase with _$UnspentCoinsItem;
|
|
|
|
abstract class UnspentCoinsItemBase with Store {
|
|
UnspentCoinsItemBase({
|
|
required this.address,
|
|
required this.amount,
|
|
required this.hash,
|
|
required this.isFrozen,
|
|
required this.note,
|
|
required this.isSending,
|
|
required this.isChange,
|
|
required this.amountRaw,
|
|
required this.vout,
|
|
required this.keyImage
|
|
});
|
|
|
|
@observable
|
|
String address;
|
|
|
|
@observable
|
|
String amount;
|
|
|
|
@observable
|
|
String hash;
|
|
|
|
@observable
|
|
bool isFrozen;
|
|
|
|
@observable
|
|
String note;
|
|
|
|
@observable
|
|
bool isSending;
|
|
|
|
@observable
|
|
bool isChange;
|
|
|
|
@observable
|
|
int amountRaw;
|
|
|
|
@observable
|
|
int vout;
|
|
|
|
@observable
|
|
String? keyImage;
|
|
}
|