interface FixableDealState : DealState
Interface adding fixing specific methods.
abstract val oracle: Party
What oracle service to use for the fixing |
abstract fun generateFix(ptx: TransactionBuilder, oldState: StateAndRef<*>, fix: Fix): Unit
Generate a fixing command for this deal and fix. |
|
abstract fun nextFixingOf(): FixOf?
When is the next fixing and what is the fixing for? |
abstract fun generateAgreement(notary: Party): TransactionBuilder
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. |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |
|
fun ContractState.hash(): SecureHash
Returns the SHA-256 hash of the serialised contents of this state (not cached!) fun ContractState.hash(algorithm: String): SecureHash
Returns the hash of the serialised contents of this state (not cached!) |