Module tx
Available on crate feature
evm
only.Expand description
Transaction abstractions for EVM execution.
This module provides traits and implementations for converting various transaction formats
into a unified transaction environment (TxEnv
) that the EVM can execute. The main purpose
of these traits is to enable flexible transaction input while maintaining type safety.
Traitsยง
- From
Recovered Tx - Helper trait for building a transaction environment from a recovered transaction.
- From
TxWith Encoded - Helper trait for building a transaction environment from a transaction with its encoded form.
- Into
TxEnv - Trait marking types that can be converted into a transaction environment.
- Recovered
Tx - Helper trait to abstract over different
Recovered<T>
implementations. - ToTxEnv
- A helper trait to allow implementing
IntoTxEnv
for types that build transaction environment by cloning data.