Readonly
eventsReadonly
functionStore selectors', i.e., public and external function
s program counter entry.
Readonly
mappingsReadonly
revertsReadonly
variablesDecodes the input bytecode
into Opcode
s.
bytecode
may be a hexadecimal string,
which may or may not begin with the hex prefix 0x
.
const opcodes = [...this.decode('0x6003600501')];
hexadecimal string or array of numbers containing the bytecode to decode.
the byte position where to start decoding the input
bytecode,
defaults to 0
if not provided.
a generator of the decoded Opcode
s found in bytecode
.
Generated using TypeDoc v0.25.2
This module is used to
decode
bytecode intoOpcode
.Maps numeric opcodes (byte between
0
and255
) to decode configuration and string mnemonic. That is, for the givenopcode
,size
indicates the size of theopcode
's operand to consume from bytecode in bytes.halts
indicates where the step associated with thisopcode
shouldhalt
the EVMState
.mnemonic
indicates the step theEVM
should execute.