[][src]Trait pallet_collective::Trait

pub trait Trait<I: Instance = DefaultInstance>: Trait {
    type Origin: From<RawOrigin<Self::AccountId, I>>;
    type Proposal: Parameter + Dispatchable<Origin = Self::Origin, PostInfo = PostDispatchInfo> + From<Call<Self>> + GetDispatchInfo;
    type Event: From<Event<Self, I>> + Into<Self::Event>;
    type MotionDuration: Get<Self::BlockNumber>;
    type MaxProposals: Get<u32>;
}

Associated Types

type Origin: From<RawOrigin<Self::AccountId, I>>

The outer origin type.

type Proposal: Parameter + Dispatchable<Origin = Self::Origin, PostInfo = PostDispatchInfo> + From<Call<Self>> + GetDispatchInfo

The outer call dispatch type.

type Event: From<Event<Self, I>> + Into<Self::Event>

The outer event type.

type MotionDuration: Get<Self::BlockNumber>

The time-out for council motions.

type MaxProposals: Get<u32>

Maximum number of proposals allowed to be active in parallel.

Loading content...

Implementors

Loading content...