data class State : FungibleAsset<Currency>A state representing a cash claim against some party
| <init> |
State(deposit: PartyAndReference, amount: Amount<Currency>, owner: PublicKey)State(amount: Amount<Issued<Currency>>, owner: PublicKey)A state representing a cash claim against some party |
| amount |
val amount: Amount<Issued<Currency>> |
| contract |
val contract: CashAn instance of the contract class that will verify this state. |
| deposit |
val deposit: PartyAndReferenceWhere the underlying asset backing this ledger entry can be found. The reference is only intended for use by the issuer, and is not intended to be meaningful to others. |
| exitKeys |
val exitKeys: Collection<PublicKey>There must be an ExitCommand signed by these keys to destroy the amount |
| issuanceDef |
val issuanceDef: Issued<Currency> |
| owner |
val owner: PublicKeyThere must be a MoveCommand signed by this key to claim the amount |
| participants |
val participants: List<PublicKey>A |
| move |
fun move(newAmount: Amount<Issued<Currency>>, newOwner: PublicKey): FungibleAsset<Currency> |
| 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): Stateinfix fun State.issued by(deposit: PartyAndReference): State |
| issuedBy |
fun State.issuedBy(party: Party): Statefun State.issuedBy(deposit: PartyAndReference): State |
| owned by |
infix fun State.owned by(owner: PublicKey): State |
| ownedBy |
fun State.ownedBy(owner: PublicKey): State |
| with deposit |
infix fun State.with deposit(deposit: PartyAndReference): State |
| withDeposit |
fun State.withDeposit(deposit: PartyAndReference): State |