Function getMinOut

  • Returns a new amount accounting for slippage.

    Parameters

    • amount: BigNumber

      The amount to calculate the slippage-tolerant amount for.

    • slippage: number

      The slippage as a percentage.

    Returns BigNumber

Generated using TypeDoc