pub trait Config<I: 'static = ()>: Config {
    type RuntimeOrigin: From<RawOrigin<Self::AccountId, I>>;
    type Proposal: Parameter + Dispatchable<RuntimeOrigin = <Self as Config<I>>::RuntimeOrigin, PostInfo = PostDispatchInfo> + From<Call<Self>> + GetDispatchInfo;
    type RuntimeEvent: From<Event<Self, I>> + IsType<<Self as Config>::RuntimeEvent>;
    type MotionDuration: Get<Self::BlockNumber>;
    type MaxProposals: Get<ProposalIndex>;
    type MaxMembers: Get<MemberCount>;
    type DefaultVote: DefaultVote;
    type WeightInfo: WeightInfo;
    type SetMembersOrigin: EnsureOrigin<<Self as Config>::RuntimeOrigin>;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Required Associated Types§

The runtime origin type.

The runtime call dispatch type.

The runtime event type.

The time-out for council motions.

Maximum number of proposals allowed to be active in parallel.

The maximum number of members supported by the pallet. Used for weight estimation.

NOTE:

  • Benchmarks will need to be re-run and weights adjusted if this changes.
  • This pallet assumes that dependents keep to the limit without enforcing it.

Default vote strategy of this collective.

Weight information for extrinsics in this pallet.

Origin allowed to set collective members

Implementors§