Function combineFees

  • Combines fees and returns the total fee in basis points.

    Parameters

    • fee1: number
    • fee2: number
    • fee1Divisor: number = BASIS_POINTS_DIVISOR
    • fee2Divisor: number = BASIS_POINTS_DIVISOR

    Returns number

    Note

    this only works if the fees are compounded on the same amount, e.g amount -> fee collected -> fee collected again.

Generated using TypeDoc