Structs§
- ArbHeader
Info - 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).