Utility.Registry.V0.Holding.Unlock
Templates
template AcceptedUnlock
An accepted unlock.
Signatory: (DA.Internal.Record.getField @"holder" unlock), (DA.Internal.Record.getField @"locker" unlock)
Field
Type
Description
unlock
Accepted unlock payload.
holdingLabel
Label of the holding to unlock.
Choice AcceptedUnlock_Execute
Execute an accepted unlock.
Controller: (DA.Internal.Record.getField @"registrar" unlock)
Returns: AcceptedUnlock_Execute_Result
Field
Type
Description
instrumentConfigurationCid
Instrument configuration.
credentialCids
Credentials of the holder.
holdingCids
Holdings to unlock.
Choice AcceptedUnlock_Fail
Fail an accepted unlock.
Controller: (DA.Internal.Record.getField @"registrar" unlock)
Returns: AcceptedUnlock_Fail_Result
Field
Type
Description
reason
Reason for failure.
Choice Archive
Controller: (DA.Internal.Record.getField @"holder" unlock), (DA.Internal.Record.getField @"locker" unlock)
Returns: ()
(no fields)
template ExecutedUnlock
An executed unlock.
Signatory: (DA.Internal.Record.getField @"registrar" unlock)
Field
Type
Description
unlock
Lock payload.
holdingLabel
Label of the holding to unlock.
Choice Archive
Controller: (DA.Internal.Record.getField @"registrar" unlock)
Returns: ()
(no fields)
Choice ExecutedUnlock_Delete
Deletes an executed unlock.
Controller: (DA.Internal.Record.getField @"registrar" unlock)
Returns: ExecutedUnlock_Delete_Result
(no fields)
template FailedUnlock
A failed unlock.
Signatory: (DA.Internal.Record.getField @"registrar" unlock)
Field
Type
Description
unlock
Rejected unlock payload.
reason
Reason for failure.
Choice Archive
Controller: (DA.Internal.Record.getField @"registrar" unlock)
Returns: ()
(no fields)
Choice FailedUnlock_Delete
Deletes a rejected unlock.
Controller: (DA.Internal.Record.getField @"registrar" unlock)
Returns: FailedUnlock_Delete_Result
(no fields)
template RejectedUnlock
A rejected unlock.
Signatory: (DA.Internal.Record.getField @"holder" unlock), (DA.Internal.Record.getField @"locker" unlock)
Field
Type
Description
unlock
Rejected unlock payload.
reason
Reason for rejection.
Choice Archive
Controller: (DA.Internal.Record.getField @"holder" unlock), (DA.Internal.Record.getField @"locker" unlock)
Returns: ()
(no fields)
Choice RejectedUnlock_Delete
Deletes a rejected unlock.
Controller: (DA.Internal.Record.getField @"registrar" unlock)
Returns: RejectedUnlock_Delete_Result
(no fields)
template UnlockOffer
An offer to unlock a holding
Signatory: (DA.Internal.Record.getField @"provider" unlock), (DA.Internal.Record.getField @"holder" unlock)
Field
Type
Description
unlock
Unlock payload.
holdingLabel
Label of the holding to lock.
Choice Archive
Controller: (DA.Internal.Record.getField @"provider" unlock), (DA.Internal.Record.getField @"holder" unlock)
Returns: ()
(no fields)
Choice UnlockOffer_Accept
Accepts a unlock offer.
Controller: (DA.Internal.Record.getField @"locker" unlock)
Returns: UnlockOffer_Accept_Result
(no fields)
Choice UnlockOffer_Cancel
Cancels a unlock offer.
Controller: (DA.Internal.Record.getField @"holder" unlock)
Returns: UnlockOffer_Cancel_Result
(no fields)
Choice UnlockOffer_Reject
Rejects a unlock offer.
Controller: (DA.Internal.Record.getField @"locker" unlock)
Returns: UnlockOffer_Reject_Result
Field
Type
Description
reason
Reason for rejection.
template UnlockRequest
A request to unlock a holding
Signatory: (DA.Internal.Record.getField @"provider" unlock), (DA.Internal.Record.getField @"locker" unlock)
Field
Type
Description
unlock
Lock offer payload.
Choice Archive
Controller: (DA.Internal.Record.getField @"provider" unlock), (DA.Internal.Record.getField @"locker" unlock)
Returns: ()
(no fields)
Choice UnlockRequest_Accept
Accepts an unlock request.
Controller: (DA.Internal.Record.getField @"holder" unlock)
Returns: UnlockRequest_Accept_Result
Field
Type
Description
holdingLabel
Label of the holding to lock.
Choice UnlockRequest_Cancel
Cancels an unlock request.
Controller: (DA.Internal.Record.getField @"locker" unlock)
Returns: UnlockRequest_Cancel_Result
(no fields)
Choice UnlockRequest_Reject
Rejects an unlock request.
Controller: (DA.Internal.Record.getField @"holder" unlock)
Returns: UnlockRequest_Reject_Result
Field
Type
Description
reason
Reason for rejection.
Data Types
data AcceptedUnlock_Execute_Result
Result of
AcceptedUnlock_Execute
.
Field
Type
Description
holdingCid
Result of unlock.
remainingCids
Remaining locked holdings.
executedUnlockCid
Executed unlock.
data AcceptedUnlock_Fail_Result
Result of
AcceptedUnlock_Fail
.
Field
Type
Description
failedUnlockCid
Failed unlock.
data ExecutedUnlock_Delete_Result
data FailedUnlock_Delete_Result
data RejectedUnlock_Delete_Result
data Unlock
Unlock payload.
Field
Type
Description
operator
Utility operator.
provider
Provider of the initiator of the unlock.
registrar
Registrar of holding.
holder
Holder.
locker
Locker.
lockContext
Context for the lock.
instrumentIdentifier
Instrument id to unlock.
amount
Amount to unlock.
reference
Reference for the unlock.
batch
Batch the unlock belongs to.
data UnlockOffer_Accept_Result
Result of
UnlockOffer_Accept
.
Field
Type
Description
acceptedUnlockCid
Accepted unlock.
data UnlockOffer_Cancel_Result
data UnlockOffer_Reject_Result
Result of
UnlockOffer_Reject
.
Field
Type
Description
rejectedUnlockCid
Rejected unlock.
data UnlockRequest_Accept_Result
Result of
UnlockRequest_Accept
.
Field
Type
Description
acceptedUnlockCid
Accepted unlock.
data UnlockRequest_Cancel_Result
data UnlockRequest_Reject_Result
Result of
UnlockRequest_Reject
.
Field
Type
Description
rejectedUnlockCid
Rejected unlock.