package tezos-protocol-genesis

  1. Overview
  2. Docs
Tezos protocol genesis package

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/tezos_protocol_environment_genesis/Tezos_protocol_environment_genesis/Micheline/index.html

Module Tezos_protocol_environment_genesis.Micheline

type annot = string list
type (!'a, !'b) node = ('a, 'b) Tezos_micheline.Micheline.node =
  1. | Int of 'a * Z.t
  2. | String of 'a * string
  3. | Bytes of 'a * MBytes.t
  4. | Prim of 'a * 'b * ('a, 'b) node list * annot
  5. | Seq of 'a * ('a, 'b) node list
type 'a canonical = 'a Tezos_micheline.Micheline.canonical
type canonical_location = int
val root : 'p canonical -> (canonical_location, 'p) node
val canonical_location_encoding : canonical_location Data_encoding.encoding
val canonical_encoding : variant:string -> 'l Data_encoding.encoding -> 'l canonical Data_encoding.encoding
val canonical_encoding_v1 : variant:string -> 'l Data_encoding.encoding -> 'l canonical Data_encoding.encoding
val location : ('l, 'p) node -> 'l
val annotations : ('l, 'p) node -> string list
val strip_locations : ('a, 'p) node -> 'p canonical
val extract_locations : ('l, 'p) node -> 'p canonical * (canonical_location * 'l) list
val inject_locations : (canonical_location -> 'l) -> 'p canonical -> ('l, 'p) node
OCaml

Innovation. Community. Security.