Module Daml.Finance.Interface.Lifecycle.Event¶
Interfaces¶
interface Event
A lifecycle event. These events are ordered based on the corresponding event time.
Choice Archive
(no fields)
Choice GetView
Retrieves the interface view.
Field Type Description viewer Party The party retrieving the view.
Typeclasses¶
class Implementation t => HasImplementation t where
Data Types¶
- type I
= Event
Type synonym for
Event
.instance HasMethod Instrument "declareDividend" (DeclareDividend -> Update (ContractId I))
instance HasMethod Instrument "declareReplacement" (DeclareReplacement -> Update (ContractId I))
instance HasMethod Instrument "declareStockSplit" (DeclareStockSplit -> Update (ContractId I))
instance HasMethod Election "asEvent" I
instance HasMethod Event "asEvent" I
- type Implementation t
= HasToInterface t I
Type constraint for requiring templates to implement
Event
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView Event V
data View
Functions¶
- getEventTime
-
Given an event, retrieves the event time.