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§
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>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl FoundryEvmNetwork for OpEvmNetwork
Available on crate feature optimism only.
impl FoundryEvmNetwork for OpEvmNetwork
Available on crate feature
optimism only.