ArbTransactionExt

Trait ArbTransactionExt 

Source
pub trait ArbTransactionExt {
    // Provided methods
    fn submit_retryable_info(&self) -> Option<SubmitRetryableInfo> { ... }
    fn retry_tx_info(&self) -> Option<RetryTxInfo> { ... }
    fn poster_units_for(
        &self,
        _level: u64,
        compute: &mut dyn FnMut() -> u64,
    ) -> u64 { ... }
}
Expand description

Trait for extracting Arbitrum-specific transaction data beyond the standard Transaction trait.

Provided Methods§

Source

fn submit_retryable_info(&self) -> Option<SubmitRetryableInfo>

Source

fn retry_tx_info(&self) -> Option<RetryTxInfo>

Source

fn poster_units_for(&self, _level: u64, compute: &mut dyn FnMut() -> u64) -> u64

Compute or return cached poster calldata units for the given brotli level. Default impl calls compute every time; ArbTransactionSigned caches the result.

Implementations on Foreign Types§

Source§

impl<T> ArbTransactionExt for EthereumTxEnvelope<T>

Standard Ethereum transaction envelopes don’t carry retryable data.

Implementors§