package octez-protocol-016-PtMumbai-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Program : Tezos_client_base.Client_aliases.Alias with type t = Tezos_client_016_PtMumbai.Michelson_v1_parser.parsed Tezos_micheline.Micheline_parser.parsing_result
type run_script_view_params = {
  1. shared_params : simulation_params;
  2. contract : Tezos_protocol_016_PtMumbai.Protocol.Contract_hash.t;
  3. view : string;
  4. unlimited_gas : bool;
}
val run_view : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> run_view_params -> Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Script.expr Tezos_base.TzPervasives.tzresult Lwt.t

Calls Tezos_protocol_plugin_alpha.Plugin.RPC.Scripts.run_tzip4_view

val run_script_view : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> run_script_view_params -> Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Script.expr Tezos_base.TzPervasives.tzresult Lwt.t

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

Calls Tezos_protocol_plugin_alpha.Plugin.RPC.Scripts.run_code

val typecheck_data : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ?gas:Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Gas.Arith.integral -> ?legacy:bool -> data:Michelson_v1_parser.parsed -> ty:Michelson_v1_parser.parsed -> unit -> Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Gas.t Tezos_base.TzPervasives.tzresult Lwt.t

Calls Tezos_protocol_plugin_alpha.Plugin.RPC.Scripts.typecheck_data

Calls Tezos_protocol_plugin_alpha.Plugin.RPC.Scripts.typecheck_code

val print_typecheck_result : emacs:bool -> show_types:bool -> print_source_on_error:bool -> display_names:bool -> name:string -> Michelson_v1_parser.parsed -> (Tezos_protocol_016_PtMumbai.Protocol.Script_tc_errors.type_map * Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Gas.t) Tezos_base.TzPervasives.tzresult -> Tezos_client_base.Client_context.printer -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val script_size : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ?gas:Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Gas.Arith.integral -> ?legacy:bool -> program:Michelson_v1_parser.parsed -> storage:Michelson_v1_parser.parsed -> unit -> int Tezos_base.TzPervasives.tzresult Lwt.t

Calls Tezos_protocol_plugin_alpha.Plugin.RPC.Scripts.script_size

val entrypoint_type : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> Michelson_v1_parser.parsed -> entrypoint:Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Entrypoint.t -> Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Script.expr option Tezos_base.TzPervasives.tzresult Lwt.t
val list_entrypoints : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> Michelson_v1_parser.parsed -> (string * Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Script.expr) list Tezos_base.TzPervasives.tzresult Lwt.t
val print_entrypoints_list : Protocol_client_context.full -> emacs:bool -> ?script_name:string -> show_source:bool -> parsed:Michelson_v1_parser.parsed -> (string * Tezos_protocol_016_PtMumbai.Protocol.Alpha_context.Script.expr) list Tezos_base.TzPervasives.tzresult -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val list_unreachables : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> Michelson_v1_parser.parsed -> Tezos_protocol_016_PtMumbai.Protocol.Michelson_v1_primitives.prim list list Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.