package octez-protocol-014-PtKathma-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tezos_client_014_PtKathma.Client_proto_programsSource

Sourcemodule Program : Tezos_client_base.Client_aliases.Alias with type t = Michelson_v1_parser.parsed Tezos_micheline.Micheline_parser.parsing_result
Sourcetype simulation_params = {
  1. input : Michelson_v1_parser.parsed;
  2. unparsing_mode : Tezos_protocol_014_PtKathma.Protocol.Script_ir_translator.unparsing_mode;
  3. now : Tezos_protocol_014_PtKathma.Protocol.Script_timestamp.t option;
  4. level : Tezos_protocol_014_PtKathma.Protocol.Script_int.n Tezos_protocol_014_PtKathma.Protocol.Script_int.num option;
  5. source : Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Contract.t option;
  6. payer : Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Contract.t option;
  7. gas : Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Gas.Arith.integral option;
}
Sourcetype run_view_params = {
  1. shared_params : simulation_params;
  2. contract : Tezos_protocol_014_PtKathma.Protocol.Contract_hash.t;
  3. entrypoint : Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Entrypoint.t;
}
Sourcetype 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;
}
Sourcetype run_params = {
  1. shared_params : simulation_params;
  2. amount : Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Tez.t option;
  3. balance : Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Tez.t option;
  4. program : Michelson_v1_parser.parsed;
  5. storage : Michelson_v1_parser.parsed;
  6. entrypoint : Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Entrypoint.t option;
  7. self : Tezos_protocol_014_PtKathma.Protocol.Contract_hash.t option;
}
Sourceval 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.

Sourceval run : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> run_params -> (Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Script.expr * Tezos_protocol_014_PtKathma.Protocol.Apply_internal_results.packed_internal_contents list * Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Lazy_storage.diffs option) Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval trace : Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> run_params -> (Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Script.expr * Tezos_protocol_014_PtKathma.Protocol.Apply_internal_results.packed_internal_contents list * Tezos_protocol_014_PtKathma.Protocol.Script_typed_ir.execution_trace * Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Lazy_storage.diffs option) Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval print_view_result : Protocol_client_context.full -> Tezos_protocol_014_PtKathma.Protocol.Script_repr.expr Tezos_base.TzPervasives.tzresult -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval print_run_result : Protocol_client_context.full -> show_source:bool -> parsed:Michelson_v1_parser.parsed -> (Tezos_protocol_014_PtKathma.Protocol.Script_repr.expr * Tezos_protocol_014_PtKathma.Protocol.Apply_internal_results.packed_internal_contents list * Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Lazy_storage.diffs option) Tezos_base.TzPervasives.tzresult -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval print_trace_result : Protocol_client_context.full -> show_source:bool -> parsed:Michelson_v1_parser.parsed -> (Tezos_protocol_014_PtKathma.Protocol.Script_repr.expr * Tezos_protocol_014_PtKathma.Protocol.Apply_internal_results.packed_internal_contents list * Tezos_protocol_014_PtKathma.Protocol.Script_typed_ir.execution_trace * Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Lazy_storage.diffs option) Tezos_base.TzPervasives.tzresult -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval 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
Sourceval typecheck_program : 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 -> show_types: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 Lwt.t
Sourceval 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
Sourceval 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
Sourceval 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
Sourceval print_entrypoint_type : Protocol_client_context.full -> emacs:bool -> ?script_name:string -> show_source:bool -> parsed:Michelson_v1_parser.parsed -> entrypoint:Tezos_protocol_014_PtKathma.Protocol.Alpha_context.Entrypoint.t -> Tezos_protocol_014_PtKathma.Protocol.Script_repr.expr option Tezos_base.TzPervasives.tzresult -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval 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
Sourceval 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
Sourceval 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
Sourceval print_unreachables : Protocol_client_context.full -> emacs:bool -> ?script_name:string -> show_source:bool -> parsed:Michelson_v1_parser.parsed -> Tezos_protocol_014_PtKathma.Protocol.Michelson_v1_primitives.prim list list Tezos_base.TzPervasives.tzresult -> unit Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.