Expand description
The pallet module in each FRAME pallet hosts the most important items needed
to construct this pallet.
The main components of this pallet are:
Pallet, which implements all of the dispatchable extrinsics of the pallet, among other public functions.- The subset of the functions that are dispatchable can be identified either in the
dispatchablesmodule or in theCallenum.
- The subset of the functions that are dispatchable can be identified either in the
storage_types, which contains the list of all types that are representing a storage item. Otherwise, all storage items are listed among Type Definitions.Config, which contains the configuration trait of this pallet.EventandError, which are listed among the Enums.
Modules§
- dispatchables
- Auto-generated docs-only module listing all defined dispatchables for this pallet.
- storage_
types - Auto-generated docs-only module listing all (public and private) defined storage types for this pallet.
Structs§
- Genesis
Config - Genesis configuration for the Chain Manager pallet.
- Internals 🔒
- Internal helper struct for implementing not-exposable
blockchaintrait operations. - Pallet
- Primary Marker type for the Chain Manager pallet.
Enums§
- Call
- Contains a variant per dispatchable extrinsic that this pallet has.
- Error
- The
Errorenum of this pallet. - Event
- The
Eventenum of this pallet
Traits§
- Config
- Configuration trait of this pallet.
Type Aliases§
- Affidavit
Begins At - Start of affidavit submission window as a percentage ([
PerThing]) of the current session. Authors submit affidavits for the next upcoming session starting from this point. - Affidavit
Ends At - End of affidavit submission window as a percentage ([
PerThing]) of the current session. - Affidavit
Keys - Offchain affidavit keys registered by an author for a given session.
- Affidavit
TxPriority - Transaction priority for the
Pallet::declareextrinsic. - Allow
Affidavits - Flag to enable or disable affidavit submissions.
- Author
Affidavits - Storage mapping of authors’ submitted affidavits per session.
- Block
Points Store - Author points accumulated per session.
- Current
Session - The current running session index.
- Election
Begins At - Start of the election window as a percentage ([
PerThing]) of the affidavit submission period in the current session. - Election
Runner Points - Block points allocated for the election runner.
- Election
Runner Points Upgrade - Pending upgrade of election runner points.
- Election
TxPriority - Transaction priority for the
Pallet::electextrinsic. - Elects
Prepared By - Tracks the author who prepared the election for a given session.
- Finality
After - Wall-clock delay (in timestamp units) that must elapse after the first observation of a value before it becomes eligible to strengthen its confidence signal.
- Finality
Ticks - Number of distinct block observations required after the
FinalityAfterwindow has elapsed in order to strengthen the confidence signal of a value. - Module
Deprecated - Type alias to
Pallet, to be used byconstruct_runtime. - Session
Start At - Start block of the current session.
- Validate
TxPriority - Transaction priority for the
Pallet::validateextrinsic.