Function createLinearBpsScheduleV2WithAbsoluteStart

  • Creates a LinearBpsScheduleV2 with a TimeAbsolute start condition.

    Parameters

    • params: {
          duration: bigint;
          maxBps: number | bigint;
          point1: SchedulePoint;
          point2: SchedulePoint;
          startTime: bigint;
      }
      • duration: bigint

        Duration of the schedule in seconds

      • maxBps: number | bigint

        Upper bound for the evaluated value

      • point1: SchedulePoint

        First point on the line (timeBps in [0,10000], bps)

      • point2: SchedulePoint

        Second point on the line (timeBps in [0,10000], bps)

      • startTime: bigint

        Unix timestamp when the schedule begins

    Returns LinearBpsScheduleV2Args

Generated using TypeDoc