- 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.Registry.App.V0.Configuration.Operator
- Utility.Registry.App.V0.Configuration.Provider
- Utility.Registry.App.V0.Model.Burn
- Utility.Registry.App.V0.Model.Mint
- Utility.Registry.App.V0.Model.Transfer
- Utility.Registry.App.V0.Service.AllocationFactory
- Utility.Registry.App.V0.Service.Holder
- Utility.Registry.App.V0.Service.Provider
- Utility.Registry.App.V0.Service.Registrar
- Utility.Holding
- Utility.Registry
- Settlement Utility API
- Collateral Utility API
- Operator Backend API
Utility.Registry.App.V0.Model.Burn¶
Templates¶
template BurnOffer
An offer to burn a holding
Signatory: provider, (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn))
Field
Type
Description
operator
Utility operator.
provider
Utility provider.
burn
Burn offer payload.
Choice Archive
Controller: provider, (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn))
Returns: ()
(no fields)
Choice BurnOffer_Accept
Accept and execute a burn offer.
Controller: (DA.Internal.Record.getField @"holder" burn)
Returns: BurnOffer_Accept_Result
Field
Type
Description
holdingCids
Holdings to use for the burn.
extraArgs
Additional context required to exercise the choice.
extraArgs.context(provided by the backend) includes: * TheInstrumentConfigurationof the holding being burned * TheCredential``s of the holder that satisfy the issuer requirements * ``AppRewardConfigurationof the provider (if any) *FeaturedAppRightof the provider (if featured)extraArgs.metadatais reserved for extensibility.Choice BurnOffer_Cancel
Cancels a burn offer.
Controller: (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn))
Returns: BurnOffer_Cancel_Result
(no fields)
Choice BurnOffer_Reject
Rejects a burn offer.
Controller: (DA.Internal.Record.getField @"holder" burn)
Returns: BurnOffer_Reject_Result
Field
Type
Description
reason
Reason for rejection.
template BurnRequest
A request to burn a holding
Signatory: provider, (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn)), (DA.Internal.Record.getField @"holder" burn)
Field
Type
Description
operator
Utility operator.
provider
Utility provider.
burn
Burn request payload.
lockedHoldingCid
The holding locked for the burn.
Choice Archive
Controller: provider, (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn)), (DA.Internal.Record.getField @"holder" burn)
Returns: ()
(no fields)
Choice BurnRequest_Accept
Accept and execute a burn request.
Controller: (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn))
Returns: BurnRequest_Accept_Result
Field
Type
Description
extraArgs
Additional context required to exercise the choice.
extraArgs.context(provided by the backend) includes: * TheInstrumentConfigurationof the holding being burned * TheCredential``s of the holder that satisfy the issuer requirements * ``AppRewardConfigurationof the provider (if any) *FeaturedAppRightof the provider (if featured)extraArgs.metadatais reserved for extensibility.Choice BurnRequest_Cancel
Cancels a burn request.
Controller: (DA.Internal.Record.getField @"holder" burn)
Returns: BurnRequest_Cancel_Result
(no fields)
Choice BurnRequest_Reject
Rejects a burn request.
Controller: (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn))
Returns: BurnRequest_Reject_Result
Field
Type
Description
reason
Reason for rejection.
template ExecutedBurn
An executed burn.
Signatory: (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn))
Field
Type
Description
operator
Utility operator.
provider
Utility provider.
burn
Burn request payload.
Choice Archive
Controller: (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn))
Returns: ()
(no fields)
Choice ExecutedBurn_Delete
Deletes an executed burn.
Controller: actor
Returns: ExecutedBurn_Delete_Result
Field
Type
Description
actor
The actor exercising the choice, must be the operator.
template RejectedBurn
A rejected burn.
Signatory: (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn)), (DA.Internal.Record.getField @"holder" burn)
Field
Type
Description
operator
Utility operator.
provider
Utility provider.
burn
Rejected burn payload.
reason
Reason for rejection.
Choice Archive
Controller: (DA.Internal.Record.getField @"admin" (DA.Internal.Record.getField @"instrumentId" burn)), (DA.Internal.Record.getField @"holder" burn)
Returns: ()
(no fields)
Choice RejectedBurn_Delete
Deletes a rejected burn.
Controller: actor
Returns: RejectedBurn_Delete_Result
Field
Type
Description
actor
The actor exercising the choice, must be the operator.
Data Types¶
data Burn
Burn payload.
Field
Type
Description
instrumentId
The identifier of the instrument to be burned. The
instrumentId.adminis the registrar in the utility.amount
The amount to burn.
holder
The party whose holding will be burned.
reference
A reference for the burn.
requestedAt
The time at which the burn was requested.
executeBefore
The time by which the burn must have been executed.
meta
Optional metadata to associate extra information throughout the workflow.
Result of
BurnOffer_Accept.
Field
Type
Description
executedBurnCid
Executed burn.
remaining
Remaining holding if the burned amount was less than the total holding amount provided.
meta
Choice output metadata.
Result of
BurnOffer_Reject.
Field
Type
Description
rejectedBurnCid
Rejected burn.
data BurnRequest_Accept_Result
Result of
BurnRequest_Accept.
Field
Type
Description
executedBurnCid
Executed burn.
meta
Choice output metadata.
data BurnRequest_Cancel_Result
Result of
BurnRequest_Cancel.
Field
Type
Description
holdingCid
Unlocked holding.
data BurnRequest_Reject_Result
Result of
BurnRequest_Reject.
Field
Type
Description
rejectedBurnCid
Rejected burn.
holdingCid
Unlocked holding.
data ExecutedBurn_Delete_Result
data RejectedBurn_Delete_Result