Module Metadata.V0

type t = {
  1. rollup_address : Mavkit_smart_rollup.Address.t;
  2. context_version : Mavryk_layer2_store.Context.Version.t;
}
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.