Module swap_math

Module swap_math 

Source

Structs§

SwapStepResult

Constants§

MAX_FEE

Functions§

compute_swap_step
Computes the result of swapping some amount in, or amount out, given the parameters of the swap.