data class SingleOwnerState : OwnableState, State| <init> |
SingleOwnerState(magicNumber: Int = 0, owner: CompositeKey) |
| contract |
val contract: DummyContractAn instance of the contract class that will verify this state. |
| magicNumber |
val magicNumber: Int |
| owner |
val owner: CompositeKeyThere must be a MoveCommand signed by this key to claim the amount |
| participants |
val participants: List<CompositeKey>A |
| withNewOwner |
fun withNewOwner(newOwner: CompositeKey): <ERROR CLASS>Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone |