Module bytecode

Module bytecode 

Source
Expand description

Bytecode handling utilities

Provides type-safe bytecode operations including parsing, validation, and hash computation.

Structs§

Bytecode
Represents compiled contract bytecode

Functions§

compute_bytecode_hash
Compute keccak256 hash of bytecode hex string
is_valid_bytecode
Check if a hex string represents valid bytecode (non-empty and decodable)
parse_hex_block_number
Parse a hex block number (e.g., “0x1a4” -> 420)