Crate astroport_pcl_common

Source

Modules§

consts
error
state
utils

Functions§

calc_d
Calculate D invariant based on known pool volumes.
calc_y
Calculate unknown pool’s volume based on the other side of pools which is known and D.
get_xcp
Get current XCP.
half_float_pow
Calculates 0.5^power.