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§
Sourcefn is_failed_deposit(&self) -> bool
fn is_failed_deposit(&self) -> bool
Returns whether an OP-stack deposit failed and kept only its mint and nonce bump.
Sourcefn eip8130_committed_phases(&self) -> Option<u64>
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§
impl FoundryTxResultExt for ()
Source§impl FoundryTxResultExt for BaseTxResultExt
Available on crate feature base only.
impl FoundryTxResultExt for BaseTxResultExt
Available on crate feature
base only.fn is_failed_deposit(&self) -> bool
fn eip8130_committed_phases(&self) -> Option<u64>
impl FoundryTxResultExt for MonadTxResultExt
Available on crate feature
monad only.Source§impl FoundryTxResultExt for OpTxResultExt
Available on crate feature optimism only.
impl FoundryTxResultExt for OpTxResultExt
Available on crate feature
optimism only.