package octez-l2-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

The type of values that is currently used.

type versioned

The type of versioned values, including the one that is currently used and the previous ones.

Encoding for versioned values, corresponds to the one defined by the protocol.

val of_versioned : versioned -> t

Conversion to the currently used representation. In practice this function must provide ways to translate values of older versions to the latest one.

val to_versioned : t -> versioned

Wrapping a current value as a versioned one.

OCaml

Innovation. Community. Security.