> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# Splice.AmuletAllocation

> Documentation for Splice.AmuletAllocation

## Templates

**template** AmuletAllocation

> Amulet allocated in locked form to a trade.
>
> Signatory: allocationInstrumentAdmin allocation, (DA.Internal.Record.getField @"sender" (DA.Internal.Record.getField @"transferLeg" allocation))
>
> | Field | Type | Description |
> | - | - | - |
> | lockedAmulet | [ContractId](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-contractid-95282) LockedAmulet | Locked amulet that holds the funds for the allocation |
> | allocation | AllocationSpecification | |
>
> * **Choice** AmuletAllocation\_DsoExpire
>
>   Controller: allocationInstrumentAdmin allocation
>
>   Returns: AmuletAllocation\_DsoExpireResult
>
>   | Field | Type | Description |
>   | - | - | - |
>   | expireLock | [Bool](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-ghc-types-bool-66265) | |
>
> * **Choice** Archive
>
>   Controller: allocationInstrumentAdmin allocation, (DA.Internal.Record.getField @"sender" (DA.Internal.Record.getField @"transferLeg" allocation))
>
>   Returns: ()
>
>   (no fields)

## Data Types

**data** AmuletAllocation\_DsoExpireResult

> **instance** [Eq](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-classes-eq-22713) AmuletAllocation\_DsoExpireResult
>
> **instance** [Show](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-show-show-65360) AmuletAllocation\_DsoExpireResult
>
> **instance** GetField "meta" AmuletAllocation\_DsoExpireResult Metadata
>
> **instance** GetField "results" ExternalPartyAmuletRules\_ExpireAmuletAllocationsResult \[AmuletAllocation\_DsoExpireResult]
>
> **instance** GetField "senderHoldingCids" AmuletAllocation\_DsoExpireResult \[[ContractId](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-contractid-95282) Holding]
>
> **instance** SetField "meta" AmuletAllocation\_DsoExpireResult Metadata
>
> **instance** SetField "results" ExternalPartyAmuletRules\_ExpireAmuletAllocationsResult \[AmuletAllocation\_DsoExpireResult]
>
> **instance** SetField "senderHoldingCids" AmuletAllocation\_DsoExpireResult \[[ContractId](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-contractid-95282) Holding]
>
> **instance** [HasExercise](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasexercise-70422) AmuletAllocation AmuletAllocation\_DsoExpire AmuletAllocation\_DsoExpireResult
>
> **instance** [HasFromAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasfromanychoice-81184) AmuletAllocation AmuletAllocation\_DsoExpire AmuletAllocation\_DsoExpireResult
>
> **instance** [HasToAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hastoanychoice-82571) AmuletAllocation AmuletAllocation\_DsoExpire AmuletAllocation\_DsoExpireResult

## Functions

allocationToTwoStepTransfer
: AllocationSpecification -> TwoStepTransfer
