interface CommonCashState<I : CashIssuanceDefinition> : OwnableStateCommon elements of cash contract states.
| amount |
abstract val amount: Amount |
| deposit |
abstract val deposit: PartyAndReferenceWhere the underlying currency backing this ledger entry can be found (propagated) |
| issuanceDef |
abstract val issuanceDef: I |
| owner |
abstract val owner: PublicKeyThere must be a MoveCommand signed by this key to claim the amount |
| withNewOwner |
abstract fun withNewOwner(newOwner: PublicKey): <ERROR CLASS><CommandData, OwnableState>Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone |
| hash |
fun ContractState.hash(): SecureHashReturns the SHA-256 hash of the serialised contents of this state (not cached) |
| label |
infix fun ContractState.label(label: String): LabeledOutput |
| State |
data class State : CommonCashState<IssuanceDefinition>A state representing a cash claim against some party |