Structs

Result of a swap step

Functions

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