- Overview
- Setup
- Tutorials
- How Tos
- Reference
Utility.Registry.App.V0.Service.Holder¶
Deprecated: This module will be deactivated in an upcoming release of this Daml package.
The transfer / lock / unlock actions have been disabled as of version 0.6.0 of this package.
The mint / burn actions have been disabled as of version 0.7.0 of this package.
For mint / burn / transfer operations, use the recommended two-step flows initiated
on the Utility.Registry.App.V0.Service.AllocationFactory.AllocationFactory contract.
Templates¶
template HolderService
Holder service. This contract is deprecated and will be deactivated in an upcoming release of this Daml package. All choices in this contract are proxies to other choices, which should be used instead.
Signatory: provider, holder
Field
Type
Description
operator
Service operator.
provider
Service provider.
holder
Service holder.
Choice Archive
Controller: provider, holder
Returns: ()
(no fields)
Choice HolderService_AcceptBurnOffer
Accepts an offer to burn a holding. This choice is disabled as of version
0.7.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: BurnOffer_Accept_Result
Field
Type
Description
cid
ContractId BurnOffer
Offer to accept.
payload
BurnOffer_Accept
Choice payload.
Choice HolderService_AcceptLockOffer
Accepts a lock offer. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: LockOffer_Accept_Result
Field
Type
Description
cid
ContractId LockOffer
Lock offer to accept.
payload
LockOffer_Accept
Choice payload.
Choice HolderService_AcceptLockRequest
Accepts a lock request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: LockRequest_Accept_Result
Field
Type
Description
cid
ContractId LockRequest
Lock request to accept.
payload
LockRequest_Accept
Choice payload.
Choice HolderService_AcceptMintOffer
Accepts an offer to mint a holding. This choice is disabled as of version
0.7.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: MintOffer_Accept_Result
Field
Type
Description
cid
ContractId MintOffer
Offer to accept.
payload
MintOffer_Accept
Choice payload.
Choice HolderService_AcceptTransferOffer
Accepts a transfer offer. This choice is disabled as of version
0.6.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: TransferOffer_Accept_Result
Field
Type
Description
cid
ContractId TransferOffer
Transfer offer to accept.
payload
TransferOffer_Accept
Choice payload.
Choice HolderService_AcceptTransferRequest
Accepts a transfer request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: TransferRequest_Accept_Result
Field
Type
Description
cid
ContractId TransferRequest
Transfer request to accept.
payload
TransferRequest_Accept
Choice payload.
Choice HolderService_AcceptUnlockOffer
Accepts an unlock offer. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: UnlockOffer_Accept_Result
Field
Type
Description
cid
ContractId UnlockOffer
Unlock offer to accept.
payload
UnlockOffer_Accept
Choice payload.
Choice HolderService_AcceptUnlockRequest
Accepts an unlock request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: UnlockRequest_Accept_Result
Field
Type
Description
cid
ContractId UnlockRequest
Unlock request to accept.
payload
UnlockRequest_Accept
Choice payload.
Choice HolderService_CancelBurnRequest
Cancels a request to burn a holding. This choice is disabled as of version
0.7.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: BurnRequest_Cancel_Result
Field
Type
Description
cid
ContractId BurnRequest
Request to cancel.
payload
BurnRequest_Cancel
Choice payload.
Choice HolderService_CancelEnforcementServiceRequest
Cancels a request for a enforcement service. This choice is disabled as of version
0.2.0of this package.Controller: holder
Returns: EnforcementServiceRequest_Cancel_Result
Field
Type
Description
cid
ContractId EnforcementServiceRequest
Request to cancel.
payload
EnforcementServiceRequest_Cancel
Choice payload.
Choice HolderService_CancelForceTransferRequest
Cancels a request to force a transfer. This choice is disabled as of version
0.2.0of this package.Controller: holder
Returns: ForceTransferRequest_Cancel_Result
Field
Type
Description
cid
ContractId ForceTransferRequest
Request to force transfer.
payload
ForceTransferRequest_Cancel
Choice payload.
Choice HolderService_CancelLockOffer
Cancels a lock offer. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: LockOffer_Cancel_Result
Field
Type
Description
cid
ContractId LockOffer
Lock offer to cancel.
payload
LockOffer_Cancel
Choice payload.
Choice HolderService_CancelLockRequest
Cancels a lock request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: LockRequest_Cancel_Result
Field
Type
Description
cid
ContractId LockRequest
Lock request to cancel.
payload
LockRequest_Cancel
Choice payload.
Choice HolderService_CancelMintRequest
Cancels a request to mint a holding. This choice is disabled as of version
0.7.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: MintRequest_Cancel_Result
Field
Type
Description
cid
ContractId MintRequest
Request to cancel.
payload
MintRequest_Cancel
Choice payload.
Choice HolderService_CancelTransferOffer
Cancels a transfer offer. This choice is disabled as of version
0.6.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: TransferOffer_Cancel_Result
Field
Type
Description
cid
ContractId TransferOffer
Transfer offer to cancel.
payload
TransferOffer_Cancel
Choice payload.
Choice HolderService_CancelTransferRequest
Cancels a transfer request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: TransferRequest_Cancel_Result
Field
Type
Description
cid
ContractId TransferRequest
Transfer request to cancel.
payload
TransferRequest_Cancel
Choice payload.
Choice HolderService_CancelUnlockOffer
Cancels an unlock offer. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: UnlockOffer_Cancel_Result
Field
Type
Description
cid
ContractId UnlockOffer
Unlock offer to cancel.
payload
UnlockOffer_Cancel
Choice payload.
Choice HolderService_CancelUnlockRequest
Cancels an unlock request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: UnlockRequest_Cancel_Result
Field
Type
Description
cid
ContractId UnlockRequest
Unlock request to cancel.
payload
UnlockRequest_Cancel
Choice payload.
Choice HolderService_CreateAllocation
Creates an allocation. This choice is available starting from version
0.2.0of this package. Deprecated: This choice will be deactivated in an upcoming release of this Daml package. Use theAllocationFactory_Allocatechoice instead.Controller: holder
Returns: AllocationInstructionResult
Field
Type
Description
registrar
Registrar party.
allocationFactoryCid
Allocation factory.
allocation
The target allocation which should be instructed.
inputHoldings
The holdings that SHOULD be used to fund the allocation.
extraArgs
Additional choice arguments.
Choice HolderService_OfferLock
Creates an offer to lock a holding. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: HolderService_OfferLock_Result
Field
Type
Description
registrar
Registrar of the holding.
locker
Locker.
instrumentIdentifier
Instrument to lock.
amount
Amount to lock.
context
Context for the lock.
holdingLabel
Label of the holding to lock.
reference
Reference for the lock.
batch
Batch of the lock.
Choice HolderService_OfferTransfer
Creates an offer to transfer a holding. This choice is disabled as of version
0.6.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: HolderService_OfferTransfer_Result
Field
Type
Description
registrar
Registrar of the holding.
receiver
Holding receiver.
instrumentIdentifier
Instrument to transfer.
amount
Amount to transfer.
senderLabel
Label of the holding to send.
reference
Reference for the transfer.
batch
Batch of the transfer.
Choice HolderService_OfferUnlock
Creates an offer to unlock a holding. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: HolderService_OfferUnlock_Result
Field
Type
Description
registrar
Registrar of the holding.
locker
Locker.
lockContext
Context for the lock to unlock.
instrumentIdentifier
Instrument to unlock.
amount
Amount to unlock.
holdingLabel
Label of the holding to unlock.
reference
Reference for the unlock.
batch
Batch of the unlock.
Choice HolderService_RejectAllocationRequest
Rejects an allocation request. This choice is available starting from version
0.2.0of this package. Deprecated: This choice will be deactivated in an upcoming release of this Daml package. Use theAllocationRequest_Rejectchoice instead.Controller: holder
Returns: ChoiceExecutionMetadata
Field
Type
Description
allocationRequestCid
Allocation request to reject.
Choice HolderService_RejectBurnOffer
Rejects an offer to burn a holding. This choice is disabled as of version
0.7.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: BurnOffer_Reject_Result
Field
Type
Description
cid
ContractId BurnOffer
Offer to reject.
payload
BurnOffer_Reject
Choice payload.
Choice HolderService_RejectLockOffer
Rejects a lock offer. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: LockOffer_Reject_Result
Field
Type
Description
cid
ContractId LockOffer
Lock offer to reject.
payload
LockOffer_Reject
Choice payload.
Choice HolderService_RejectLockRequest
Rejects a lock request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: LockRequest_Reject_Result
Field
Type
Description
cid
ContractId LockRequest
Lock request to reject.
payload
LockRequest_Reject
Choice payload.
Choice HolderService_RejectMintOffer
Rejects an offer to mint a holding. This choice is disabled as of version
0.7.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: MintOffer_Reject_Result
Field
Type
Description
cid
ContractId MintOffer
Offer to reject.
payload
MintOffer_Reject
Choice payload.
Choice HolderService_RejectTransferOffer
Rejects a transfer offer. This choice is disabled as of version
0.6.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: TransferOffer_Reject_Result
Field
Type
Description
cid
ContractId TransferOffer
Transfer request to reject.
payload
TransferOffer_Reject
Choice payload.
Choice HolderService_RejectTransferRequest
Rejects a transfer request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: TransferRequest_Reject_Result
Field
Type
Description
cid
ContractId TransferRequest
Transfer request to reject.
payload
TransferRequest_Reject
Choice payload.
Choice HolderService_RejectUnlockOffer
Rejects an unlock offer. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: UnlockOffer_Reject_Result
Field
Type
Description
cid
ContractId UnlockOffer
Unlock offer to reject.
payload
UnlockOffer_Reject
Choice payload.
Choice HolderService_RejectUnlockRequest
Rejects an unlock request. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: UnlockRequest_Reject_Result
Field
Type
Description
cid
ContractId UnlockRequest
Unlock request to reject.
payload
UnlockRequest_Reject
Choice payload.
Choice HolderService_RequestBurn
Creates a request to burn a holding. This choice is disabled as of version
0.7.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: HolderService_RequestBurn_Result
Field
Type
Description
registrar
Instrument registrar.
instrumentIdentifier
Instrument to burn.
amount
Amount to burn.
holdingLabel
Label of the holding.
reference
Reference for the burn.
batch
Batch of the burn.
Choice HolderService_RequestEnforcementService
Creates a request to enter into an
EnforcementServicecontract with a registrar. This grants the registrar party authority to force asset transfers under certain scenarios. This choice is disabled as of version0.2.0of this package.Controller: holder
Returns: HolderService_RequestEnforcementService_Result
Field
Type
Description
registrar
Registrar party.
Choice HolderService_RequestForceTransfer
Create a request to force-transfer a holding. This choice is disabled as of version
0.2.0of this package.Controller: holder
Returns: HolderService_RequestForceTransfer_Result
Field
Type
Description
requestorRationale
Requestor’s rationale for accepting the request.
registrar
Instrument registrar.
instrumentIdentifier
Instrument to force transfer.
amount
Amount to force transfer.
reference
Reference for the force transfer.
batch
Batch of the force transfer.
sender
Sender of the holding.
senderLabel
Label of the holding of the sender.
receiver
Receiver of the holding.
receiverLabel
Label of the holding of the receiver.
Choice HolderService_RequestLock
Creates a request to lock a holding. This choice is disabled as of version
0.6.0of this package.Controller: (DA.Internal.Record.getField @”holder” this)
Returns: HolderService_RequestLock_Result
Field
Type
Description
registrar
Registrar of the holding.
holder
Holder of the holding.
instrumentIdentifier
Instrument to lock.
amount
Amount to lock.
context
Context for the lock.
reference
Reference for the lock.
batch
Batch of the lock.
Choice HolderService_RequestMint
Creates a request to mint a holding. This choice is disabled as of version
0.7.0of this package. Use the recommended two-step flow initiated via theUtility.Registry.App.V0.Service.AllocationFactory.AllocationFactorycontract instead.Controller: holder
Returns: HolderService_RequestMint_Result
Field
Type
Description
registrar
Instrument registrar.
instrumentIdentifier
Instrument to mint.
amount
Amount to mint.
reference
Reference for the mint.
batch
Batch of the mint.
holdingLabel
Label of the holding.
Choice HolderService_RequestTransfer
Creates a request to transfer a holding. This choice is disabled as of version
0.6.0of this package.Controller: holder
Returns: HolderService_RequestTransfer_Result
Field
Type
Description
registrar
Registrar of the holding.
sender
Holding sender.
instrumentIdentifier
Instrument to transfer.
amount
Amount to transfer.
receiverLabel
Label of the holding to receive.
reference
Reference for the transfer.
batch
Batch of the transfer.
Choice HolderService_RequestUnlock
Creates a request to unlock a holding. This choice is disabled as of version
0.6.0of this package.Controller: (DA.Internal.Record.getField @”holder” this)
Returns: HolderService_RequestUnlock_Result
Field
Type
Description
registrar
Registrar of the holding.
holder
Holder of the holding to unlock.
lockContext
Context for the lock to unlock.
instrumentIdentifier
Instrument to unlock.
amount
Amount to unlock.
holdingLabel
Label of the holding to unlock.
reference
Reference for the unlock.
batch
Batch of the unlock.
Choice HolderService_Terminate
Terminates the service. Deprecated: This choice will be deactivated in an upcoming release of this Daml package.
Controller: provider
Returns: HolderService_Terminate_Result
(no fields)
template HolderServiceRequest
A holder service request. Deprecated: This template will be deactivated in an upcoming release of this Daml package.
Signatory: holder
Field
Type
Description
operator
Service operator.
provider
Service provider.
holder
Service holder.
Choice Archive
Controller: holder
Returns: ()
(no fields)
Choice HolderServiceRequest_Accept
Accept request. Deprecated: This choice will be deactivated in an upcoming release of this Daml package.
Controller: provider
Returns: HolderServiceRequest_Accept_Result
Field
Type
Description
providerConfigurationCid
Provider configuration.
credentialCids
Holder credentials.
Choice HolderServiceRequest_Cancel
Cancel request. Deprecated: This choice will be deactivated in an upcoming release of this Daml package.
Controller: holder
Returns: HolderServiceRequest_Cancel_Result
(no fields)
Choice HolderServiceRequest_Reject
Reject request. Deprecated: This choice will be deactivated in an upcoming release of this Daml package.
Controller: provider
Returns: HolderServiceRequest_Reject_Result
Field
Type
Description
reason
Rejection reason.
template RejectedHolderServiceRequest
A rejected holder service request. Deprecated: This template will be deactivated in an upcoming release of this Daml package.
Signatory: (DA.Internal.Record.getField @”provider” request), (DA.Internal.Record.getField @”holder” request)
Field
Type
Description
request
The rejected request payload.
reason
The rejection reason.
Choice Archive
Controller: (DA.Internal.Record.getField @”provider” request), (DA.Internal.Record.getField @”holder” request)
Returns: ()
(no fields)
Choice RejectedHolderServiceRequest_Delete
Deletes a rejected holder service request. Deprecated: This choice will be deactivated in an upcoming release of this Daml package.
Controller: (DA.Internal.Record.getField @”provider” request)
Returns: RejectedHolderServiceRequest_Delete_Result
(no fields)
Data Types¶
data HolderServiceRequest_Accept_Result
Result of
HolderServiceRequest_Accept.
HolderServiceRequest_Accept_Result
Field
Type
Description
holderServiceCid
Holder service contract.
data HolderServiceRequest_Cancel_Result
Result of
HolderServiceRequest_Cancel.
HolderServiceRequest_Cancel_Result
(no fields)
data HolderServiceRequest_Reject_Result
Result of
HolderServiceRequest_Reject.
HolderServiceRequest_Reject_Result
Field
Type
Description
rejectedHolderServiceRequestCid
Rejected holder service request contract.
data HolderService_AcceptTransferOffer_Result
Result of
HolderService_AcceptTransferOfferr.
HolderService_AcceptTransferOffer_Result
Field
Type
Description
acceptedTransferCid
ContractId AcceptedTransfer
Accepted transfer.
data HolderService_OfferLock_Result
Result of
HolderService_OfferLock.
HolderService_OfferLock_Result
Field
Type
Description
lockOfferCid
ContractId LockOffer
Lock offer.
data HolderService_OfferTransfer_Result
Result of
HolderService_OfferTransfer.
HolderService_OfferTransfer_Result
Field
Type
Description
transferOfferCid
ContractId TransferOffer
Transfer offer.
data HolderService_OfferUnlock_Result
Result of
HolderService_OfferUnlock.
HolderService_OfferUnlock_Result
Field
Type
Description
unlockOfferCid
ContractId UnlockOffer
Unlock offer.
data HolderService_RequestBurn_Result
Result of
HolderService_RequestBurn.
HolderService_RequestBurn_Result
Field
Type
Description
burnRequestCid
ContractId BurnRequest
Burn request.
data HolderService_RequestLock_Result
Result of
HolderService_RequestLock.
HolderService_RequestLock_Result
Field
Type
Description
lockRequestCid
ContractId LockRequest
Lock request.
data HolderService_RequestMint_Result
Result of
HolderService_RequestMint.
HolderService_RequestMint_Result
Field
Type
Description
mintRequestCid
ContractId MintRequest
Mint request.
data HolderService_RequestTransfer_Result
Result of
HolderService_RequestTransfer.
HolderService_RequestTransfer_Result
Field
Type
Description
transferRequestCid
ContractId TransferRequest
Transfer request.
data HolderService_RequestUnlock_Result
Result of
HolderService_RequestUnlock.
HolderService_RequestUnlock_Result
Field
Type
Description
unlockRequestCid
ContractId UnlockRequest
Unlock request.
data HolderService_Terminate_Result
Result of
HolderService_Terminate.
HolderService_Terminate_Result
(no fields)
data RejectedHolderServiceRequest_Delete_Result
Result of
RejectedHolderServiceRequest_Delete.
RejectedHolderServiceRequest_Delete_Result
(no fields)