referrerpolicy=no-referrer-when-downgrade

Module pallet

Source
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 dispatchables module or in the Call enum.
  • 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 and Error, 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§

Pallet
The Pallet struct, the main type that implements traits and standalone functions within the pallet.

Enums§

Call
Identity pallet declaration.
Error
The Error enum of this pallet.
Event
The Event enum of this pallet

Traits§

BenchmarkHelper
Config
Configuration trait of this pallet.

Type Aliases§

AuthorityOf
A map of the accounts who are authorized to grant usernames.
IdentityOf
Information that is pertinent to identify the entity behind an account. First item is the registration, second is the account’s primary username.
ModuleDeprecated
Type alias to Pallet, to be used by construct_runtime.
PendingUsernames
Usernames that an authority has granted, but that the account controller has not confirmed that they want it. Used primarily in cases where the AccountId cannot provide a signature because they are a pure proxy, multisig, etc. In order to confirm it, they should call accept_username.
Registrars
The set of registrars. Not expected to get very big as can only be added through a special origin (likely a council motion).
SubsOf
Alternative “sub” identities of this account.
SuperOf
The super-identity of an alternative “sub” identity together with its name, within that context. If the account is not some other account’s sub-identity, then just None.
UnbindingUsernames
Usernames for which the authority that granted them has started the removal process by unbinding them. Each unbinding username maps to its grace period expiry, which is the first block in which the username could be deleted through a remove_username call.
UsernameInfoOf
Reverse lookup from username to the AccountId that has registered it and the provider of the username. The owner value should be a key in the UsernameOf map, but it may not if the user has cleared their username or it has been removed.
UsernameOf
Identifies the primary username of an account.