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

Interfaces

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.

Typeclasses

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.

View

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

Functions

asEvent
: Event -> I