WalletChipUi

data class WalletChipUi(val night: String, val unshielded: String, val shielded: String, val dust: String, val dustRegistered: Boolean, val synced: Boolean, val network: String, val syncing: Boolean = false, val syncProgress: Float? = null)

Sample-able UI model for the wallet chip's tiers.

Constructors

Link copied to clipboard
constructor(night: String, unshielded: String, shielded: String, dust: String, dustRegistered: Boolean, synced: Boolean, network: String, syncing: Boolean = false, syncProgress: Float? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val syncing: Boolean = false

True whenever a sync is in flight — determinate OR indeterminate. Drives the status indicator; syncProgress only carries a fraction when one is measurable.

Link copied to clipboard
val syncProgress: Float? = null

Live sync fraction (0..1) when a determinate sync is in flight; null = idle/indeterminate → the Panel tier hides the progress bar rather than showing a frozen mock.

Link copied to clipboard