Trait noble_society::Config[][src]

The module’s configuration trait.

Associated Types

type Event: From<Event<Self, I>> + Into<Self::Event>[src]

The overarching event type.

type ModuleId: Get<ModuleId>[src]

The societies’s module id

type Currency: ReservableCurrency<Self::AccountId>[src]

The currency type used for bidding.

type Randomness: Randomness<Self::Hash>[src]

Something that provides randomness in the runtime.

type CandidateDeposit: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>[src]

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

type WrongSideDeduction: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>[src]

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>[src]

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>[src]

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

type MembershipChanged: ChangeMembers<Self::AccountId>[src]

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

type RotationPeriod: Get<Self::BlockNumber>[src]

The number of blocks between candidate/membership rotation periods.

type MaxLockDuration: Get<Self::BlockNumber>[src]

The maximum duration of the payout lock.

type FounderSetOrigin: EnsureOrigin<Self::Origin>[src]

The origin that is allowed to call found.

type SuspensionJudgementOrigin: EnsureOrigin<Self::Origin>[src]

The origin that is allowed to make suspension judgements.

type ChallengePeriod: Get<Self::BlockNumber>[src]

The number of blocks between membership challenges.

Loading content...

Implementors

Loading content...