Commodity State
A state representing a commodity claim against some party
Properties
There must be a MoveCommand signed by this key to claim the amount
A participant is any party that should be notified when the state is created or consumed.
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
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!)
Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone.
Copies the underlying data structure, replacing the amount and owner fields with the new values and leaving the rest (exitKeys) alone.