Module Daml.Finance.Interface.Lifecycle.Event.Replacement


interface Event

Event interface for the replacement of units of an instrument with a basket of other instruments (e.g. stock merger).

  • Choice Archive

    (no fields)

  • Choice GetView

    Retrieves the event view.

    Field Type Description
    viewer Party The party retrieving the view.
  • Method asEvent : I

    Conversion to base Event interface.


class Implementation t => HasImplementation t where

Data Types

type I

= Event

Type synonym for Event.

type Implementation t

= (HasToInterface t Event, Implementation t)

Type constraint for requiring templates to implement Event.

type V

= View

Type synonym for View.

instance HasFromAnyView Event V

data View

View for Event.


Field Type Description
effectiveTime Time Time on which the replacement is effectuated.
targetInstrument InstrumentKey Instrument the replacement event applies to.
perUnitReplacement [InstrumentQuantity] Instrument quantities the target instrument is replaced with.

instance Eq View

instance Show View


: Event -> I