package tezos-client-008-PtEdo2Zk

  1. Overview
  2. Docs

Returns Some type if the contract has an entrypoint of type type. None if it does not exists.

Returns Some type if the script has an entrypoint of type type. None if it does not exists.

val print_entrypoint_type : Tezos_client_base.Client_context.printer -> ?on_errors: (Tezos_error_monad.TzCore.error list -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> emacs:bool -> ?contract:Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Contract.t -> ?script_name:string -> entrypoint:string -> (Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Script.expr option, Tezos_error_monad.TzCore.error list) Stdlib.result -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t

List paths of unreachable parameters. Only useful to test the stitching, as no such parameter should be allowed in originated contracts.

val print_unreachables : Tezos_client_base.Client_context.printer -> ?on_errors: (Tezos_error_monad.TzCore.error list -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> emacs:bool -> ?contract:Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Contract.t -> ?script_name:string -> (Tezos_protocol_008_PtEdo2Zk.Protocol.Michelson_v1_primitives.prim list list, Tezos_error_monad.TzCore.error list) Stdlib.result -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t

List the contract entrypoints with their types. If their is no explicit default, th type of default entrypoint will still be given.

val print_entrypoints_list : Tezos_client_base.Client_context.printer -> ?on_errors: (Tezos_error_monad.TzCore.error list -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> emacs:bool -> ?contract:Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Contract.t -> ?script_name:string -> ((string * Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Script.expr) list, Tezos_error_monad.TzCore.error list) Stdlib.result -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t

Print the contract entrypoints with their types.

OCaml

Innovation. Community. Security.