Utility.Registry.App.V0.Model.TransferPreapproval¶
Templates¶
template TransferPreapproval
Transfer preapproval for specific utility instruments.
Signatory: receiver
Field
Type
Description
operator
The party disclosing the contract.
receiver
Party which preapproves.
instrumentAdmin
The admin of the instruments being preapproved.
instrumentAllowances
{ref}
[InstrumentAllowance <type-utility-registry-app-v0-model-transferpreapproval-instrumentallowance-65930>]The set of instrument-specific allowances granted under this preapproval. If the list is empty, all instruments of the admin are considered preapproved. For performance reasons, this list may contain at most 10 instrument identifiers. If more than 10 instruments need to be preapproved for the same admin, create additional TransferPreapproval instances for that admin.
Choice Archive
Controller: receiver
Returns: ()
(no fields)
Choice TransferPreapproval\_Modify
Modifies a preapproval.
Controller: receiver
Returns: TransferPreapproval\_Modify\_Result
Field
Type
Description
newInstrumentAllowances
{ref}
[InstrumentAllowance <type-utility-registry-app-v0-model-transferpreapproval-instrumentallowance-65930>]The new instrument allowances.
Choice TransferPreapproval\_Withdraw
Withdraws a preapproval.
Controller: actor
Returns: TransferPreapproval\_Withdraw\_Result
Field
Type
Description
actor
The party executing the withdrawal.
interface instance TransferFactory for TransferPreapproval
Data Types¶
data InstrumentAllowance
An allowance for a specific instrument. A separate data type is used to facilitate future extensions.
Field
Type
Description
id
The identifier of the instrument.
data TransferPreapproval\_Modify\_Result
The result type of the ‘TransferPreapproval_Modify’ choice.
TransferPreapproval\_Modify\_Result
Field
Type
Description
transferPreapprovalCid
The contract ID of the modified transfer preapproval.
data TransferPreapproval\_Withdraw\_Result
The result type of the ‘TransferPreapproval_Withdraw’ choice.
TransferPreapproval\_Withdraw\_Result
(no fields)