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 section Functions
Link to this function
check_did_type!(map)
View Source
check_did_type!(map)
View Source
check_did_type!(AbtDid.Type.t()) :: :ok
check_did_type!(AbtDid.Type.t()) :: :ok
Checks if a Did type is valid or not.
Link to this function
node()
View Source
node()
View Source
node() :: AbtDid.Type.t()
node() :: AbtDid.Type.t()
Returns the DID type representing a blockchain node.
Link to this function
swap()
View Source
swap()
View Source
swap() :: AbtDid.Type.t()
swap() :: AbtDid.Type.t()
Returns the DID type representing a swap.
Link to this function
tether()
View Source
tether()
View Source
tether() :: AbtDid.Type.t()
tether() :: AbtDid.Type.t()
Returns the DID type representing a tether.
Link to this function
validator()
View Source
validator()
View Source
validator() :: AbtDid.Type.t()
validator() :: AbtDid.Type.t()
Returns the DID type representing a blockchain validator.