pcli
0.75.0
Module xyk
Constants
Functions
In pcli::dex_utils::replicate
Module
pcli
::
dex_utils
::
replicate
::
xyk
Copy item path
source
·
[
−
]
Constants
§
GAUS_SEIDEL_MAX_ITERATION
🔒
Maximum number of iteration that we allow GS to perform.
NUM_POOLS_PRECISION
🔒
The number of positions that is used to replicate the xyk CFMM.
Functions
§
portfolio_value_function
replicate
sample_prices
Sample a range of points around a given price
solve