pub trait MaybeIntoEvmCall<Runtime>where
Runtime: Config,{
// Required method
fn maybe_into_evm_call(&self) -> Option<&Call<Runtime>>;
}
Expand description
Trait used to convert from a generated RuntimeCall
type to pallet_evm::Call<Runtime>
.
Required Methods§
Sourcefn maybe_into_evm_call(&self) -> Option<&Call<Runtime>>
fn maybe_into_evm_call(&self) -> Option<&Call<Runtime>>
If this call is a pallet_evm::Call<Runtime>
call, returns the inner call.