Skip to main content

FoundryEvmNetwork

Trait FoundryEvmNetwork 

Source
pub trait FoundryEvmNetwork:
    Copy
    + Debug
    + Default
    + 'static {
    type Network: Network<TxEnvelope: Decodable + SignerRecoverable + From<Signed<<Self::Network as Network>::UnsignedTx>> + for<'d> Deserialize<'d> + Serialize + UIfmt, UnsignedTx: SignableTransaction<Signature>, TransactionRequest: FoundryTransactionBuilder<Self::Network> + for<'d> Deserialize<'d> + Serialize, ReceiptResponse: FoundryReceiptResponse>;
    type EvmFactory: FoundryEvmFactory<Tx: FromRecoveredTx<<Self::Network as Network>::TxEnvelope>>;
}
Expand description

Foundry’s compatibility trait associating a [Network] with a FoundryEvmFactory.

Required Associated Types§

Source

type Network: Network<TxEnvelope: Decodable + SignerRecoverable + From<Signed<<Self::Network as Network>::UnsignedTx>> + for<'d> Deserialize<'d> + Serialize + UIfmt, UnsignedTx: SignableTransaction<Signature>, TransactionRequest: FoundryTransactionBuilder<Self::Network> + for<'d> Deserialize<'d> + Serialize, ReceiptResponse: FoundryReceiptResponse>

Source

type EvmFactory: FoundryEvmFactory<Tx: FromRecoveredTx<<Self::Network as Network>::TxEnvelope>>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl FoundryEvmNetwork for BaseEvmNetwork

Available on crate feature base only.
Source§

type Network = Base

Source§

type EvmFactory = BaseEvmFactory

Source§

impl FoundryEvmNetwork for EthEvmNetwork

Source§

type Network = Ethereum

Source§

type EvmFactory = EthEvmFactory

Source§

impl FoundryEvmNetwork for MonadEvmNetwork

Available on crate feature monad only.
Source§

type Network = Ethereum

Source§

type EvmFactory = MonadEvmFactory

Source§

impl FoundryEvmNetwork for OpEvmNetwork

Available on crate feature optimism only.
Source§

type Network = Optimism

Source§

type EvmFactory = OpEvmFactory

Source§

impl FoundryEvmNetwork for TempoEvmNetwork

Source§

type Network = TempoNetwork

Source§

type EvmFactory = TempoEvmFactory