AbtDid v0.3.7 AbtDid.Type View Source

Represents the type of the DID. A DID is composed of three inner types: role_type, key_type and hash_type.

Link to this section Summary

Functions

Checks if a Did type is valid or not

Returns the DID type representing a blockchain node

Returns the DID type representing a swap

Returns the DID type representing a tether

Returns the DID type representing a blockchain validator

Link to this section Types

Link to this type

t() View Source
t() :: %AbtDid.Type{hash_type: atom(), key_type: atom(), role_type: atom()}

Link to this section Functions

Link to this function

check_did_type!(map) View Source
check_did_type!(AbtDid.Type.t()) :: :ok

Checks if a Did type is valid or not.

Returns the DID type representing a blockchain node.

Returns the DID type representing a swap.

Returns the DID type representing a tether.

Returns the DID type representing a blockchain validator.