Daml.Finance.Lifecycle.Effect

Templates

template Effect

A contract encoding the consequences of a lifecycle event for one unit of the target instrument.

Signatory: providers

Field Type Description
providers Parties The effect provider.
id Id The effect’s identifier.
description Text The effect’s description.
targetInstrument InstrumentKey The target instrument. A holding on this instrument is required to claim the effect. For example, in the case of a swap instrument, this would be the original instrument version before lifecycling, that contains the current swap payment.
producedInstrument Optional InstrumentKey The produced instrument, if it exists. For example, in the case of a swap instrument, this would be the new instrument version after lifecycling, that does not contain the current swap payment. If there are no more claims remaining after the current lifecycling, this would be None.
otherConsumed [InstrumentQuantity] Consumed quantities (in addition to the target instrument). For example, in the case of a fix vs floating rate swap, this could be a 2.5% fix payment.
otherProduced [InstrumentQuantity] Produced quantities (in additon to the produced instrument). For example, in the case of a fix vs floating rate swap, this could be a 3M Euribor floating payment.
settlementTime Optional Time The effect’s settlement time (if any).
observers PartiesMap Observers.
  • Choice Archive

    Controller: providers

    Returns: ()

    (no fields)

  • interface instance I for Effect

  • interface instance I for Effect

Data Types

type T

= Effect

Type synonym for Effect.