Trait pallet_society::Config[][src]

pub trait Config<I = DefaultInstance>: Config {
Show 15 associated items type Event: From<Event<Self, I>> + Into<<Self as Config>::Event>; type PalletId: Get<PalletId>; type Currency: ReservableCurrency<Self::AccountId>; type Randomness: Randomness<Self::Hash, Self::BlockNumber>; type CandidateDeposit: Get<<<Self as Config<I>>::Currency as Currency<<Self as Config>::AccountId>>::Balance>; type WrongSideDeduction: Get<<<Self as Config<I>>::Currency as Currency<<Self as Config>::AccountId>>::Balance>; type MaxStrikes: Get<u32>; type PeriodSpend: Get<<<Self as Config<I>>::Currency as Currency<<Self as Config>::AccountId>>::Balance>; type MembershipChanged: ChangeMembers<Self::AccountId>; type RotationPeriod: Get<Self::BlockNumber>; type MaxLockDuration: Get<Self::BlockNumber>; type FounderSetOrigin: EnsureOrigin<Self::Origin>; type SuspensionJudgementOrigin: EnsureOrigin<Self::Origin>; type ChallengePeriod: Get<Self::BlockNumber>; type MaxCandidateIntake: Get<u32>;
}
Expand description

The module’s configuration trait.

Associated Types

The overarching event type.

The societies’s module id

The currency type used for bidding.

Something that provides randomness in the runtime.

The minimum amount of a deposit required for a bid to be made.

The amount of the unpaid reward that gets deducted in the case that either a skeptic doesn’t vote or someone votes in the wrong way.

The number of times a member may vote the wrong way (or not at all, when they are a skeptic) before they become suspended.

The amount of incentive paid within each period. Doesn’t include VoterTip.

The receiver of the signal for when the members have changed.

The number of blocks between candidate/membership rotation periods.

The maximum duration of the payout lock.

The origin that is allowed to call found.

The origin that is allowed to make suspension judgements.

The number of blocks between membership challenges.

The maximum number of candidates that we accept per round.

Implementors