FixableDealState

Interface adding fixing specific methods.

Properties

Link copied to clipboard

Unique id shared by all LinearState states throughout history within the vaults of all parties. Verify methods should check that one input and one output share the id in a transaction, except at issuance/termination.

Link copied to clipboard
abstract val oracle: Party

What oracle service to use for the fixing

Link copied to clipboard

A participant is any party that should be notified when the state is created or consumed.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard
abstract fun generateFix(ptx: TransactionBuilder, oldState: StateAndRef<*>, fix: Fix)

Generate a fixing command for this deal and fix.

Link copied to clipboard

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!)

Link copied to clipboard
abstract fun nextFixingOf(): FixOf?

When is the next fixing and what is the fixing for?