• Extends this class with the methods needed to make the contract storable/serializable and readable/deserializable to and from the blockchain. Also tells the SDK to capture and expose all view, call and initialize functions. Tells the SDK whether the contract requires initialization and whether to use a custom serialization/deserialization function when storing/reading the state.

    Parameters

    • options: {
          requireInit?: boolean;
          deserializer?(value): unknown;
          serializer?(value): Uint8Array;
      }

      Options to configure the contract behaviour.

      • Optional requireInit?: boolean

        Whether the contract requires initialization.

      • deserializer?:function
      • serializer?:function

    Returns any

Generated using TypeDoc