Module util

Module util 

Source

Structs§

TracingInfo
Tracing context passed through ArbOS for EVM debugging/tracing support.

Enums§

BalanceError
Failure modes returned by the balance-mutation callback that arbos hands state changes to.
TracingScenario
The scenario in which tracing is occurring.

Constants§

ADDRESS_ALIAS_OFFSET
The offset applied to L1 addresses when they appear on L2. This prevents a contract on L1 from impersonating an L2 address.
INVERSE_ADDRESS_ALIAS_OFFSET
The inverse offset for remapping L2 aliased addresses back to L1.

Functions§

burn_balance
Burns amount from from.
does_tx_type_alias
Whether a transaction type uses address aliasing.
inverse_remap_l1_address
Removes the L1→L2 address alias offset.
mint_balance
Mints amount to to.
remap_l1_address
Applies the L1→L2 address alias offset.
transfer_balance
Transfers balance between two addresses.
tx_type_has_poster_costs
Whether a transaction type incurs L1 poster costs. Only standard EOA-signed tx types (Legacy / EIP-2930 / EIP-1559) pay; all Arbitrum-specific types (deposit, unsigned, contract, retry, submit-retryable, internal) skip L1 charging.