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