Module Daml.Finance.Interface.Instrument.Swap.Currency.Instrument¶
Interfaces¶
interface Instrument
Instrument interface representing a currency swap.
Choice Archive
(no fields)
Method asBaseInstrument : I
Conversion to
Base Instrument
interface.
Typeclasses¶
class Implementation t => HasImplementation t where
Data Types¶
- type I
-
Type synonym for
Instrument
.
- type Implementation t
= (HasToInterface t Instrument, Implementation t, Implementation t)
Type constraint requiring templates to implement
Instrument
along withBaseInstrument
andDisclosure
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView Instrument V
data View