• Creates a LinearBpsScheduleV2 from two schedule points and a condition + duration.

    Parameters

    • point1: SchedulePoint

      First point on the schedule line (timeBps, bps)

    • point2: SchedulePoint

      Second point on the schedule line (timeBps, bps)

    • args: {
          duration: number | bigint;
          maxBps: number | bigint;
          startCondition: ConditionArgs;
      }

      startCondition, duration, and maxBps

      • duration: number | bigint
      • maxBps: number | bigint
      • startCondition: ConditionArgs

    Returns LinearBpsScheduleV2Args

Generated using TypeDoc