CommodityState

data class CommodityState(val amount: <Error class: unknown class><<Error class: unknown class><<Error class: unknown class>>>, val owner: <Error class: unknown class>)

A state representing a commodity claim against some party

Constructors

Link copied to clipboard
constructor(deposit: <Error class: unknown class>, amount: <Error class: unknown class><<Error class: unknown class>>, owner: <Error class: unknown class>)
constructor(amount: <Error class: unknown class><<Error class: unknown class><<Error class: unknown class>>>, owner: <Error class: unknown class>)

Properties

Link copied to clipboard
open val amount: <Error class: unknown class><<Error class: unknown class><<Error class: unknown class>>>
Link copied to clipboard
Link copied to clipboard
open val owner: <Error class: unknown class>

There must be a MoveCommand signed by this key to claim the amount

Link copied to clipboard
open val participants: <Error class: unknown class>

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun withNewOwner(newOwner: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open fun withNewOwnerAndAmount(newAmount: <Error class: unknown class><<Error class: unknown class><<Error class: unknown class>>>, newOwner: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>>