Expand description
EVM Module
Enums§
- Opcode
- EVM Opcodes References https://evm.codes and https://github.com/ethereum/execution-specs/blob/master/lists/evm/proposed-opcodes.md
Constants§
- OPCODES
- All the EVM opcodes as a static array They are arranged in a particular order such that all the opcodes that have common prefixes are ordered alphabetically by decreasing length to avoid mismatch when lexing. Example : [origin, or] or [push32, …, push3]
- STACK_
IMMEDIATE_ MAX_ N - Largest stack depth reachable by DUPN and SWAPN
- STACK_
IMMEDIATE_ MIN_ N - Smallest stack depth reachable by DUPN and SWAPN
Statics§
- OPCODES_
MAP - Hashmap of all the EVM opcodes
Functions§
- decode_
pair_ 🔒immediate - Decodes an EXCHANGE immediate byte into its
(n, m)pair as defined by EIP-8024 - decode_
single_ 🔒immediate - Decodes a DUPN/SWAPN immediate byte as defined by EIP-8024