pallet_evm_tracker::traits

Trait MaybeIntoEvmCall

Source
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§

Source

fn maybe_into_evm_call(&self) -> Option<&Call<Runtime>>

If this call is a pallet_evm::Call<Runtime> call, returns the inner call.

Implementors§