Structs§
- EndTx
FeeDistribution - Fee distribution result from end-tx hook (normal transactions).
- EndTx
Normal Params - Parameters for end-tx fee distribution (normal transactions).
- EndTx
Retryable Params - Parameters for end-tx hook (retryable transactions).
- EndTx
Retryable Result - Result from end-tx retryable hook.
- GasCharging
Params - Parameters for the gas charging hook.
- Submit
Retryable Fees - Computed fee distribution for a submit retryable transaction.
- Submit
Retryable Params - Parameters for computing submit retryable fees.
- TxProcessor
- Per-transaction state for processing Arbitrum transactions.
Enums§
- GasCharging
Error - Error from gas charging.
- Reverted
TxAction - Action to take for a reverted/filtered transaction.
Constants§
- ARBOS_
ADDRESS - ArbOS system address (0x00000000000000000000000000000000000a4b05).
- GAS_
ESTIMATION_ L1_ PRICE_ PADDING_ BIPS - Padding applied to L1 gas price estimates for safety margin (110% = 11000 bips).
- TX_GAS
- Standard Ethereum base transaction gas.
Functions§
- compute_
poster_ gas - Compute poster gas given a poster cost and base fee, with optional gas estimation padding.
- compute_
retryable_ gas_ split - Compute the gas payment split between infra and network fee accounts.
- compute_
submit_ retryable_ fees - Compute fees for a submit retryable transaction.
- get_
poster_ gas - Calculates the poster gas cost for a transaction’s calldata.
- take_
funds - Attempts to subtract up to
takefrompoolwithout going negative. Returns the amount actually subtracted.