Trait pallet_duniter_wot::pallet::Config
source · pub trait Config: Config + Config<IdtyIndex = u32> + Config<IdtyIndex = u32> + Config<IdtyId = u32> {
type FirstIssuableOn: Get<BlockNumberFor<Self>>;
type MinCertForMembership: Get<u32>;
type MinCertForCreateIdtyRight: Get<u32>;
}
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.
Required Associated Types§
sourcetype FirstIssuableOn: Get<BlockNumberFor<Self>>
type FirstIssuableOn: Get<BlockNumberFor<Self>>
The block number from which the first certification can be issued.
sourcetype MinCertForMembership: Get<u32>
type MinCertForMembership: Get<u32>
The minimum number of certifications required for membership eligibility.
sourcetype MinCertForCreateIdtyRight: Get<u32>
type MinCertForCreateIdtyRight: Get<u32>
The minimum number of certifications required to create an identity.
Object Safety§
This trait is not object safe.