package octez-protocol-014-PtKathma-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_014_PtKathma.Michelson_v1_parser.parsed Tezos_micheline.Micheline_parser.parsing_result
type run_script_view_params = {
  1. shared_params : simulation_params;
  2. contract : Tezos_protocol_014_PtKathma.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_014_PtKathma.Protocol.Alpha_context.Script.expr Tezos_base.TzPervasives.tzresult Lwt.t
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_014_PtKathma.Protocol.Alpha_context.Script.expr Tezos_base.TzPervasives.tzresult Lwt.t

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

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_014_PtKathma.Protocol.Alpha_context.Gas.Arith.integral -> ?legacy:bool -> data:Michelson_v1_parser.parsed -> ty:Michelson_v1_parser.parsed -> unit -> Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Gas.t Tezos_base.TzPervasives.tzresult Lwt.t
val print_typecheck_result : emacs:bool -> show_types:bool -> print_source_on_error:bool -> Michelson_v1_parser.parsed -> (Tezos_protocol_014_PtKathma.Protocol.Script_tc_errors.type_map * Tezos_protocol_014_PtKathma.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_014_PtKathma.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
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_014_PtKathma.Protocol.Alpha_context.Entrypoint.t -> Tezos_protocol_014_PtKathma.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_014_PtKathma.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_014_PtKathma.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_014_PtKathma.Protocol.Michelson_v1_primitives.prim list list Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.