Mavkit_smart_rollup_node.Metadata
module V0 : sig ... end
module V1 : sig ... end
module Versioned : sig ... end
include module type of V1
type t = {
rollup_address : Mavkit_smart_rollup.Address.t;
context_version : Mavryk_layer2_store.Context.Version.t;
kind : Mavkit_smart_rollup.Kind.t;
genesis_info : genesis_info;
}
val read_metadata_file :
dir:string ->
t option Mavryk_base.TzPervasives.tzresult Lwt.t
Read the metadata file from dir
.
val write_metadata_file :
dir:string ->
t ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
Write a metadata to the metadata file in dir
.