Module swap_math
nautilus_
model
0.51.0
Module swap_
math
Module Items
Structs
Constants
Functions
In nautilus_
model::
defi::
pool_
analysis
nautilus_model
::
defi
::
pool_analysis
Module
swap_
math
Copy item path
Source
Structs
§
Swap
Step
Result
Constants
§
MAX_FEE
Functions
§
compute_
swap_
step
Computes the result of swapping some amount in, or amount out, given the parameters of the swap.