Module dock_runtime::trust_registry
source · Expand description
Dock Trust Registry.
Modules
- The module that hosts all the FRAME types needed to add this pallet to a runtime.
Structs
TrustRegistry
schema metadata.- Trust registry
Convener
’sDID
. - Trust registry
Convener
/Issuer
/Verifier
’sDID
. - Set of schemas corresponding to a delegated
Issuer
- Delegated
Issuer
s. - Trust registry
Issuer
’sDID
. - Both an
Issuer
and aVerifier
. - Maybe an
Issuer
or aVerifier
but definitely not aConvener
. - Set of schemas corresponding to an
Issuer
. - Set of trust registries corresponding to a issuer
- A map from
Issuer
to some value. - A wrapper for the iterator that converts an iterator of values to an iterator of pairs obtained using supplied functions.
- The pallet implementing the on-chain logic.
- Specifies arguments to retrieve trust registries informations by.
- Specifies arguments to retrieve trust registry informations by.
- Number of times storage entities were accessed.
- Unique identifier for the
TrustRegistry
. - Unique identifier for the
TrustRegistry
. TrustRegistry
schema metadata.- Schema
Verifier
s. - Information about the
TrustRegistry
participant. - Set of
TrustRegistry
participants. - Set of schemas that belong to the
TrustRegistry
- Unbounded delegated
Issuer
s. - An unbounded map from
Issuer
to some value. - Information about the
TrustRegistry
participant. - Unbounded
TrustRegistry
schema metadata. - Schema
Verifier
s. - Prices of verifying a credential corresponding to the specific schema metadata per different currencies.
- Price to verify a credential. Lowest denomination should be used.
- Prices of verifying a credential corresponding to the specific schema metadata per different currencies.
- Trust registry
Verifier
’sDID
. - Set of schemas corresponding to a verifier
- Set of trust registries corresponding to a verifier
Enums
- Contains one variant per dispatchable that can be called by an extrinsic.
- Error for the TrustRegistry module.
- The event emitted by this pallet.
Traits
- Configuration trait of this pallet.
- An entity that has references to schemas and registries.
Type Definitions
- Stores
TrustRegistry
s owned by conveners as a mapping of the form convener_id -> Set<registry_id> - Stores a set of
Issuer
s Trust Registries. - ModuleDeprecatedType alias to
Pallet
, to be used byconstruct_runtime
. - Stores
TrustRegistry
s information:Convener
, name, etc. - Trust Registry participants. Mapping of
TrustRegistryId
-> set of participants (Verifier
s andIssuer
s). - Schema ids corresponding to trust registries. Mapping of
TrustRegistryId
-> set of schema ids. - Stores
Trust Registry
’s delegatedIssuer
s schemas. - Stores
Trust Registry
’sIssuer
s configurations. - Stores
Trust Registry
’sIssuer
s schemas. - Trust Registry participants. Mapping of
TrustRegistryId
->Issuer
-> trust registry participant information. - Schema
Issuer
s (Issuer
=> verification prices). - Schema metadata stored in all trust registries. Mapping of the form (schema_id, registry_id) -> schema_metadata
- Stores
Trust Registry
’sVerifier
s schemas. - Stores a set of
Verifier
s Trust Registries.