Skip to content

SimulationOpcodeTraceUnit

SimulationOpcodeTraceUnit: object

The set of trace information and effect from evaluating a single opcode.

Type declaration

pc

pc: number

The program counter of the current opcode being evaluated.

scratch-changes?

optional scratch-changes: ScratchChange[]

The writes into scratch slots.

spawned-inners?

optional spawned-inners: number[]

The indexes of the traces for inner transactions spawned by this opcode, if any.

stack-additions?

optional stack-additions: AvmValue[]

The values added by this opcode to the stack.

stack-pop-count?

optional stack-pop-count: number

The number of deleted stack values by this opcode.

state-changes?

optional state-changes: ApplicationStateOperation[]

The operations against the current application’s states.

Defined in

types.gen.ts:991