Daml.Finance.Interface.Data.Numeric.Observation¶
Interfaces¶
interface Observation
Interface for a time-dependent numeric
Observation
, where the values are explicitly stored on-ledger.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 fetching the view. Method asDisclosure : I
Conversion to
Disclosure
interface.Method asNumericObservable : I
Conversion to
NumericObservable
interface.
Typeclasses¶
class Implementation t => HasImplementation t where
Data Types¶
- type I
-
Type synonym for
Observation
.instance HasMethod Factory "create’" (Create -> Update (ContractId I))
- type Implementation t
= (HasToInterface t I, Implementation t, Implementation t)
Type constraint for requiring templates to implement
Observation
along withDisclosure
as well asNumericObservable
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView Observation V
data View