Class ContractVersion

Represents a specific version of a contract, identified by a unique hash and protocol compatibility.

Hierarchy

  • ContractVersion

Constructors

  • Constructs a new ContractVersion instance.

    Parameters

    • contractHash: ContractHash

      The unique hash for this version of the contract.

    • contractVersion: number

      The version number of the contract.

    • protocolVersionMajor: number

      The major protocol version compatible with this contract.

    Returns ContractVersion

Properties

contractHash: ContractHash

The unique hash identifying this version of the contract.

contractVersion: number

The version number of the contract.

protocolVersionMajor: number

Major version of the protocol that this contract version is compatible with.

Generated using TypeDoc