> ## 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.Wallet.MintingDelegation

> Documentation for Splice.Wallet.MintingDelegation

## Templates

**template** MintingDelegation

> The right allowing the delegate to mint rewards on behalf of the beneficiary.
>
> Signatory: beneficiary, delegate
>
> | Field | Type | Description |
> | - | - | - |
> | beneficiary | [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932) | The party on whose behalf minting is performed. |
> | delegate | [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932) | The party authorized to perform minting operations. |
> | dso | [Party](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-party-57932) | Expected DSO party. |
> | expiresAt | [Time](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-time-63886) | The time after which this delegation is no longer valid. |
> | amuletMergeLimit | [Int](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-ghc-types-int-37261) | The number of amulet contracts to keep after auto-merging; i.e., auto-merge contracts once there are strictly more than this number of contracts. This is a suggestion to the delegate and is not enforced in daml |
>
> * **Choice** Archive
>
>   Controller: beneficiary, delegate
>
>   Returns: ()
>
>   (no fields)
>
> * **Choice** MintingDelegation\_Mint
>
>   Controller: delegate
>
>   Returns: MintingDelegation\_MintResult
>
>   | Field | Type | Description |
>   | - | - | - |
>   | inputs | \[TransferInput] | The inputs to the transfer, like the validator liveness activity records owned by the beneficiary. |
>   | context | PaymentTransferContext | The transfer context including amulet rules. |
>
> * **Choice** MintingDelegation\_Reject
>
>   Controller: delegate
>
>   Returns: MintingDelegation\_RejectResult
>
>   (no fields)
>
> * **Choice** MintingDelegation\_Withdraw
>
>   Controller: beneficiary
>
>   Returns: MintingDelegation\_WithdrawResult
>
>   (no fields)

**template** MintingDelegationProposal

> Proposal by the user to setup a minting delegation.
>
> Signatory: (DA.Internal.Record.getField @"beneficiary" delegation)
>
> | Field | Type | Description |
> | - | - | - |
> | delegation | MintingDelegation | The delegation to be created if accepted. |
>
> * **Choice** Archive
>
>   Controller: (DA.Internal.Record.getField @"beneficiary" delegation)
>
>   Returns: ()
>
>   (no fields)
>
> * **Choice** MintingDelegationProposal\_Accept
>
>   Controller: (DA.Internal.Record.getField @"delegate" delegation)
>
>   Returns: MintingDelegationProposal\_AcceptResult
>
>   | Field | Type | Description |
>   | - | - | - |
>   | existingDelegationCid | [Optional](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-prelude-optional-37153) ([ContractId](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-contractid-95282) MintingDelegation) | Optional existing delegation to archive while creating the new one. Useful for changing the parameters of the delegation. |
>
> * **Choice** MintingDelegationProposal\_Reject
>
>   Controller: (DA.Internal.Record.getField @"delegate" delegation)
>
>   Returns: MintingDelegationProposal\_RejectResult
>
>   (no fields)
>
> * **Choice** MintingDelegationProposal\_Withdraw
>
>   Controller: (DA.Internal.Record.getField @"beneficiary" delegation)
>
>   Returns: MintingDelegationProposal\_WithdrawResult
>
>   (no fields)

## Data Types

**data** MintingDelegationProposal\_AcceptResult

