interface FixableDealState : DealStateInterface adding fixing specific methods
| parties |
abstract val parties: Array<Party>Exposes the Parties involved in a generic way |
| ref |
abstract val ref: StringHuman readable well known reference (e.g. trade reference) |
| generateFix |
abstract fun generateFix(ptx: TransactionBuilder, oldState: StateAndRef<*>, fix: Fix): UnitGenerate a fixing command for this deal and fix |
| nextFixingOf |
abstract fun nextFixingOf(): FixOf?When is the next fixing and what is the fixing for? |
| generateAgreement |
abstract fun generateAgreement(notary: Party): TransactionBuilderGenerate a partial transaction representing an agreement (command) to this deal, allowing a general deal/agreement protocol to generate the necessary transaction for potential implementations |
| withPublicKey |
abstract fun withPublicKey(before: Party, after: PublicKey): DealState |
| hash |
fun ContractState.hash(): SecureHashReturns the SHA-256 hash of the serialised contents of this state (not cached) |
| with notary |
infix fun ContractState.with notary(notary: Party): TransactionState<ContractState> |
| State |
data class State : FixableDealState, SchedulableStateThe state class contains the 4 major data classes |