Interface ContractTypeCompanion<T, K, I>

Companion objects for templates and interfaces, containing their choices.

T The template payload format or interface view.

K The contract key type.

I The template or interface id.

interface ContractTypeCompanion<T extends object, K, I extends string> {
    decoder: Decoder<T>;
    keyDecoder: Decoder<K>;
    sdkVersion: "0.0.0-SDKVERSION";
    templateId: I;
}

Type Parameters

  • T extends object
  • K
  • I extends string

Hierarchy (View Summary)

Properties

decoder: Decoder<T>
keyDecoder: Decoder<K>
sdkVersion: "0.0.0-SDKVERSION"
templateId: I