package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-protocol-alpha-libs.test-helpers/Tezos_alpha_test_helpers/Tez_helpers/Ez_tez/index.html

Module Tez_helpers.Ez_tezSource

Functions to manipulate Tez in a high level way

Sourcetype tez_quantity =
  1. | Half
  2. | All
  3. | All_but_one
  4. | Nothing
  5. | Max_tez
  6. | Amount of t

Aliases for tez values

Sourceval tez_quantity_pp : Format.formatter -> tez_quantity -> unit
Sourceval quantity_to_tez : t -> tez_quantity -> t

quantity_to_tez max qty returns a tez value corresponding to the given qty. If qty is All, then returns max. If qty is All_but_one, returns max - one_mutez.

OCaml

Innovation. Community. Security.