Module pallet_example_basic::pallet
source · Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Structs
Can be used to configure the
genesis state
of this pallet.
Enums
Contains one variant per dispatchable that can be called by an extrinsic.
Events are a simple means of reporting specific conditions and
circumstances that have happened that users, Dapps and/or chain explorers would find
interesting and otherwise difficult to detect.
This attribute generate the function
deposit_event
to deposit one of this pallet event,
it is optional, it is also possible to provide a custom implementation.Traits
Our pallet’s configuration trait. All our types and constants go in here. If the
pallet is dependent on specific other pallets, then their configuration traits
should be added to our implied traits list.
Type Definitions
ModuleDeprecated
Type alias to
Pallet
, to be used by construct_runtime
.