Module arbsys

Module arbsys 

Source

Structs§

ArbSysMerkleState
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).