interface DealState : LinearState
Interface representing an agreement that exposes various attributes that are common. Implementing it simplifies implementation of general flows that manipulate many agreement types.
generateAgreement |
Generate a partial transaction representing an agreement (command) to this deal, allowing a general deal/agreement flow to generate the necessary transaction for potential implementations. abstract fun generateAgreement(notary: Party): TransactionBuilder |
hash |
Returns the SHA-256 hash of the serialised contents of this state (not cached!) fun ContractState.hash(): SecureHash
Returns the hash of the serialised contents of this state (not cached!) fun ContractState.hash(algorithm: String): SecureHash |
FixableDealState |
Interface adding fixing specific methods. interface FixableDealState : DealState |