Module header

Module header 

Source

Structs§

ArbHeaderInfo
Holds Arbitrum-specific header metadata.

Constants§

ARBOS_STATE_ADDRESS
ArbOS state storage address.

Functions§

arbos_l1_block_number_slot
Get the storage address and slot for the ArbOS L1 block number.
compute_arbos_mixhash
Compute the mix hash from the three u64 components.
derive_arb_header_info
Derive ArbHeaderInfo from storage reads.
extract_arbos_version_from_mix_hash
Extract ArbOS version from header mix_hash (bytes 16-23).
extract_l1_block_number_from_mix_hash
Extract L1 block number from header mix_hash (bytes 8-15).
extract_send_count_from_mix_hash
Extract send count from header mix_hash (bytes 0-7).
extract_send_root_from_header_extra
Extract the send root from the first 32 bytes of header extra_data.
merkle_root_from_partials
Compute the Merkle root from partials stored in state.
read_arbos_version
Read ArbOS version from storage.
read_l2_base_fee
Read the L2 base fee from storage.
read_l2_per_block_gas_limit
Read the L2 per-block gas limit from storage.
read_storage_hash
Read a B256 hash from storage at a given slot.
read_storage_u64_be
Read a u64 from storage at a given slot (big-endian in last 8 bytes).