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.

      Parameters

      • rudir: bigint

        (16dp)

      • vr0: bigint

        (16dp)

      • vr1: bigint

        (16dp)

      • vr2: bigint

        (16dp)

      Returns bigint

      rebalanceUpThreshold (16dp)