public OwnableState extends ContractState
A contract state that can have a single owner.
@NotNull AbstractParty getOwner()
There must be a MoveCommand signed by this key to claim the amount.
@NotNull CommandAndState withNewOwner(@NotNull AbstractParty newOwner)
Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone.