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

# Splice.Wallet.MintingDelegation

> Documentation for Splice.Wallet.MintingDelegation

## Templates

<div id="type-splice-wallet-mintingdelegation-mintingdelegation-65428">
  **template** MintingDelegation
</div>

> The right allowing the delegate to mint rewards on behalf of the beneficiary.
>
> Signatory: beneficiary, delegate
>
> | Field            | Type                                                                                     | Description                                                                                                                                                                                                        |
> | ---------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
> | beneficiary      | [Party](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-party-57932) | The party on whose behalf minting is performed.                                                                                                                                                                    |
> | delegate         | [Party](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-party-57932) | The party authorized to perform minting operations.                                                                                                                                                                |
> | dso              | [Party](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-party-57932) | Expected DSO party.                                                                                                                                                                                                |
> | expiresAt        | [Time](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-time-63886)   | The time after which this delegation is no longer valid.                                                                                                                                                           |
> | amuletMergeLimit | [Int](/appdev/reference/daml-standard-library/prelude#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)
>
> * <div id="type-splice-wallet-mintingdelegation-mintingdelegationmint-91388">
>     **Choice** MintingDelegation\_Mint
>   </div>
>
>   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.                                                       |
>
> * <div id="type-splice-wallet-mintingdelegation-mintingdelegationreject-13031">
>     **Choice** MintingDelegation\_Reject
>   </div>
>
>   Controller: delegate
>
>   Returns: MintingDelegation\_RejectResult
>
>   (no fields)
>
> * <div id="type-splice-wallet-mintingdelegation-mintingdelegationwithdraw-75826">
>     **Choice** MintingDelegation\_Withdraw
>   </div>
>
>   Controller: beneficiary
>
>   Returns: MintingDelegation\_WithdrawResult
>
>   (no fields)

<div id="type-splice-wallet-mintingdelegation-mintingdelegationproposal-50922">
  **template** MintingDelegationProposal
</div>

> 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)
>
> * <div id="type-splice-wallet-mintingdelegation-mintingdelegationproposalaccept-24656">
>     **Choice** MintingDelegationProposal\_Accept
>   </div>
>
>   Controller: (DA.Internal.Record.getField @"delegate" delegation)
>
>   Returns: MintingDelegationProposal\_AcceptResult
>
>   | Field                 | Type                                                                                                                                                                                                                       | Description                                                                                                               |
>   | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
>   | existingDelegationCid | [Optional](/appdev/reference/daml-standard-library/prelude#type-da-internal-prelude-optional-37153) ([ContractId](/appdev/reference/daml-standard-library/prelude#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. |
>
> * <div id="type-splice-wallet-mintingdelegation-mintingdelegationproposalreject-13601">
>     **Choice** MintingDelegationProposal\_Reject
>   </div>
>
>   Controller: (DA.Internal.Record.getField @"delegate" delegation)
>
>   Returns: MintingDelegationProposal\_RejectResult
>
>   (no fields)
>
> * <div id="type-splice-wallet-mintingdelegation-mintingdelegationproposalwithdraw-3376">
>     **Choice** MintingDelegationProposal\_Withdraw
>   </div>
>
>   Controller: (DA.Internal.Record.getField @"beneficiary" delegation)
>
>   Returns: MintingDelegationProposal\_WithdrawResult
>
>   (no fields)

## Data Types

<div id="type-splice-wallet-mintingdelegation-mintingdelegationproposalacceptresult-95133">
  **data** MintingDelegationProposal\_AcceptResult
</div>

> <div id="constr-splice-wallet-mintingdelegation-mintingdelegationproposalacceptresult-35064">
>   MintingDelegationProposal\_AcceptResult
> </div>
>
> > | Field                | Type                                                                                                                 | Description |
> > | -------------------- | -------------------------------------------------------------------------------------------------------------------- | ----------- |
> > | mintingDelegationCid | [ContractId](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-contractid-95282) MintingDelegation |             |
>
> **instance** [Eq](/appdev/reference/daml-standard-library/prelude#class-ghc-classes-eq-22713) MintingDelegationProposal\_AcceptResult
>
> **instance** [Show](/appdev/reference/daml-standard-library/prelude#class-ghc-show-show-65360) MintingDelegationProposal\_AcceptResult
>
> **instance** GetField "mintingDelegationCid" MintingDelegationProposal\_AcceptResult ([ContractId](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-contractid-95282) MintingDelegation)
>
> **instance** SetField "mintingDelegationCid" MintingDelegationProposal\_AcceptResult ([ContractId](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-contractid-95282) MintingDelegation)
>
> **instance** [HasExercise](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasexercise-70422) MintingDelegationProposal MintingDelegationProposal\_Accept MintingDelegationProposal\_AcceptResult
>
> **instance** [HasFromAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegationProposal MintingDelegationProposal\_Accept MintingDelegationProposal\_AcceptResult
>
> **instance** [HasToAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegationProposal MintingDelegationProposal\_Accept MintingDelegationProposal\_AcceptResult

<div id="type-splice-wallet-mintingdelegation-mintingdelegationproposalrejectresult-38748">
  **data** MintingDelegationProposal\_RejectResult
</div>

> <div id="constr-splice-wallet-mintingdelegation-mintingdelegationproposalrejectresult-9461">
>   MintingDelegationProposal\_RejectResult
> </div>
>
> > (no fields)
>
> **instance** [Eq](/appdev/reference/daml-standard-library/prelude#class-ghc-classes-eq-22713) MintingDelegationProposal\_RejectResult
>
> **instance** [Show](/appdev/reference/daml-standard-library/prelude#class-ghc-show-show-65360) MintingDelegationProposal\_RejectResult
>
> **instance** [HasExercise](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasexercise-70422) MintingDelegationProposal MintingDelegationProposal\_Reject MintingDelegationProposal\_RejectResult
>
> **instance** [HasFromAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegationProposal MintingDelegationProposal\_Reject MintingDelegationProposal\_RejectResult
>
> **instance** [HasToAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegationProposal MintingDelegationProposal\_Reject MintingDelegationProposal\_RejectResult

<div id="type-splice-wallet-mintingdelegation-mintingdelegationproposalwithdrawresult-74809">
  **data** MintingDelegationProposal\_WithdrawResult
</div>

> <div id="constr-splice-wallet-mintingdelegation-mintingdelegationproposalwithdrawresult-928">
>   MintingDelegationProposal\_WithdrawResult
> </div>
>
> > (no fields)
>
> **instance** [Eq](/appdev/reference/daml-standard-library/prelude#class-ghc-classes-eq-22713) MintingDelegationProposal\_WithdrawResult
>
> **instance** [Show](/appdev/reference/daml-standard-library/prelude#class-ghc-show-show-65360) MintingDelegationProposal\_WithdrawResult
>
> **instance** [HasExercise](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasexercise-70422) MintingDelegationProposal MintingDelegationProposal\_Withdraw MintingDelegationProposal\_WithdrawResult
>
> **instance** [HasFromAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegationProposal MintingDelegationProposal\_Withdraw MintingDelegationProposal\_WithdrawResult
>
> **instance** [HasToAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegationProposal MintingDelegationProposal\_Withdraw MintingDelegationProposal\_WithdrawResult

<div id="type-splice-wallet-mintingdelegation-mintingdelegationmintresult-4933">
  **data** MintingDelegation\_MintResult
</div>

> <div id="constr-splice-wallet-mintingdelegation-mintingdelegationmintresult-18172">
>   MintingDelegation\_MintResult
> </div>
>
> > | Field          | Type           | Description |
> > | -------------- | -------------- | ----------- |
> > | transferResult | TransferResult |             |
>
> **instance** [Eq](/appdev/reference/daml-standard-library/prelude#class-ghc-classes-eq-22713) MintingDelegation\_MintResult
>
> **instance** [Show](/appdev/reference/daml-standard-library/prelude#class-ghc-show-show-65360) MintingDelegation\_MintResult
>
> **instance** GetField "transferResult" MintingDelegation\_MintResult TransferResult
>
> **instance** SetField "transferResult" MintingDelegation\_MintResult TransferResult
>
> **instance** [HasExercise](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasexercise-70422) MintingDelegation MintingDelegation\_Mint MintingDelegation\_MintResult
>
> **instance** [HasFromAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegation MintingDelegation\_Mint MintingDelegation\_MintResult
>
> **instance** [HasToAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegation MintingDelegation\_Mint MintingDelegation\_MintResult

<div id="type-splice-wallet-mintingdelegation-mintingdelegationrejectresult-12270">
  **data** MintingDelegation\_RejectResult
</div>

> <div id="constr-splice-wallet-mintingdelegation-mintingdelegationrejectresult-24691">
>   MintingDelegation\_RejectResult
> </div>
>
> > (no fields)
>
> **instance** [Eq](/appdev/reference/daml-standard-library/prelude#class-ghc-classes-eq-22713) MintingDelegation\_RejectResult
>
> **instance** [Show](/appdev/reference/daml-standard-library/prelude#class-ghc-show-show-65360) MintingDelegation\_RejectResult
>
> **instance** [HasExercise](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasexercise-70422) MintingDelegation MintingDelegation\_Reject MintingDelegation\_RejectResult
>
> **instance** [HasFromAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegation MintingDelegation\_Reject MintingDelegation\_RejectResult
>
> **instance** [HasToAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegation MintingDelegation\_Reject MintingDelegation\_RejectResult

<div id="type-splice-wallet-mintingdelegation-mintingdelegationwithdrawresult-83199">
  **data** MintingDelegation\_WithdrawResult
</div>

> <div id="constr-splice-wallet-mintingdelegation-mintingdelegationwithdrawresult-61082">
>   MintingDelegation\_WithdrawResult
> </div>
>
> > (no fields)
>
> **instance** [Eq](/appdev/reference/daml-standard-library/prelude#class-ghc-classes-eq-22713) MintingDelegation\_WithdrawResult
>
> **instance** [Show](/appdev/reference/daml-standard-library/prelude#class-ghc-show-show-65360) MintingDelegation\_WithdrawResult
>
> **instance** [HasExercise](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasexercise-70422) MintingDelegation MintingDelegation\_Withdraw MintingDelegation\_WithdrawResult
>
> **instance** [HasFromAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasfromanychoice-81184) MintingDelegation MintingDelegation\_Withdraw MintingDelegation\_WithdrawResult
>
> **instance** [HasToAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hastoanychoice-82571) MintingDelegation MintingDelegation\_Withdraw MintingDelegation\_WithdrawResult
