package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-protocol-alpha-libs.client/Tezos_client_alpha/Michelson_v1_printer/index.html

Module Tezos_client_alpha.Michelson_v1_printerSource

Sourceval print_expr : Format.formatter -> Tezos_protocol_alpha.Protocol.Script_repr.expr -> unit
Sourceval print_expr_unwrapped : Format.formatter -> Tezos_protocol_alpha.Protocol.Script_repr.expr -> unit
Sourceval print_typed_stack : Format.formatter -> (Tezos_protocol_alpha.Protocol.Script_repr.expr * Tezos_protocol_alpha.Protocol.Script_repr.expr) list -> unit
Sourceval print_execution_trace : Format.formatter -> Tezos_protocol_alpha.Protocol.Script_typed_ir.execution_trace -> unit
Sourceval print_big_map_diff : Format.formatter -> Tezos_protocol_alpha.Protocol.Alpha_context.Lazy_storage.diffs -> unit
Sourceval inject_types : Tezos_protocol_alpha.Protocol.Script_tc_errors.type_map -> Michelson_v1_parser.parsed -> Tezos_micheline.Micheline_printer.node

Insert the type map returned by the typechecker as comments in a printable Micheline AST.

Sourceval unparse_toplevel : ?type_map:Tezos_protocol_alpha.Protocol.Script_tc_errors.type_map -> Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr -> Michelson_v1_parser.parsed

Unexpand the macros and produce the result of parsing an intermediate pretty printed source. Useful when working with contracts extracted from the blockchain and not local files.

Sourceval unparse_expression : Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr -> Michelson_v1_parser.parsed
Sourceval unparse_invalid : string Tezos_micheline.Micheline.canonical -> string Michelson_v1_parser.parser_result

Unexpand the macros and produce the result of parsing an intermediate pretty printed source. Works on generic trees,for programs that fail to be converted to a specific script version.

Sourceval ocaml_constructor_of_prim : Tezos_protocol_alpha.Protocol.Michelson_v1_primitives.prim -> string
Sourceval micheline_string_of_expression : zero_loc:bool -> Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr -> string
OCaml

Innovation. Community. Security.