- Overview
- Setup
- Tutorials
- How Tos
- Reference
- DAR Versions
- API Reference
- Commercials API
- Credential API
- Registry API
- Utility.Registry
- Utility.Registry.V0.Configuration.AppReward
- Utility.Registry.V0.Configuration.Instrument
- Utility.Registry.V0.Holding.Allocation
- Utility.Registry.V0.Holding.Burn
- Utility.Registry.V0.Holding.Lock
- Utility.Registry.V0.Holding.Mint
- Utility.Registry.V0.Holding.Transfer
- Utility.Registry.V0.Holding.Unlock
- Utility.Registry.V0.Rule.Transfer
- Utility.Registry.V0.Types
- Utility.Registry.V0.Util
- Utility.Registry.App
- Utility.Holding
- Utility.Registry
- Settlement Utility API
- Collateral Utility API
- Operator Backend API
Utility.Registry.V0.Configuration.Instrument¶
Templates¶
template InstrumentConfiguration
Configuration for an instrument.
Signatory: provider, registrar
Field
Type
Description
operator
The operator party.
provider
The provider party.
registrar
The registrar party.
defaultIdentifier
The default instrument identifer.
additionalIdentifiers
Additional instrument identifiers.
issuerRequirements
Credential requirements to mint/burn a given asset.
holderRequirements
Credential requirements to transfer/lock/unlock a given asset.
providerAppRewardBeneficiaries
Explicit beneficiaries for the provider’s share of app rewards for activity involving this instrument. If omitted, the provider party is the sole beneficiary of its share by default. Note that should there be loss of precision because of rounding, that gets added to the first weight. Introduced as of version 0.3.0 of this package.
Choice Archive
Controller: provider, registrar
Returns: ()
(no fields)
Choice InstrumentConfiguration_Get
Gets the instrument configuration.
Controller: actor
Returns: InstrumentConfiguration_Get_Result
Field
Type
Description
actor
The actor party.
Choice InstrumentConfiguration_SetProviderAppRewardBeneficiaries
Sets the provider app reward beneficiaries.
Controller: provider
Returns: ContractId InstrumentConfiguration
Field
Type
Description
providerAppRewardBeneficiaries
New provider app reward beneficiaries. Introduced as of version 0.3.0 of this package.
Data Types¶
data InstrumentConfiguration_Get_Result
Result of
InstrumentConfiguration_Get
.InstrumentConfiguration_Get_Result
Field
Type
Description
instrumentConfiguration
The instrument configuration.