domain_runtime_primitives

Trait Signer

source
pub trait Signer<AccountId, Lookup> {
    // Required method
    fn signer(&self, lookup: &Lookup) -> Option<AccountId>;
}
Expand description

Extracts the signer from an unchecked extrinsic.

Used by executor to extract the optional signer when shuffling the extrinsics.

Required Methods§

source

fn signer(&self, lookup: &Lookup) -> Option<AccountId>

Returns the AccountId of signer.

Implementations on Foreign Types§

source§

impl<Address, AccountId, Call, Signature, Extra, Lookup> Signer<AccountId, Lookup> for UncheckedExtrinsic<Address, Call, Signature, Extra>
where Address: Clone, Extra: SignedExtension<AccountId = AccountId>, Lookup: Lookup<Source = Address, Target = AccountId>,

source§

fn signer(&self, lookup: &Lookup) -> Option<AccountId>

Implementors§