CurveMath is a utility implementing the Newton Algorithm and other mathematical utils used in Curve's CryptoSwap contracts. Here's the source codearrow-up-right.
We use it in get_dx_ex_fees to get the result of Curve's get_dy function without the fees.
get_dy
Have a look at the fees section to get a better understanding about how Increment computes the fees.
Last updated 3 years ago