Skip to main content

Module eip7702

Module eip7702 

Source
Expand description

EIP-7702 bytecode. EIP-7702 bytecode constants and error types.

Enums§

Eip7702DecodeError
EIP-7702 decode errors.

Constants§

EIP7702_BYTECODE_LEN
EIP-7702 bytecode length: 2 (magic) + 1 (version) + 20 (address) = 23 bytes.
EIP7702_MAGIC
EIP-7702 Version Magic in u16 form.
EIP7702_MAGIC_BYTES
EIP-7702 magic number in array form.
EIP7702_MAGIC_HASH
Hash of EF01 bytes that is used for EXTCODEHASH when called from legacy bytecode.
EIP7702_VERSION
EIP-7702 first version of bytecode.