Expand description
ArbOS storage layout primitives — subspace keys and slot derivation.
Modules§
- programs
- Partition keys within the programs subspace.
Constants§
- ADDRESS_
TABLE_ SUBSPACE - BLOCKHASHES_
SUBSPACE - BROTLI_
COMPRESSION_ LEVEL_ OFFSET - CHAIN_
CONFIG_ SUBSPACE - CHAIN_
ID_ OFFSET - CHAIN_
OWNER_ SUBSPACE - COLLECT_
TIPS_ OFFSET - FEATURES_
SUBSPACE - FILTERED_
FUNDS_ RECIPIENT_ OFFSET - GENESIS_
BLOCK_ NUM_ OFFSET - INFRA_
FEE_ ACCOUNT_ OFFSET - L1_
PRICING_ SUBSPACE - L2_
PRICING_ SUBSPACE - NATIVE_
TOKEN_ ENABLED_ FROM_ TIME_ OFFSET - NATIVE_
TOKEN_ SUBSPACE - NETWORK_
FEE_ ACCOUNT_ OFFSET - PROGRAMS_
SUBSPACE - RETRYABLES_
SUBSPACE - ROOT_
STORAGE_ KEY - SEND_
MERKLE_ SUBSPACE - TRANSACTION_
FILTERER_ SUBSPACE - TRANSACTION_
FILTERING_ ENABLED_ FROM_ TIME_ OFFSET - UPGRADE_
TIMESTAMP_ OFFSET - UPGRADE_
VERSION_ OFFSET - VERSION_
OFFSET
Functions§
- derive_
subspace_ key - Derive a subspace storage key from a parent key and child key bytes.
- gas_
constraints_ vec_ key - Gas constraints vector key (L2 pricing subspace).
- map_
slot - Compute the EVM storage slot for an ArbOS field at a given offset
within a storage scope defined by
storage_key. - map_
slot_ b256 - Compute the EVM storage slot for a B256 key within a storage scope.
- root_
slot - Compute a root-level ArbOS state slot.
- subspace_
slot - Compute a slot within a subspace of the root ArbOS state.
- vector_
element_ field - Slot for field
offsetwithin elementindexof a vector.