Skip to main content

FoundryEvmNetwork

Trait FoundryEvmNetwork 

Source
pub trait FoundryEvmNetwork:
    Copy
    + Debug
    + Default
    + 'static {
    type Network: Network
       where <Self::Network as Network>::TxEnvelope: Decodable + SignerRecoverable + From<Signed<<Self::Network as Network>::UnsignedTx>> + for<'d> Deserialize<'d> + Serialize + UIfmt,
             <Self::Network as Network>::UnsignedTx: SignableTransaction<Signature>,
             <Self::Network as Network>::TransactionRequest: FoundryTransactionBuilder<Self::Network> + for<'d> Deserialize<'d> + Serialize,
             <Self::Network as Network>::ReceiptResponse: FoundryReceiptResponse;
    type EvmFactory: FoundryEvmFactory
       where <Self::EvmFactory as EvmFactory>::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 where <Self::Network as Network>::TxEnvelope: Decodable + SignerRecoverable + From<Signed<<Self::Network as Network>::UnsignedTx>> + for<'d> Deserialize<'d> + Serialize + UIfmt, <Self::Network as Network>::UnsignedTx: SignableTransaction<Signature>, <Self::Network as Network>::TransactionRequest: FoundryTransactionBuilder<Self::Network> + for<'d> Deserialize<'d> + Serialize, <Self::Network as Network>::ReceiptResponse: FoundryReceiptResponse

Source

type EvmFactory: FoundryEvmFactory where <Self::EvmFactory as EvmFactory>::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 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

Source§

type Network = Optimism

Source§

type EvmFactory = OpEvmFactory

Source§

impl FoundryEvmNetwork for TempoEvmNetwork

Source§

type Network = TempoNetwork

Source§

type EvmFactory = TempoEvmFactory