.. _module-splice-amuletconfig-30440: Splice.AmuletConfig =================== Data Types ---------- .. _type-splice-amuletconfig-amulet-69874: **data** `Amulet `_ Deprecated type for specifying amounts and fees in units of Amulet\. Use Splice\.Amulet\.Amulet directly instead\. .. _constr-splice-amuletconfig-amulet-76435: `Amulet `_ **instance** `Eq `_ `Amulet `_ **instance** `Show `_ `Amulet `_ .. _type-splice-amuletconfig-amuletconfig-37414: **data** `AmuletConfig `_ unit Configuration includes TransferConfig, issuance curve and tickDuration See Splice\.Scripts\.Parameters for concrete values\. .. _constr-splice-amuletconfig-amuletconfig-91595: `AmuletConfig `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - transferConfig - `TransferConfig `_ unit - Configuration determining the fees and limits for Amulet transfers * - issuanceCurve - :ref:`Schedule ` `RelTime `_ :ref:`IssuanceConfig ` - Issuance curve to use\. * - decentralizedSynchronizer - :ref:`AmuletDecentralizedSynchronizerConfig ` - Configuration for the decentralized synchronizer and its fees\. TODO(M4\-85)\: the values in here are likely quite large (several URls and long synchronizerIds) and not required for executing transfers\. Split this part of the config out into a separate contract as a performance optimization\. * - tickDuration - `RelTime `_ - Duration of a tick, which is the duration of half a round\. * - packageConfig - `PackageConfig `_ - Configuration determining the version of each package that should be used for command submissions\. * - transferPreapprovalFee - `Optional `_ `Decimal `_ - Fee for keeping a transfer pre\-approval around\. **instance** `Eq `_ (`AmuletConfig `_ unit) **instance** `Show `_ (`AmuletConfig `_ unit) **instance** `GetField `_ \"configSchedule\" :ref:`AmuletRules ` (:ref:`Schedule ` `Time `_ (`AmuletConfig `_ `USD `_)) **instance** `GetField `_ \"decentralizedSynchronizer\" (`AmuletConfig `_ unit) :ref:`AmuletDecentralizedSynchronizerConfig ` **instance** `GetField `_ \"issuanceCurve\" (`AmuletConfig `_ unit) (:ref:`Schedule ` `RelTime `_ :ref:`IssuanceConfig `) **instance** `GetField `_ \"newScheduleItem\" :ref:`AmuletRules_AddFutureAmuletConfigSchedule ` (`Time `_, `AmuletConfig `_ `USD `_) **instance** `GetField `_ \"packageConfig\" (`AmuletConfig `_ unit) `PackageConfig `_ **instance** `GetField `_ \"scheduleItem\" :ref:`AmuletRules_UpdateFutureAmuletConfigSchedule ` (`Time `_, `AmuletConfig `_ `USD `_) **instance** `GetField `_ \"tickDuration\" (`AmuletConfig `_ unit) `RelTime `_ **instance** `GetField `_ \"transferConfig\" (`AmuletConfig `_ unit) (`TransferConfig `_ unit) **instance** `GetField `_ \"transferPreapprovalFee\" (`AmuletConfig `_ unit) (`Optional `_ `Decimal `_) **instance** `SetField `_ \"configSchedule\" :ref:`AmuletRules ` (:ref:`Schedule ` `Time `_ (`AmuletConfig `_ `USD `_)) **instance** `SetField `_ \"decentralizedSynchronizer\" (`AmuletConfig `_ unit) :ref:`AmuletDecentralizedSynchronizerConfig ` **instance** `SetField `_ \"issuanceCurve\" (`AmuletConfig `_ unit) (:ref:`Schedule ` `RelTime `_ :ref:`IssuanceConfig `) **instance** `SetField `_ \"newScheduleItem\" :ref:`AmuletRules_AddFutureAmuletConfigSchedule ` (`Time `_, `AmuletConfig `_ `USD `_) **instance** `SetField `_ \"packageConfig\" (`AmuletConfig `_ unit) `PackageConfig `_ **instance** `SetField `_ \"scheduleItem\" :ref:`AmuletRules_UpdateFutureAmuletConfigSchedule ` (`Time `_, `AmuletConfig `_ `USD `_) **instance** `SetField `_ \"tickDuration\" (`AmuletConfig `_ unit) `RelTime `_ **instance** `SetField `_ \"transferConfig\" (`AmuletConfig `_ unit) (`TransferConfig `_ unit) **instance** `SetField `_ \"transferPreapprovalFee\" (`AmuletConfig `_ unit) (`Optional `_ `Decimal `_) .. _type-splice-amuletconfig-packageconfig-59903: **data** `PackageConfig `_ The package config defines for each daml package (identified by name) the package version that should be used for command submissions at that point\. .. _constr-splice-amuletconfig-packageconfig-69032: `PackageConfig `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - amulet - `Text `_ - * - amuletNameService - `Text `_ - * - dsoGovernance - `Text `_ - * - validatorLifecycle - `Text `_ - * - wallet - `Text `_ - * - walletPayments - `Text `_ - **instance** `Eq `_ `PackageConfig `_ **instance** `Show `_ `PackageConfig `_ **instance** `GetField `_ \"amulet\" `PackageConfig `_ `Text `_ **instance** `GetField `_ \"amuletNameService\" `PackageConfig `_ `Text `_ **instance** `GetField `_ \"dsoGovernance\" `PackageConfig `_ `Text `_ **instance** `GetField `_ \"packageConfig\" (`AmuletConfig `_ unit) `PackageConfig `_ **instance** `GetField `_ \"validatorLifecycle\" `PackageConfig `_ `Text `_ **instance** `GetField `_ \"wallet\" `PackageConfig `_ `Text `_ **instance** `GetField `_ \"walletPayments\" `PackageConfig `_ `Text `_ **instance** `SetField `_ \"amulet\" `PackageConfig `_ `Text `_ **instance** `SetField `_ \"amuletNameService\" `PackageConfig `_ `Text `_ **instance** `SetField `_ \"dsoGovernance\" `PackageConfig `_ `Text `_ **instance** `SetField `_ \"packageConfig\" (`AmuletConfig `_ unit) `PackageConfig `_ **instance** `SetField `_ \"validatorLifecycle\" `PackageConfig `_ `Text `_ **instance** `SetField `_ \"wallet\" `PackageConfig `_ `Text `_ **instance** `SetField `_ \"walletPayments\" `PackageConfig `_ `Text `_ .. _type-splice-amuletconfig-transferconfig-45691: **data** `TransferConfig `_ unit Configuration determining the fees and limits for Amulet transfers granted by the AmuletRules\. See Splice\.Scripts\.Parameters for concrete values\. .. _constr-splice-amuletconfig-transferconfig-20622: `TransferConfig `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - createFee - :ref:`FixedFee ` - Fee to create a new amulet\. * - holdingFee - :ref:`RatePerRound ` - Fee for keeping an amulet around\. * - transferFee - :ref:`SteppedRate ` - Fee for transferring some amount of amulet to a new owner\. * - lockHolderFee - :ref:`FixedFee ` - Fee per lock holder of a locked amulet\. * - extraFeaturedAppRewardAmount - `Decimal `_ - Extra $\-amount of reward for featured apps\. * - maxNumInputs - `Int `_ - Maximum number of batch inputs for a transfer\. * - maxNumOutputs - `Int `_ - Maximum number of batch outputs for a transfer\. * - maxNumLockHolders - `Int `_ - Maximum number of lock holders allowed for a locked amulet\. **instance** `Eq `_ (`TransferConfig `_ unit) **instance** `Show `_ (`TransferConfig `_ unit) **instance** `GetField `_ \"config\" :ref:`TransferContextSummary ` (`TransferConfig `_ :ref:`Amulet `) **instance** `GetField `_ \"createFee\" (`TransferConfig `_ unit) :ref:`FixedFee ` **instance** `GetField `_ \"extraFeaturedAppRewardAmount\" (`TransferConfig `_ unit) `Decimal `_ **instance** `GetField `_ \"holdingFee\" (`TransferConfig `_ unit) :ref:`RatePerRound ` **instance** `GetField `_ \"lockHolderFee\" (`TransferConfig `_ unit) :ref:`FixedFee ` **instance** `GetField `_ \"maxNumInputs\" (`TransferConfig `_ unit) `Int `_ **instance** `GetField `_ \"maxNumLockHolders\" (`TransferConfig `_ unit) `Int `_ **instance** `GetField `_ \"maxNumOutputs\" (`TransferConfig `_ unit) `Int `_ **instance** `GetField `_ \"transferConfig\" (`AmuletConfig `_ unit) (`TransferConfig `_ unit) **instance** `GetField `_ \"transferConfigUsd\" :ref:`OpenMiningRound ` (`TransferConfig `_ `USD `_) **instance** `GetField `_ \"transferFee\" (`TransferConfig `_ unit) :ref:`SteppedRate ` **instance** `SetField `_ \"config\" :ref:`TransferContextSummary ` (`TransferConfig `_ :ref:`Amulet `) **instance** `SetField `_ \"createFee\" (`TransferConfig `_ unit) :ref:`FixedFee ` **instance** `SetField `_ \"extraFeaturedAppRewardAmount\" (`TransferConfig `_ unit) `Decimal `_ **instance** `SetField `_ \"holdingFee\" (`TransferConfig `_ unit) :ref:`RatePerRound ` **instance** `SetField `_ \"lockHolderFee\" (`TransferConfig `_ unit) :ref:`FixedFee ` **instance** `SetField `_ \"maxNumInputs\" (`TransferConfig `_ unit) `Int `_ **instance** `SetField `_ \"maxNumLockHolders\" (`TransferConfig `_ unit) `Int `_ **instance** `SetField `_ \"maxNumOutputs\" (`TransferConfig `_ unit) `Int `_ **instance** `SetField `_ \"transferConfig\" (`AmuletConfig `_ unit) (`TransferConfig `_ unit) **instance** `SetField `_ \"transferConfigUsd\" :ref:`OpenMiningRound ` (`TransferConfig `_ `USD `_) **instance** `SetField `_ \"transferFee\" (`TransferConfig `_ unit) :ref:`SteppedRate ` .. _type-splice-amuletconfig-usd-42527: **data** `USD `_ .. _constr-splice-amuletconfig-usd-28992: `USD `_ **instance** `Eq `_ `USD `_ **instance** `Show `_ `USD `_ **instance** `GetField `_ \"configSchedule\" :ref:`AmuletRules ` (:ref:`Schedule ` `Time `_ (`AmuletConfig `_ `USD `_)) **instance** `GetField `_ \"newScheduleItem\" :ref:`AmuletRules_AddFutureAmuletConfigSchedule ` (`Time `_, `AmuletConfig `_ `USD `_) **instance** `GetField `_ \"scheduleItem\" :ref:`AmuletRules_UpdateFutureAmuletConfigSchedule ` (`Time `_, `AmuletConfig `_ `USD `_) **instance** `GetField `_ \"transferConfigUsd\" :ref:`OpenMiningRound ` (`TransferConfig `_ `USD `_) **instance** `SetField `_ \"configSchedule\" :ref:`AmuletRules ` (:ref:`Schedule ` `Time `_ (`AmuletConfig `_ `USD `_)) **instance** `SetField `_ \"newScheduleItem\" :ref:`AmuletRules_AddFutureAmuletConfigSchedule ` (`Time `_, `AmuletConfig `_ `USD `_) **instance** `SetField `_ \"scheduleItem\" :ref:`AmuletRules_UpdateFutureAmuletConfigSchedule ` (`Time `_, `AmuletConfig `_ `USD `_) **instance** `SetField `_ \"transferConfigUsd\" :ref:`OpenMiningRound ` (`TransferConfig `_ `USD `_) Functions --------- .. _function-splice-amuletconfig-defaulttransferpreapprovalfee-76073: `defaultTransferPreapprovalFee `_ \: `Decimal `_ .. _function-splice-amuletconfig-validamuletconfig-8963: `validAmuletConfig `_ \: `AmuletConfig `_ unit \-\> `Bool `_