Daml.Finance.Interface.Instrument.Swap.Currency.Factory¶
Interfaces¶
interface Factory
Factory interface to instantiate currency swaps.
viewtype V
Choice Archive
Controller: Signatories of implementing template
Returns: ()
(no fields)
Choice Create
Create a new instrument.
Controller: (DA.Internal.Record.getField @"depository" (DA.Internal.Record.getField @"instrument" currencySwap)), (DA.Internal.Record.getField @"issuer" (DA.Internal.Record.getField @"instrument" currencySwap))
Returns: ContractId I
Field Type Description currencySwap CurrencySwap Attributes to create a currency swap. observers PartiesMap The instrument’s observers. Method create’ : Create -> Update (ContractId I)
Implementation of
Create
choice.