Structs§
- ArbSys
Merkle State - State changes from an ArbSys call for post-execution application.
Constants§
- ARBSYS_
ADDRESS - ArbSys precompile address (0x64).
Functions§
- create_
arbsys_ precompile - get_
cached_ l1_ block_ number - Get the cached L1 block number for a given L2 block.
- get_
current_ l2_ block - Get the current L2 block number.
- get_
tx_ is_ aliased - Check whether the current transaction uses address aliasing.
- l2_
to_ l1_ tx_ topic - send_
merkle_ update_ topic - set_
cached_ l1_ block_ number - Set the cached L1 block number for a given L2 block.
- set_
current_ l2_ block - Set the current L2 block number for precompile use. In Arbitrum, block_env.number holds the L1 block number (for the NUMBER opcode), so precompiles that need the L2 block number read it from here.
- set_
tx_ is_ aliased - Mark the current transaction as an aliased L1→L2 type.
- store_
arbsys_ state - Store ArbSys state changes for post-execution application.
- take_
arbsys_ state - Take the stored ArbSys state (clears it).