package octez-protocol-alpha-libs
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/Liquidity_baking_machine/ValidationMachine/Symbolic/index.html
Module ValidationMachine.Symbolic
Source
A collections of functions to introspect the symbolic part of the ValidationMachine
state.
Source
val 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
.
Source
val 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.
Source
val 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.
Source
val 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
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>