interface Factory

Factory interface to instantiate zero-coupon bond instruments.

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

    Returns: ContractId I

    Field Type Description
    zeroCoupon ZeroCoupon Attributes to create a zero coupon bond.
    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 of Factory.


Field Type Description
provider Party The provider of the Factory.

instance Eq View

instance Show View