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.test-helpers/Tezos_alpha_test_helpers/Cpmm_repr/Storage/index.html

Module Cpmm_repr.StorageSource

Sourcetype t = {
  1. tokenPool : Z.t;
  2. xtzPool : Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t;
  3. lqtTotal : Z.t;
  4. tokenAddress : Tezos_protocol_alpha.Protocol.Contract_hash.t;
  5. lqtAddress : Tezos_protocol_alpha.Protocol.Contract_hash.t;
}
Sourceval zero : t
Sourceval to_string : t -> string
Sourceval pp : Format.formatter -> t -> unit
Sourceval eq : 'a -> 'a -> bool
Sourceval to_expr : loc:int -> t -> (int, Tezos_protocol_alpha.Protocol.Michelson_v1_primitives.prim) Tezos_micheline.Micheline.node
Sourceval to_michelson_string : t -> string
Sourcetype exn +=
  1. | Invalid_storage_expr of string
Sourceval of_expr_exn : ('a, Tezos_protocol_alpha.Protocol.Michelson_v1_primitives.prim) Tezos_micheline.Micheline.node -> t

Note: parses a storage unparsed in readable mode (as e.g. returned by Alpha_services.Contract.storage), so that contracts are represented by strings.

Sourceval get : Context.t -> contract:Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t -> t Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval of_tuple : (Z.t * Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t * Z.t * Tezos_protocol_alpha.Protocol.Contract_hash.t * Tezos_protocol_alpha.Protocol.Contract_hash.t) -> t
Sourceval to_tuple : t -> Z.t * Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t * Z.t * Tezos_protocol_alpha.Protocol.Contract_hash.t * Tezos_protocol_alpha.Protocol.Contract_hash.t
Sourceval valid : t -> bool
OCaml

Innovation. Community. Security.