mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-27 22:19:41 +00:00
19 lines
401 B
Dart
19 lines
401 B
Dart
|
class Unspent {
|
||
|
Unspent(this.address, this.hash, this.value, this.vout, this.keyImage)
|
||
|
: isSending = true,
|
||
|
isFrozen = false,
|
||
|
note = '';
|
||
|
|
||
|
final String address;
|
||
|
final String hash;
|
||
|
final int value;
|
||
|
final int vout;
|
||
|
final String? keyImage;
|
||
|
|
||
|
bool isSending;
|
||
|
bool isFrozen;
|
||
|
String note;
|
||
|
|
||
|
bool get isP2wpkh => address.startsWith('bc') || address.startsWith('ltc');
|
||
|
}
|