package archetype

  1. Overview
  2. Docs
module T = Michelson
module B = Ast
module M = Model
module A = ParseTree
type env = {
  1. name : string;
  2. type_storage : T.type_ option;
  3. type_parameter : T.type_ option;
  4. storage_list : (Ident.ident * T.type_) list;
  5. parameter_list : (Ident.ident * T.type_) list;
}
val mk_env : ?name:string -> 'a -> env
val remove_prefix_annot : string -> string
val get_annot_from_type : T.type_ -> string option
val is_valid_name : string -> bool
val parse_micheline : ?ijson:bool -> Core.from_input -> T.obj_micheline * env
val to_michelson : (T.obj_micheline * env) -> T.michelson * env
val tycheck_michelson : (T.michelson * env) -> T.michelson * env
module Decomp_dir : sig ... end
val to_dir : (T.michelson * env) -> T.dprogram * env
val ttype_to_mtype : T.type_ -> M.type_
val data_to_mterm : ?omap_var:(Ident.ident -> M.mterm) -> ?t:T.type_ -> ?ft:(T.type_ -> M.type_) -> T.data -> M.mterm
module Decomp_model : sig ... end
val dir_to_model : (T.dprogram * env) -> M.model * env
val to_archetype : (M.model * env) -> A.archetype
OCaml

Innovation. Community. Security.