Module Daml.Finance.Interface.Instrument.Swap.ForeignExchange.Instrument

Interfaces

interface Instrument

Instrument interface representing an FX swap.

  • Choice Archive

    (no fields)

  • Method asBaseInstrument : I

    Conversion to Base Instrument interface.

Typeclasses

class Implementation t => HasImplementation t where

Data Types

type I

= Instrument

Type synonym for Instrument.

type Implementation t

= (HasToInterface t Instrument, Implementation t, Implementation t)

Type constraint requiring templates to implement Instrument along with BaseInstrument and Disclosure.

type V

= View

Type synonym for View.

instance HasFromAnyView Instrument V

data View

View of Instrument.

View

Field Type Description
foreignExchange ForeignExchange Attributes of an FX swap.

instance Eq View

instance Show View