Module migration

Source
Expand description

Module for handling migration operations.

Structs§

ControllerCap
A token that authenticates its bearer as a controller of a specific shared object.
CreateIdentity
A [Transaction] for creating a new OnChainIdentity from an IdentityBuilder.
DelegatePermissions
Permissions of a DelegationToken.
DelegateToken
A [Transaction] that creates a new DelegationToken for a given ControllerCap.
DelegationToken
A token minted by a controller that allows another entity to act in its stead - with full or reduced permissions.
DelegationTokenRevocation
[Transaction] for revoking / unrevoking a DelegationToken.
DeleteDelegationToken
[Transaction] for deleting a given DelegationToken.
IdentityBuilder
Builder-style struct to create a new OnChainIdentity.
MigrateLegacyIdentity
A [Transaction] that migrates a legacy Identity to a new OnChainIdentity.
Multicontroller
Representation of identity.rs’s multicontroller::Multicontroller Move type.
OnChainIdentity
An on-chain entity that wraps an optional DID Document.
Proposal
A Multicontroller’s proposal for changes.
UnmigratedAlias
A legacy IOTA Stardust Output type, used to store DID Documents.

Enums§

ControllerToken
A token that proves ownership over an object.
Error
Errors that can occur during migration registry operations.
Identity
An on-chain object holding a DID Document.

Functions§

get_alias
Resolves an UnmigratedAlias given its ID object_id.
get_identity
Returns the OnChainIdentity having ID object_id, if it exists.
has_previous_version
Returns the previous version of the given history_item.
lookup
Lookup a legacy alias_id into the migration registry to get the ID of the corresponding migrated DID document, if any.