Private
_haltedIndicates whether this State
has been halted.
The unique identifier of this State
when it has been executed by the EVM
.
The id
is undefined
when this State
has not been executed yet.
The id
s are assigned incrementally by the EVM
in the order they are executed.
Readonly
memoryReadonly
stackReadonly
stmtsThe statements executed that lead to this State
.
Indicates whether this State
has been halted.
When true
, no more execution should be allowed against this State
.
The last statement in this State
.
Creates a detached clone from this State
.
The cloned state only shallow copies both stack
and memory
,
while stmts
will be empty and halted
false.
Note however the shallow copy means the structure of both stack
and memory
are cloned,
not their contents.
This means that any expression E
in either the stack
or memory
will be shared across instances if they are references.
a new State
detached from this one.
Generated using TypeDoc v0.25.2
Represents the state of an EVM run with statements
S
and expressionsE
.