Module Daml.Finance.Interface.Instrument.Token.Instrument


interface Instrument

Interface for simple token instruments which do not define any lifecycling logic.

  • Choice Archive

    (no fields)

  • Choice GetView

    Retrieves the interface view.

    Field Type Description
    viewer Party The party retrieving the view.
  • Method asBaseInstrument : I

    Conversion to base Instrument interface.


class Implementation t => HasImplementation t where

Data Types

type I

= Instrument

Type synonym for Instrument.

type Implementation t

= (HasToInterface t I, 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.


Field Type Description
token Token Attributes of a token.

instance Eq View

instance Show View