OwnableState

A contract state that can have a single owner.

Inheritors

Properties

Link copied to clipboard
abstract val owner: AbstractParty

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

Link copied to clipboard

A participant is any party that should be notified when the state is created or consumed.

Link copied to clipboard

Obtain the typename of the required ContractClass associated with the target ContractState, using the BelongsToContract annotation by default, but falling through to checking the state's enclosing class if there is one and it inherits from Contract.

Functions

Link copied to clipboard

Returns the SHA-256 hash of the serialised contents of this state (not cached!)

Returns the hash of the serialised contents of this state (not cached!)

Link copied to clipboard
abstract fun withNewOwner(newOwner: AbstractParty): CommandAndState

Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone.