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.- [
Event] andError, 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 Sassafras protocol.
 - Pallet
 - The Sassafras pallet.
 
Enums§
- Call
 - Contains a variant per dispatchable extrinsic that this pallet has.
 - Error
 - Sassafras runtime errors.
 
Traits§
- Config
 - Configuration trait of this pallet.
 
Type Aliases§
- Authorities
 - Current epoch authorities.
 - Current
Randomness  - Current epoch randomness.
 - Current
Slot  - Current block slot number.
 - Epoch
Config  - The configuration for the current epoch.
 - Epoch
Index  - Current epoch index.
 - Genesis
Slot  - First block slot number.
 - Module
Deprecated  - Type alias to 
Pallet, to be used byconstruct_runtime. - Next
Authorities  - Next epoch authorities.
 - Next
Epoch Config  - The configuration for the next epoch.
 - Next
Randomness  - Next epoch randomness.
 - Pending
Epoch Config Change  - Pending epoch configuration change that will be set as 
NextEpochConfigwhen the next epoch is enacted. - Ring
Context  - Parameters used to construct the epoch’s ring verifier.
 - Ring
Verifier Data  - Ring verifier data for the current epoch.
 - Sorted
Candidates  - The most recently set of tickets which are candidates to become the next epoch tickets.
 - Tickets
Data  - Tickets to be used for current and next epoch.
 - Tickets
Ids  - Tickets identifiers map.
 - Tickets
Meta  - Stored tickets metadata.
 - Unsorted
Segments  - Next epoch tickets unsorted segments.