Structs§
- Tracing
Info - Tracing context passed through ArbOS for EVM debugging/tracing support.
Enums§
- Tracing
Scenario - 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§
- address_
from_ 256_ from_ reader - Reads a 32-byte padded address from a reader (last 20 bytes are the address).
- address_
from_ reader - Reads a 20-byte address from a reader.
- address_
to_ 256_ to_ writer - Writes a 32-byte padded address to a writer (left-padded with zeros).
- address_
to_ hash - Converts an address to a B256 hash (left-padded with zeros).
- address_
to_ writer - Writes a 20-byte address to a writer.
- burn_
balance - Burns balance from the given address.
- bytestring_
from_ reader - Reads a length-prefixed byte string from a reader.
- bytestring_
to_ writer - Writes a length-prefixed byte string to a writer.
- does_
tx_ type_ alias - Whether a transaction type uses address aliasing.
- hash_
from_ reader - Reads a 32-byte hash from a reader.
- hash_
to_ writer - Writes a 32-byte hash to a writer.
- int_
to_ hash - Converts a signed integer to a B256 hash (big-endian).
- inverse_
remap_ l1_ address - Removes the L1→L2 address alias offset.
- mint_
balance - Mints balance to the given address.
- 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 and standard fee distribution.
- uint64_
from_ reader - Reads a uint64 from a reader (big-endian).
- uint64_
to_ writer - Writes a uint64 to a writer (big-endian).
- uint256_
from_ reader - Reads a U256 from a reader (big-endian).
- uint_
to_ hash - Converts an unsigned integer to a B256 hash (big-endian).