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