TimeLockTextUI

class TimeLockTextUI(val contract: TimeLockVault) : TextUI

Constructors

Link copied to clipboard
constructor(contract: TimeLockVault)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun details(): String

Multi-line breakdown: vault identity, native balance, per-group token balances, and maturity status.

Link copied to clipboard
open override fun sendingDetails(tx: iTransaction): String

Per-tx detail for a deposit to the vault.

Link copied to clipboard
open override fun spendingDetails(tx: iTransaction): String

Per-tx detail for a withdrawal from the vault. Kept brief — full tx inspection happens elsewhere; this is just the vault-specific annotation in a list view.

Link copied to clipboard
open override fun status(): String

One line PER VAULT: index, address, that vault's own balance, and maturity status. TextUI.status asks for a single line per contract, but this contract is a factory of vaults — one line could either show a sibling vault's coins under the current vault's address or hide them entirely (the MR !111 report) — so every vault the wallet can see gets its own full line: the current vault always, plus every other vault the factory has built, funded or not (see knownVaults).