Trait FoundryEvmNetwork
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 supertrait associating [Network] with FoundryEvmFactory
Required Associated Types§
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>
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.