pub trait Config: 'static {
    type Index: Parameter + Member + Default + AtLeast32Bit + Copy + TypeInfo;
    type BlockNumber: Parameter + Member + Default + Copy + Hash + FromStr;
    type Hash: Parameter + Member + MaybeSerializeDeserialize + Ord + Default + Copy + Hash + AsRef<[u8]> + AsMut<[u8]> + TypeInfo;
    type Hashing: Hash<Output = Self::Hash>;
    type AccountId: Parameter + Member;
    type Address: Codec + Clone + PartialEq;
    type Header: Parameter + Header<Number = Self::BlockNumber, Hash = Self::Hash> + DeserializeOwned;
    type Signature: Verify + Encode + Send + Sync + 'static;
    type Extrinsic: Parameter + Extrinsic + Debug + MaybeSerializeDeserialize;
}
Expand description

Runtime types.

Associated Types

Account index (aka nonce) type. This stores the number of previous transactions associated with a sender account.

The block number type used by the runtime.

The output of the Hashing function.

The hashing system (algorithm) being used in the runtime (e.g. Blake2).

The user account identifier type for the runtime.

The address type. This instead of <frame_system::Trait::Lookup as StaticLookup>::Source.

The block header.

Signature type.

Extrinsic type within blocks.

Implementors