Function retireExpiredPromotions

  • Retires the unheld remainder of every promotion of the scope that has expired at at; answers what retired.

    Parameters

    • store: ICompoundCreditStore
    • input: {
          scopeId: string;
          at: number;
      }
      • scopeId: string
      • at: number

    Returns Promise<number>