Daml.Finance.Interface.Instrument.Generic.Factory

Interfaces

interface Factory

Factory interface to instantiate generic instruments using Contingent Claims.

viewtype V

  • Choice Archive

    Controller: Signatories of implementing template

    Returns: ()

    (no fields)

  • Choice Create

    Create a new generic instrument.

    Controller: (DA.Internal.Record.getField @"depository" instrument), (DA.Internal.Record.getField @"issuer" instrument)

    Returns: ContractId I

    Field Type Description
    instrument InstrumentKey The instrument’s key.
    description Text A description of the instrument.
    claims C The claim tree.
    acquisitionTime Time The claim’s acquisition time. This usually corresponds to the start date of the contract.
    lastEventTimestamp Time (Market) time of the last recorded lifecycle event. If no event has occurred yet, the time of creation should be used.
    observers PartiesMap The instrument’s observers.
  • Method create’ : Create -> Update (ContractId I)

    Implementation of Create choice.

Data Types

type I

= Factory

Type synonym for Factory.

type V

= View

Type synonym for View.

instance HasFromAnyView Factory V

data View

View

Field Type Description
provider Party The provider of the Factory.

instance Eq View

instance Show View