Utility.Registry.App.V0.Service.Registrar

Templates

template RegistrarService

Registrar service.

Signatory: provider, registrar

Field

Type

Description

operator

Party

Service operator.

provider

Party

Service provider.

registrar

Party

Service holder.

enableResultContracts

Optional Bool

Determines whether executed (and rejected) contracts should be created for 2-step mint, burn, and transfer flows. The contracts ExecutedMint, ExecutedBurn, and ExecutedTransfer act as on-ledger receipts confirming successful execution. Similarly, RejectedMint, RejectedBurn, and RejectedTransfer confirm that the respective requests were rejected. Registrars can opt in or out of creating these contracts. If None, these contracts are created by default. Note: This default will change after the HDM upgrade to 3.4, which will allow reconstructing transaction history directly from the ledger trees, eliminating the need for executed contracts. Introduced as of version 0.5.0 of this package.

template RegistrarServiceRequest

A registrar service request.

Signatory: registrar

Field

Type

Description

operator

Party

Service operator.

provider

Party

Service provider.

registrar

Party

Service registrar.

template RejectedRegistrarServiceRequest

A rejected registrar service request.

Signatory: (DA.Internal.Record.getField @"provider" request), (DA.Internal.Record.getField @"registrar" request)

Field

Type

Description

request

RegistrarServiceRequest

The rejected request payload.

reason

Text

The rejection reason.

Data Types

data RegistrarServiceRequest_Accept_Result

Result of RegistrarServiceRequest_Accept.

RegistrarServiceRequest_Accept_Result

Field

Type

Description

registrarServiceCid

ContractId RegistrarService

Registrar service.

data RegistrarServiceRequest_Cancel_Result

Result of RegistrarServiceRequest_Cancel.

RegistrarServiceRequest_Cancel_Result

(no fields)

data RegistrarServiceRequest_Reject_Result

Result of RegistrarServiceRequest_Reject.

RegistrarServiceRequest_Reject_Result

Field

Type

Description

rejectedRegistrarServiceRequestCid

ContractId RejectedRegistrarServiceRequest

Rejected registrar service request.

data RegistrarService_ArchiveAllocationFactory_Result

Result of archiving allocation factory.

RegistrarService_ArchiveAllocationFactory_Result

(no fields)

data RegistrarService_ArchiveAndCreateInstrumentConfiguration_Result

Result of RegistrarService_ArchiveAndCreateInstrumentConfiguration.

RegistrarService_ArchiveAndCreateInstrumentConfiguration_Result

Field

Type

Description

archiveResult

RegistrarService_ArchiveInstrumentConfiguration_Result

Archive result.

createResult

RegistrarService_CreateInstrumentConfiguration_Result

Create result.

data RegistrarService_ArchiveInstrumentConfiguration_Result

Result of RegistrarService_ArchiveInstrumentConfiguration.

RegistrarService_ArchiveInstrumentConfiguration_Result

(no fields)

data RegistrarService_ArchiveTransferRule_Result

Result of RegistrarService_ArchiveTransferRule.

RegistrarService_ArchiveTransferRule_Result

(no fields)

data RegistrarService_CreateAllocationFactory_Result

Result of creating allocation factory.

RegistrarService_CreateAllocationFactory_Result

Field

Type

Description

allocationFactoryCid

ContractId AllocationFactory

data RegistrarService_CreateInstrumentConfiguration_Result

Result of RegistrarService_CreateInstrumentConfiguration.

RegistrarService_CreateInstrumentConfiguration_Result

Field

Type

Description

instrumentConfigurationCid

ContractId InstrumentConfiguration

Instrument configuration request.

data RegistrarService_CreateTransferRule_Result

Result of RegistrarService_CreateTransferRule.

RegistrarService_CreateTransferRule_Result

Field

Type

Description

transferRuleCid

ContractId TransferRule

Transfer rule.

data RegistrarService_OfferBurn_Result

Result of RegistrarService_OfferBurn.

RegistrarService_OfferBurn_Result

Field

Type

Description

burnOfferCid

ContractId BurnOffer

Burn offer.

data RegistrarService_OfferMint_Result

Result of RegistrarService_OfferMint.

RegistrarService_OfferMint_Result

Field

Type

Description

mintOfferCid

ContractId MintOffer

Mint offer.

data RegistrarService_Terminate_Result

Result of RegistrarService_Terminate

RegistrarService_Terminate_Result

(no fields)

data RejectedRegistrarServiceRequest_Delete_Result

Result of RejectedRegistrarServiceRequest_Delete.

RejectedRegistrarServiceRequest_Delete_Result

(no fields)