poolOut
for an input amount of tokens for poolIn
. This API executes a swap across two pools and can avoid decimals precise losses of the input amount.poolOut
for an input amount of exactAmountIn
of poolIn
. This legacy swap function is UI-friendly but would cause decimals precise losses.