iya-sts
    Preparing search index...

    Variable check

    check: (limits: any, operation: any, now: number) => any = ...

    Type Declaration

      • (limits: any, operation: any, now: number): any
      • Checks one operation against a right's limits, everything but the totals.

        Parameters

        • limits: any

          the right's limits

        • operation: any

          { amount?, currency?, receiver? }

        • now: number

          seconds since the epoch

        Returns any

        { ok: true, period, units }, or a refusal