State
A state representing the obligation of one party (obligor) to deliver a specified number of units of an underlying asset (described as token.acceptableIssuedProducts) to the beneficiary no later than the specified time.
Parameters
the product the obligation is for payment of.
Constructors
Properties
The public key of the entity the contract pays to
Returns an object used to determine if two states can be subject to close-out netting. If two states return equal objects, they can be close out netted together.
There must be an ExitCommand signed by these keys to destroy the amount. While all states require their owner to sign, some (i.e. cash) also require the issuer.
Returns an object used to determine if two states can be subject to close-out netting. If two states return equal objects, they can be close out netted together.
Where the debt originates from (obligor)
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!)
Perform bilateral netting of this state with another state. The two states must be compatible (as in bilateralNetState objects are equal).
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.