Interface ScenarioGenerationDebuggingResult<ProgramState>

A scenario generation result that includes all compilation information for the scripts under test (in the scenario's "slot"s). This allows authentication template editors to display debugging information in context.

Note, scenarios can also include compilations for source outputs, inputs, and outputs that are not under test – while debugging information is not provided for these other compilations, any errors will result in scenario being set to an error message (string).

Type Parameters

  • ProgramState

Hierarchy

  • ScenarioGenerationDebuggingResult

Properties

lockingCompilation: CompilationResult<ProgramState>

The locking script, redeem script, or virtualized locking script compilation result.

scenario: string | Scenario

Either the compiled scenario or an error message describing the scenario generation failure.

unlockingCompilation?: CompilationResult<ProgramState>

The unlocking script or virtualized unlocking script compilation result. May be undefined if scenario generation failed prior to unlocking compilation (due to a failure in source output or transaction output compilation).

Generated using TypeDoc