Skip to main content

Crate bytecode

Crate bytecode 

Expand description

Crate that contains bytecode types and opcode constants.

Legacy bytecode will always contain a jump table.

While EIP-7702 bytecode must contains a Address.

Modules§

bitvec
bytecode
Module that contains the bytecode struct with all variants supported by Ethereum mainnet.
eip7702
EIP-7702 bytecode. EIP-7702 bytecode constants and error types.
opcode
EVM opcode definitions and utilities. It contains opcode information and utilities to work with opcodes.
primitives
revm-primitives
utils
Various utilities for the bytecode

Structs§

Bytecode
Ethereum EVM bytecode.
BytecodeIterator
Iterator over opcodes in a bytecode, skipping immediates.
JumpTable
A table of valid jump destinations.
OpCode
An EVM opcode

Enums§

BytecodeDecodeError
Bytecode decode errors
BytecodeKind
The kind of bytecode.