package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/octez-protocol-alpha-libs.test-helpers/Tezos_alpha_test_helpers/Liquidity_baking_machine/ValidationMachine/Symbolic/index.html

Module ValidationMachine.SymbolicSource

A collections of functions to introspect the symbolic part of the ValidationMachine state.

Sourceval get_xtz_balance : Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t -> t -> xtz Tezos_base.TzPervasives.tzresult Lwt.t

get_xtz_balance c state returns the amount of mutez owned by c in the symbolic part of state.

Sourceval get_tzbtc_balance : Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t -> Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t env -> t -> tzbtc Tezos_base.TzPervasives.tzresult Lwt.t

get_tzbtc_balance c env state returns the amount of TzBTC owned by c in the symbolic part of state, according to the TzBTC contract.

Sourceval get_liquidity_balance : Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t -> Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t env -> t -> liquidity Tezos_base.TzPervasives.tzresult Lwt.t

get_liquidity_balance c env state returns the amount of liquidity token owned by c in the symbolic part of state, according to the Liquidity contract.

Sourceval get_cpmm_total_liquidity : Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t env -> t -> liquidity Tezos_base.TzPervasives.tzresult Lwt.t

get_cpmm_total_liquidity env state fetches the   current amount of liquidity tokens distributed by the CPMM   contract using the symbolic part of the state state.

OCaml

Innovation. Community. Security.