Module pallet_committee::pallet[][src]

Expand description

The module that hosts all the FRAME types needed to add this pallet to a runtime.

Re-exports

pub use crate::types::*;
pub use __tt_default_parts_6 as tt_default_parts;

Structs

Can be used to configure the genesis state of this pallet.

The pallet implementing the on-chain logic.

Enums

Contains one variant per dispatchable that can be called by an extrinsic.

Custom dispatch errors of this pallet.

The event emitted by this pallet.

Traits

Configuration trait of this pallet.

Trait for the asset-index pallet extrinsic weights.

Type Definitions

Stores a vector of the hashes of currently active proposals for iteration

Maps accountIDs to their member type (council or constituent)

ModuleDeprecated

Type alias to Pallet, to be used by construct_runtime.

Store a duration of the voting period which marked as pending

Increments with each new proposal. Used to produce a unique nonce per proposal instance

Store a mapping (hash) -> Proposal for all existing proposals.

Store a mapping (hash) -> VoteAggregate for all existing proposals.

Stores the block height at which point a member is eligible to cast their vote

Store a duration (in blocks) of the voting period