Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Template<T, K, I>

Interface for objects representing DAML templates. It is similar to the Template type class in DAML.

Type parameters

  • T: object

    The template type.

  • K

    The contract key type.

  • I: string

    The contract id type.

Hierarchy

Index

Properties

Archive

Archive: Choice<T, {}, {}, K>

decoder

decoder: () => jtv.Decoder<T>

The decoder for a contract of template T.

NB: This is a function to allow for mutually recursive decoders.

Type declaration

    • (): jtv.Decoder<T>
    • Returns jtv.Decoder<T>

keyDecoder

keyDecoder: () => jtv.Decoder<K>

Type declaration

    • (): jtv.Decoder<K>
    • Returns jtv.Decoder<K>

templateId

templateId: I

Generated using TypeDoc