pallet_evm_tracker::traits

Trait MaybeIntoEthCall

Source
pub trait MaybeIntoEthCall<Runtime>
where Runtime: Config + Config, Result<RawOrigin, OriginFor<Runtime>>: From<OriginFor<Runtime>>,
{ // Required method fn maybe_into_eth_call(&self) -> Option<&Call<Runtime>>; }
Expand description

Trait used to convert from a generated RuntimeCall type to pallet_ethereum::Call<Runtime>.

Required Methods§

Source

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

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

Implementors§