Function calcRebalanceUpThreshold

  • Calculates the deposit interest rate condition required to rebalance up stable borrow. Note that there is also a second condition on the pool utilisation ratio.

    Returns

    rebalanceUpThreshold (16dp)

    Parameters

    • rudir: bigint

      (16dp)

    • vr0: bigint

      (16dp)

    • vr1: bigint

      (16dp)

    • vr2: bigint

      (16dp)

    Returns bigint

Generated using TypeDoc