package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

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.