data class State : CommonCashState<IssuanceDefinition>A state representing a cash claim against some party
| <init> |
State(deposit: PartyAndReference, amount: Amount, owner: PublicKey, notary: Party)A state representing a cash claim against some party |
| amount |
val amount: Amount |
| contract |
val contract: CashContract by which the state belongs |
| deposit |
val deposit: PartyAndReferenceWhere the underlying currency backing this ledger entry can be found (propagated) |
| issuanceDef |
val issuanceDef: IssuanceDefinition |
| notary |
val notary: PartyIdentity of the notary that ensures this state is not used as an input to a transaction more than once |
| owner |
val owner: PublicKeyThere must be a MoveCommand signed by this key to claim the amount |
| toString |
fun toString(): String |
| withNewOwner |
fun withNewOwner(newOwner: PublicKey): <ERROR CLASS>Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone |
| issued by |
infix fun State.issued by(party: Party): State |
| owned by |
infix fun State.owned by(owner: PublicKey): State |