Skip to content
Snippets Groups Projects

smith-members

Merged Cédric Moreau requested to merge feature/smith-members into master
1 unresolved thread
1 file
+ 4
7
Compare changes
  • Side-by-side
  • Inline
@@ -102,22 +102,19 @@ pub mod pallet {
+ MaxEncodedLen;
/// Identifier for an authority-member
type MemberId: Copy + Ord + MaybeSerializeDeserialize + Parameter;
/// Something that gives the IdtyId of an AccountId
type IdtyIdOf: Convert<Self::AccountId, Option<Self::IdtyIndex>>;
/// Something that gives the IdtyId of an AccountId
type IdtyIdOfAuthorityId: Convert<Self::MemberId, Option<Self::IdtyIndex>>;
/// Maximum number of active certifications by issuer
#[pallet::constant]
type MaxByIssuer: Get<u32>;
/// Minimum number of certifications to be able to create a smith
#[pallet::constant]
type MinCertForCreateIdtyRight: Get<u32>;
/// Minimum number of certifications to become a Smith
#[pallet::constant]
type MinCertForMembership: Get<u32>;
/// Maximum duration of inactivity before a smith is removed
#[pallet::constant]
type InactivityMaxDuration: Get<u32>;
/// Something that gives the IdtyId of an AccountId
type IdtyIdOf: Convert<Self::AccountId, Option<Self::IdtyIndex>>;
/// Something that gives the IdtyId of an AccountId
type IdtyIdOfAuthorityId: Convert<Self::MemberId, Option<Self::IdtyIndex>>;
}
/// Events type.
Loading