View Source Signet.VM.Context (Signet v1.0.0-echo6)

Summary

Types

@type op_map() :: %{required(integer()) => Signet.VM.opcode()}
@type t() :: %Signet.VM.Context{
  code: Signet.VM.code(),
  code_encoded: binary(),
  halted: binary(),
  memory: binary(),
  op_map: op_map(),
  pc: integer(),
  return_data: binary(),
  reverted: boolean(),
  stack: [binary()]
}

Functions

@spec init_from(Signet.VM.code()) :: t()