Utility.Registry.V0.Holding.Allocation

Templates

template DvpLegAllocation

An allocation for a Dvp leg settled via a third-party. This template is available starting from version 0.2.0 of this package.

Signatory: provider, toRegistrar (DA.Internal.Record.getField @"instrumentId" (DA.Internal.Record.getField @"transferLeg" allocation)), (DA.Internal.Record.getField @"sender" (DA.Internal.Record.getField @"transferLeg" allocation))

Field

Type

Description

allocation

AllocationSpecification

The AllocationSpecification including transfer and settlement details.

lockedHoldingCid

ContractId Holding

Holding locked to the Allocation matching the exact transfer amount.

operator

Party

Utility operator.

provider

Optional Party

Utility provider. Introduced as of version 0.3.0 of this package. TODO: Add ensure $ isSome provider in a follow up release.

  • Choice Archive

    Controller: provider, toRegistrar (DA.Internal.Record.getField @"instrumentId" (DA.Internal.Record.getField @"transferLeg" allocation)), (DA.Internal.Record.getField @"sender" (DA.Internal.Record.getField @"transferLeg" allocation))

    Returns: ()

    (no fields)

  • interface instance Allocation for DvpLegAllocation

Functions

toLockContext

: AllocationSpecification -> Text