public FixableDealState extends DealState
Interface adding fixing specific methods.
@Nullable FixOf nextFixingOf()
When is the next fixing and what is the fixing for?
@NotNull Party getOracle()
What oracle service to use for the fixing
void generateFix(@NotNull TransactionBuilder ptx, @NotNull StateAndRef<?> oldState, @NotNull Fix fix)
Generate a fixing command for this deal and fix.
TODO: This would also likely move to methods on the Contract once the changes to reference the Contract from the ContractState are in.