pub trait AddressMapping<A> {
    // Required method
    fn into_account_id(address: H160) -> A;
}
Expand description

Trait to be implemented for evm address mapping.

Required Methods§

fn into_account_id(address: H160) -> A

Object Safety§

This trait is not object safe.

Implementors§

§

impl<H> AddressMapping<AccountId32> for HashedAddressMapping<H>
where H: Hasher<Out = H256>,

§

impl<T> AddressMapping<T> for IdentityAddressMapping
where T: From<H160>,