Module dock_runtime::did::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.
- The pallet implementing the on-chain logic.
Enums
- Contains one variant per dispatchable that can be called by an extrinsic.
- Error for the DID module.
- The event emitted by this pallet.
Traits
- The module’s configuration trait.
Type Definitions
- Stores controlled - controller pairs of a DID as (DID, DID) -> zero-sized record. If a record exists, then the controller is bound.
- Stores keys of a DID as (DID, IncId) -> DidKey. Does not check if the same key is being added multiple times to the same DID.
- Stores nonce for
did:key
DIDs. - Stores service endpoints of a DID as (DID, endpoint id) -> ServiceEndpoint.
- Stores details of off-chain and on-chain DIDs
- ModuleDeprecatedType alias to
Pallet
, to be used byconstruct_runtime
.