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 address type. This instead of <frame_system::Trait::Lookup as StaticLookup>::Source.
type Header: Parameter + Header<Number = Self::BlockNumber, Hash = Self::Hash> + DeserializeOwned
type Header: Parameter + Header<Number = Self::BlockNumber, Hash = Self::Hash> + DeserializeOwned
The block header.
type Extrinsic: Parameter + Extrinsic + Debug + MaybeSerializeDeserialize
type Extrinsic: Parameter + Extrinsic + Debug + MaybeSerializeDeserialize
Extrinsic type within blocks.