Daml.Finance.Interface.Instrument.Swap.ForeignExchange.Factory¶
Interfaces¶
interface Factory
Factory interface to instantiate foreign exchange 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" foreignExchange)), (DA.Internal.Record.getField @"issuer" (DA.Internal.Record.getField @"instrument" foreignExchange))
Returns: ContractId I
Field Type Description foreignExchange ForeignExchange Attributes to create an FX swap. observers PartiesMap The instrument’s observers. Method create’ : Create -> Update (ContractId I)
Implementation of
Create
choice.