package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type genesis_info = {
  1. level : int32;
  2. commitment_hash : Octez_smart_rollup.Commitment.Hash.t;
}
module V0 : sig ... end
module V1 : sig ... end
module Versioned : sig ... end
include module type of V1
type t = {
  1. rollup_address : Octez_smart_rollup.Address.t;
  2. context_version : Tezos_layer2_store.Context.Version.t;
  3. kind : Octez_smart_rollup.Kind.t;
  4. genesis_info : genesis_info;
}
val read_metadata_file : dir:string -> t option Tezos_base.TzPervasives.tzresult Lwt.t

Read the metadata file from dir.

val write_metadata_file : dir:string -> t -> unit Tezos_base.TzPervasives.tzresult Lwt.t

Write a metadata to the metadata file in dir.

OCaml

Innovation. Community. Security.