Skip to main content

FoundryTxResultExt

Trait FoundryTxResultExt 

Source
pub trait FoundryTxResultExt:
    Clone
    + Debug
    + Default
    + 'static {
    // Provided methods
    fn is_failed_deposit(&self) -> bool { ... }
    fn eip8130_committed_phases(&self) -> Option<u64> { ... }
}
Expand description

Network-only transaction outcome flags.

The shared TxResult::stop carries the outcome.

Provided Methods§

Source

fn is_failed_deposit(&self) -> bool

Returns whether an OP-stack deposit failed and kept only its mint and nonce bump.

Source

fn eip8130_committed_phases(&self) -> Option<u64>

Returns the number of leading call phases that committed in an included signed Base EIP-8130 transaction.

Other transactions, including EIP-8130 simulations, return None.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FoundryTxResultExt for ()

Source§

impl FoundryTxResultExt for BaseTxResultExt

Available on crate feature base only.
Source§

impl FoundryTxResultExt for MonadTxResultExt

Available on crate feature monad only.
Source§

impl FoundryTxResultExt for OpTxResultExt

Available on crate feature optimism only.
Source§

impl FoundryTxResultExt for TempoTxResultExt

Implementors§