Function timeRemainingUntilUpdate

  • calculates the time remaining until the next update based on a rounded, "on-the-hour" update schedule this schedule is used for Perpetual Funding Rate and Revenue -> Insurance Updates

    Parameters

    • now: BN
    • lastUpdateTs: BN
    • updatePeriod: BN

    Returns BN

Generated using TypeDoc