Daml.Finance.Interface.Instrument.Option.BarrierEuropeanCash.Factory

Interfaces

interface Factory

Factory interface to instantiate barrier options.

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" barrierEuropean)), (DA.Internal.Record.getField @"issuer" (DA.Internal.Record.getField @"instrument" barrierEuropean))

    Returns: ContractId I

    Field Type Description
    barrierEuropean BarrierEuropean Attributes to create a barrier option.
    observers PartiesMap The instrument’s observers.
  • Choice Remove

    Archive an instrument.

    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.

Data Types

type F

= Factory

Type synonym for Factory.

type V

= View

Type synonym for View.

instance HasFromAnyView Factory V

data View

View of Factory.

View

Field Type Description
provider Party The provider of the Factory.

instance Eq View

instance Show View