> MintingDelegationProposal\_AcceptResult
>
> > | Field | Type | Description |
> > | - | - | - |
> > | mintingDelegationCid | [ContractId](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-contractid-95282) MintingDelegation | |
>
> **instance** [Eq](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-classes-eq-22713) MintingDelegationProposal\_AcceptResult
>
> **instance** [Show](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-show-show-65360) MintingDelegationProposal\_AcceptResult
>
> **instance** GetField "mintingDelegationCid" MintingDelegationProposal\_AcceptResult ([ContractId](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-contractid-95282) MintingDelegation)
>
> **instance** SetField "mintingDelegationCid" MintingDelegationProposal\_AcceptResult ([ContractId](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#type-da-internal-lf-contractid-95282) MintingDelegation)
>
> **instance** [HasExercise](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasexercise-70422) MintingDelegationProposal MintingDelegationProposal\_Accept MintingDelegationProposal\_AcceptResult
>
> **instance** [HasFromAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegationProposal MintingDelegationProposal\_Accept MintingDelegationProposal\_AcceptResult
>
> **instance** [HasToAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegationProposal MintingDelegationProposal\_Accept MintingDelegationProposal\_AcceptResult

**data** MintingDelegationProposal\_RejectResult

> MintingDelegationProposal\_RejectResult
>
> > (no fields)
>
> **instance** [Eq](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-classes-eq-22713) MintingDelegationProposal\_RejectResult
>
> **instance** [Show](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-show-show-65360) MintingDelegationProposal\_RejectResult
>
> **instance** [HasExercise](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasexercise-70422) MintingDelegationProposal MintingDelegationProposal\_Reject MintingDelegationProposal\_RejectResult
>
> **instance** [HasFromAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegationProposal MintingDelegationProposal\_Reject MintingDelegationProposal\_RejectResult
>
> **instance** [HasToAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegationProposal MintingDelegationProposal\_Reject MintingDelegationProposal\_RejectResult

**data** MintingDelegationProposal\_WithdrawResult

> MintingDelegationProposal\_WithdrawResult
>
> > (no fields)
>
> **instance** [Eq](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-classes-eq-22713) MintingDelegationProposal\_WithdrawResult
>
> **instance** [Show](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-show-show-65360) MintingDelegationProposal\_WithdrawResult
>
> **instance** [HasExercise](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasexercise-70422) MintingDelegationProposal MintingDelegationProposal\_Withdraw MintingDelegationProposal\_WithdrawResult
>
> **instance** [HasFromAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegationProposal MintingDelegationProposal\_Withdraw MintingDelegationProposal\_WithdrawResult
>
> **instance** [HasToAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegationProposal MintingDelegationProposal\_Withdraw MintingDelegationProposal\_WithdrawResult

**data** MintingDelegation\_MintResult

> MintingDelegation\_MintResult
>
> > | Field | Type | Description |
> > | - | - | - |
> > | transferResult | TransferResult | |
>
> **instance** [Eq](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-classes-eq-22713) MintingDelegation\_MintResult
>
> **instance** [Show](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-show-show-65360) MintingDelegation\_MintResult
>
> **instance** GetField "transferResult" MintingDelegation\_MintResult TransferResult
>
> **instance** SetField "transferResult" MintingDelegation\_MintResult TransferResult
>
> **instance** [HasExercise](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasexercise-70422) MintingDelegation MintingDelegation\_Mint MintingDelegation\_MintResult
>
> **instance** [HasFromAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegation MintingDelegation\_Mint MintingDelegation\_MintResult
>
> **instance** [HasToAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegation MintingDelegation\_Mint MintingDelegation\_MintResult

**data** MintingDelegation\_RejectResult

> MintingDelegation\_RejectResult
>
> > (no fields)
>
> **instance** [Eq](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-classes-eq-22713) MintingDelegation\_RejectResult
>
> **instance** [Show](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-show-show-65360) MintingDelegation\_RejectResult
>
> **instance** [HasExercise](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasexercise-70422) MintingDelegation MintingDelegation\_Reject MintingDelegation\_RejectResult
>
> **instance** [HasFromAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegation MintingDelegation\_Reject MintingDelegation\_RejectResult
>
> **instance** [HasToAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegation MintingDelegation\_Reject MintingDelegation\_RejectResult

**data** MintingDelegation\_WithdrawResult

> MintingDelegation\_WithdrawResult
>
> > (no fields)
>
> **instance** [Eq](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-classes-eq-22713) MintingDelegation\_WithdrawResult
>
> **instance** [Show](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-ghc-show-show-65360) MintingDelegation\_WithdrawResult
>
> **instance** [HasExercise](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasexercise-70422) MintingDelegation MintingDelegation\_Withdraw MintingDelegation\_WithdrawResult
>
> **instance** [HasFromAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegation MintingDelegation\_Withdraw MintingDelegation\_WithdrawResult
>
> **instance** [HasToAnyChoice](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegation MintingDelegation\_Withdraw MintingDelegation\_WithdrawResult
