Module pallet_referenda::pallet
source · Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Re-exports
pub use __tt_error_token_1 as tt_error_token;
pub use __tt_default_parts_7 as tt_default_parts;
Structs
- Instance1 to be used for instantiable pallet define with
pallet
macro. - Instance2 to be used for instantiable pallet define with
pallet
macro. - Instance3 to be used for instantiable pallet define with
pallet
macro. - Instance4 to be used for instantiable pallet define with
pallet
macro. - Instance5 to be used for instantiable pallet define with
pallet
macro. - Instance6 to be used for instantiable pallet define with
pallet
macro. - Instance7 to be used for instantiable pallet define with
pallet
macro. - Instance8 to be used for instantiable pallet define with
pallet
macro. - Instance9 to be used for instantiable pallet define with
pallet
macro. - Instance10 to be used for instantiable pallet define with
pallet
macro. - Instance11 to be used for instantiable pallet define with
pallet
macro. - Instance12 to be used for instantiable pallet define with
pallet
macro. - Instance13 to be used for instantiable pallet define with
pallet
macro. - Instance14 to be used for instantiable pallet define with
pallet
macro. - Instance15 to be used for instantiable pallet define with
pallet
macro. - Instance16 to be used for instantiable pallet define with
pallet
macro. - 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.
Type Definitions
- The number of referenda being decided currently.
- ModuleDeprecatedType alias to
Pallet
, to be used byconstruct_runtime
. - The next free referendum index, aka the number of referenda started so far.
- Information concerning any given referendum.
- The sorted list of referenda ready to be decided but not yet being decided, ordered by conviction-weighted approvals.