referrerpolicy=no-referrer-when-downgrade

Trait pallet_verify_signature::pallet::Config

source ·
pub trait Config: Config {
    type Signature: Verify<Signer = Self::AccountIdentifier> + Parameter + Encode + Decode + Send + Sync;
    type AccountIdentifier: IdentifyAccount<AccountId = Self::AccountId>;
    type WeightInfo: WeightInfo;
    type BenchmarkHelper: BenchmarkHelper<Self::Signature, Self::AccountId>;
}
Expand description

Configuration trait of this pallet.

The main purpose of this trait is to act as an interface between this pallet and the runtime in which it is embedded in. A type, function, or constant in this trait is essentially left to be configured by the runtime that includes this pallet.

Consequently, a runtime that wants to include this pallet must implement this trait. Configuration trait.

Required Associated Types§

source

type Signature: Verify<Signer = Self::AccountIdentifier> + Parameter + Encode + Decode + Send + Sync

Signature type that the extension of this pallet can verify.

source

type AccountIdentifier: IdentifyAccount<AccountId = Self::AccountId>

The account identifier used by this pallet’s signature type.

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

source

type BenchmarkHelper: BenchmarkHelper<Self::Signature, Self::AccountId>

Helper to create a signature to be benchmarked.

Object Safety§

This trait is not object safe.

Implementors§