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 supertrait associating [Network] with 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 EthEvmNetwork

Source§

type Network = Ethereum

Source§

type EvmFactory = EthEvmFactory

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