pub trait IdentifyAccountWithLookup<Lookup> {
    type AccountId;

    // Required method
    fn get_account_id(
        &self,
        lookup: &Lookup
    ) -> Result<Option<Self::AccountId>, LookupError>;
}
Expand description

Provides information about author

Required Associated Types§

source

type AccountId

type that identifis account

Required Methods§

source

fn get_account_id( &self, lookup: &Lookup ) -> Result<Option<Self::AccountId>, LookupError>

performs lookup and returns AccountId if available

Implementors§

source§

impl<Address, AccountId, Call, Signature, Extra, Lookup> IdentifyAccountWithLookup<Lookup> for UncheckedExtrinsic<Address, Call, Signature, Extra>where Address: Member + MaybeDisplay + Clone, Signature: Member + Verify + Clone, <Signature as Verify>::Signer: IdentifyAccount<AccountId = AccountId>, Extra: SignedExtension<AccountId = AccountId>, Lookup: Lookup<Source = Address, Target = AccountId>,

§

type AccountId = AccountId

source§

impl<T, Call, Extra> IdentifyAccountWithLookup<T> for TestXt<Call, Extra>