Expand description
EVM instruction implementations organized by category. EVM opcode implementations.
Modules§
- arithmetic
- Arithmetic operations (ADD, SUB, MUL, DIV, etc.).
- bitwise
- Bitwise operations (AND, OR, XOR, NOT, etc.).
- block_
info - Block information instructions (COINBASE, TIMESTAMP, etc.).
- contract
- Contract operations (CALL, CREATE, DELEGATECALL, etc.).
- control
- Control flow instructions (JUMP, JUMPI, REVERT, etc.).
- host
- Host environment interactions (SLOAD, SSTORE, LOG, etc.).
- i256
- Signed 256-bit integer operations.
- macros
- Utility macros to help implementing opcode instruction functions.
- memory
- Memory operations (MLOAD, MSTORE, MSIZE, etc.).
- stack
- Stack operations (PUSH, POP, DUP, SWAP, etc.).
- system
- System information instructions (ADDRESS, CALLER, etc.).
- tx_info
- Transaction information instructions (ORIGIN, GASPRICE, etc.).
- utility
- Utility functions and helpers for instruction implementation.
Functions§
- instruction_
table - Returns the instruction table for the given spec.
Type Aliases§
- Instruction
- EVM opcode function signature.
- Instruction
Table - Instruction table is list of instruction function pointers mapped to 256 EVM opcodes.