[ADD] liquidity_tolerance_bps param on quote/swap endpoint

  • Adds new liquidity_tolerance_bps param, which will add a limit to the memo
  • liquidity_tolerance_bps applies a tolerance to the expected amount out after liquidity fees, outbound fees, and affiliate fees are deducted
  • This gives interfaces more flexibility in defining how slippage works
  • tolerance_bps only gives you a tolerance from the "flat exchange rate" of two assets

Merge request reports

Loading