Module Daml.Finance.Interface.Data.Numeric.Observation.Factory¶
Interfaces¶
interface Factory
Factory contract used to create, remove and view a
Numeric.Observation
.
Choice Archive
(no fields)
Choice Create
Create an
Observation
.
Field Type Description provider Party The reference data provider. id Id A textual identifier. observations Map Time Decimal The time-dependent values. observers PartiesMap Observers. Choice Remove
Archive an
Observation
.
Field Type Description actors Parties The parties authorizing the removal. observationCid ContractId I The observation to be removed. Method asDisclosure : I
Conversion to
Disclosure.I
interface.Method create’ : Create -> Update (ContractId I)
Implementation of
Create
choice.Method remove : Remove -> Update ()
Implementation of
Remove
choice.
Typeclasses¶
class Implementation t => HasImplementation t where
Data Types¶
- type Implementation t
= (HasToInterface t F, Implementation t)
Type constraint for requiring templates to implement
Factory
along withDisclosure
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView Factory V
data View