Module Mavryk_client_alpha.Client_proto_programs

type run_script_view_params = {
  1. shared_params : simulation_params;
  2. contract : Mavryk_protocol_alpha.Protocol.Contract_hash.t;
  3. view : string;
  4. unlimited_gas : bool;
}

run_script_view cctxt ~chain ~block params executes Mavryk_protocol_plugin_alpha.Plugin.RPC.Scripts.run_script_view, the RPC to run a Michelson view offchain and returns its value.

val print_entrypoints_list : Protocol_client_context.full -> emacs:bool -> ?script_name:string -> show_source:bool -> parsed:Michelson_v1_parser.parsed -> (string * Mavryk_protocol_alpha.Protocol.Alpha_context.Script.expr) list Mavryk_base.TzPervasives.tzresult -> unit Mavryk_base.TzPervasives.tzresult Lwt.t
val print_unreachables : Protocol_client_context.full -> emacs:bool -> ?script_name:string -> show_source:bool -> parsed:Michelson_v1_parser.parsed -> Mavryk_protocol_alpha.Protocol.Michelson_v1_primitives.prim list list Mavryk_base.TzPervasives.tzresult -> unit Mavryk_base.TzPervasives.tzresult Lwt.t