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§

source

fn into_account_id(address: H160) -> A

Implementors§

source§

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

source§

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