Module pallet_collator_selection::pallet
source · Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Re-exports
pub use crate::weights::WeightInfo;
pub use __tt_error_token_1 as tt_error_token;
pub use __tt_default_parts_7 as tt_default_parts;
Structs
- Basic information about a collation candidate.
- Can be used to configure the genesis state of this pallet.
- A convertor from collators id. Since this pallet does not have stash/controller, this is just identity.
- 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
- Configure the pallet by specifying the parameters and types on which it depends.
Type Definitions
- Fixed amount to deposit to become a collator.
- The (community, limited) collation candidates.
- Desired number of candidates.
- The invulnerable, fixed collators.
- Last block authored by collator.
- ModuleDeprecatedType alias to
Pallet
, to be used byconstruct_runtime
.