[−][src]Trait pallet_society::Trait
The module's configuration trait.
Associated Types
type Event: From<Event<Self, I>> + Into<Self::Event>
The overarching event type.
type ModuleId: Get<ModuleId>
The societies's module id
type Currency: ReservableCurrency<Self::AccountId>
The currency type used for bidding.
type Randomness: Randomness<Self::Hash>
Something that provides randomness in the runtime.
type CandidateDeposit: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>
The minimum amount of a deposit required for a bid to be made.
type WrongSideDeduction: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>
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.
type MaxStrikes: Get<u32>
The number of times a member may vote the wrong way (or not at all, when they are a skeptic) before they become suspended.
type PeriodSpend: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>
The amount of incentive paid within each period. Doesn't include VoterTip.
type MembershipChanged: ChangeMembers<Self::AccountId>
The receiver of the signal for when the members have changed.
type RotationPeriod: Get<Self::BlockNumber>
The number of blocks between candidate/membership rotation periods.
type MaxLockDuration: Get<Self::BlockNumber>
The maximum duration of the payout lock.
type FounderSetOrigin: EnsureOrigin<Self::Origin>
The origin that is allowed to call found
.
type SuspensionJudgementOrigin: EnsureOrigin<Self::Origin>
The origin that is allowed to make suspension judgements.
type ChallengePeriod: Get<Self::BlockNumber>
The number of blocks between membership challenges.