Class CLValueTuple2

Represents a tuple containing two CLValues in the Casper type system.

Hierarchy

  • CLValueTuple2

Constructors

Properties

inner1: CLValue
inner2: CLValue
innerType: CLTypeTuple2

Methods

  • Converts the tuple to its byte representation.

    Returns

    A Uint8Array representing the concatenated bytes of both inner CLValues.

    Returns Uint8Array

  • Converts the instance to a JSON-compatible array.

    Returns

    An array containing the JSON representations of inner1 and inner2.

    Returns any[]

  • Provides a string representation of the tuple.

    Returns

    A string representation of the tuple in the format "(value1, value2)".

    Returns string

Generated using TypeDoc