Daml.Finance.Interface.Lifecycle.Event

Interfaces

interface Event

A lifecycle event. These events are ordered based on the corresponding event time.

viewtype V

  • Choice Archive

    Controller: Signatories of implementing template

    Returns: ()

    (no fields)

  • Choice GetView

    Retrieves the interface view.

    Controller: viewer

    Returns: View

    Field Type Description
    viewer Party The party retrieving the view.

Data Types

type I

= Event

Type synonym for Event.

instance HasMethod Instrument "declareDistribution" (DeclareDistribution -> Update (ContractId I))

instance HasMethod Instrument "declareReplacement" (DeclareReplacement -> Update (ContractId I))

instance HasMethod Instrument "declareStockSplit" (DeclareStockSplit -> Update (ContractId I))

type V

= View

Type synonym for View.

instance HasFromAnyView Event V

data View

View for Event.

View

Field Type Description
providers Parties Providers of the event.
id Id Identifier for the event.
description Text A human readable description of the event.
eventTime Time The time of the event. This allows ordering of events.

instance Eq View

instance Show View

Functions

getEventTime

: Event -> Time

Given an event, retrieves the event time.