Daml.Finance.Interface.Instrument.Token.Factory¶
Interfaces¶
interface Factory
Factory interface to instantiate simple tokens.
viewtype V
Choice Archive
Controller: Signatories of implementing template
Returns: ()
(no fields)
Choice Create
Create a new token.
Controller: (DA.Internal.Record.getField @"depository" (DA.Internal.Record.getField @"instrument" token)), (DA.Internal.Record.getField @"issuer" (DA.Internal.Record.getField @"instrument" token))
Returns: ContractId I
Field Type Description token Token Attributes to create a token. observers PartiesMap The instrument’s observers. Choice Remove
Archive a token.
Controller: (DA.Internal.Record.getField @"depository" instrument), (DA.Internal.Record.getField @"issuer" instrument)
Returns: ()
Field Type Description instrument InstrumentKey The instrument’s key. Method create’ : Create -> Update (ContractId I)
Implementation of
Create
choice.Method remove : Remove -> Update ()
Implementation of
Remove
choice.