@merkl/api 1.7.71 → 1.7.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/src/eden/index.d.ts +2 -2
  2. package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +30 -30
  3. package/dist/src/engine/implementations/Transfer/metadata.d.ts +15 -0
  4. package/dist/src/engine/implementations/Transfer/metadata.js.map +1 -0
  5. package/dist/src/engine/metadata/factory.js.map +1 -1
  6. package/dist/src/engine/tvl/factory.js.map +1 -1
  7. package/dist/src/index.d.ts +2 -2
  8. package/dist/src/jobs/refresh-campaign-status-cache.d.ts +1 -0
  9. package/dist/src/jobs/refresh-campaign-status-cache.js.map +1 -0
  10. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +80 -80
  11. package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +126 -0
  12. package/dist/src/modules/v4/campaignStatus/campaignStatus.service.js.map +1 -1
  13. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +42 -42
  14. package/dist/src/modules/v4/priceSource/priceFetchers/factory.js.map +1 -1
  15. package/dist/src/modules/v4/priceSource/priceFetchers/implementations/geckoTerminalService.d.ts +13 -0
  16. package/dist/src/modules/v4/priceSource/priceFetchers/implementations/geckoTerminalService.js.map +1 -0
  17. package/dist/src/modules/v4/priceSource/priceSource.controller.d.ts +2 -2
  18. package/dist/src/modules/v4/priceSource/priceSource.model.d.ts +2 -0
  19. package/dist/src/modules/v4/priceSource/priceSource.service.js.map +1 -1
  20. package/dist/src/modules/v4/router.d.ts +2 -2
  21. package/dist/src/utils/getAPR.d.ts +15 -3
  22. package/dist/src/utils/parseDistributionType.d.ts +15 -3
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +1 -1
@@ -189,10 +189,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
189
189
  tags?: undefined;
190
190
  } | {
191
191
  OR?: undefined;
192
+ tags?: undefined;
192
193
  Creator: {
193
194
  id: string;
194
195
  };
195
- tags?: undefined;
196
196
  } | {
197
197
  OR?: undefined;
198
198
  Creator?: undefined;
@@ -229,29 +229,32 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
229
229
  contains: string;
230
230
  mode: "insensitive";
231
231
  };
232
- Opportunity?: undefined;
233
232
  campaignId?: undefined;
234
233
  creatorAddress?: undefined;
234
+ Opportunity?: undefined;
235
235
  RewardToken?: undefined;
236
236
  } | {
237
+ id?: undefined;
237
238
  campaignId: {
238
239
  contains: string;
239
240
  mode: "insensitive";
240
241
  };
241
- Opportunity?: undefined;
242
- id?: undefined;
243
242
  creatorAddress?: undefined;
243
+ Opportunity?: undefined;
244
244
  RewardToken?: undefined;
245
245
  } | {
246
+ id?: undefined;
247
+ campaignId?: undefined;
246
248
  creatorAddress: {
247
249
  contains: string;
248
250
  mode: "insensitive";
249
251
  };
250
252
  Opportunity?: undefined;
251
- id?: undefined;
252
- campaignId?: undefined;
253
253
  RewardToken?: undefined;
254
254
  } | {
255
+ id?: undefined;
256
+ campaignId?: undefined;
257
+ creatorAddress?: undefined;
255
258
  Opportunity: {
256
259
  identifier: {
257
260
  contains: string;
@@ -259,23 +262,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
259
262
  };
260
263
  mainProtocolId?: undefined;
261
264
  };
265
+ RewardToken?: undefined;
266
+ } | {
262
267
  id?: undefined;
263
268
  campaignId?: undefined;
264
269
  creatorAddress?: undefined;
265
- RewardToken?: undefined;
266
- } | {
267
270
  Opportunity: {
271
+ identifier?: undefined;
268
272
  mainProtocolId: {
269
273
  contains: string;
270
274
  mode: "insensitive";
271
275
  };
272
- identifier?: undefined;
273
276
  };
277
+ RewardToken?: undefined;
278
+ } | {
274
279
  id?: undefined;
275
280
  campaignId?: undefined;
276
281
  creatorAddress?: undefined;
277
- RewardToken?: undefined;
278
- } | {
279
282
  Opportunity?: undefined;
280
283
  RewardToken: {
281
284
  OR: ({
@@ -286,24 +289,21 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
286
289
  displaySymbol?: undefined;
287
290
  address?: undefined;
288
291
  } | {
292
+ symbol?: undefined;
289
293
  displaySymbol: {
290
294
  contains: string;
291
295
  mode: "insensitive";
292
296
  };
293
- symbol?: undefined;
294
297
  address?: undefined;
295
298
  } | {
299
+ symbol?: undefined;
296
300
  displaySymbol?: undefined;
297
301
  address: {
298
302
  contains: string;
299
303
  mode: "insensitive";
300
304
  };
301
- symbol?: undefined;
302
305
  })[];
303
306
  };
304
- id?: undefined;
305
- campaignId?: undefined;
306
- creatorAddress?: undefined;
307
307
  })[];
308
308
  }[] | undefined;
309
309
  } | {
@@ -404,10 +404,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
404
404
  tags?: undefined;
405
405
  } | {
406
406
  OR?: undefined;
407
+ tags?: undefined;
407
408
  Creator: {
408
409
  id: string;
409
410
  };
410
- tags?: undefined;
411
411
  } | {
412
412
  OR?: undefined;
413
413
  Creator?: undefined;
@@ -444,29 +444,32 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
444
444
  contains: string;
445
445
  mode: "insensitive";
446
446
  };
447
- Opportunity?: undefined;
448
447
  campaignId?: undefined;
449
448
  creatorAddress?: undefined;
449
+ Opportunity?: undefined;
450
450
  RewardToken?: undefined;
451
451
  } | {
452
+ id?: undefined;
452
453
  campaignId: {
453
454
  contains: string;
454
455
  mode: "insensitive";
455
456
  };
456
- Opportunity?: undefined;
457
- id?: undefined;
458
457
  creatorAddress?: undefined;
458
+ Opportunity?: undefined;
459
459
  RewardToken?: undefined;
460
460
  } | {
461
+ id?: undefined;
462
+ campaignId?: undefined;
461
463
  creatorAddress: {
462
464
  contains: string;
463
465
  mode: "insensitive";
464
466
  };
465
467
  Opportunity?: undefined;
466
- id?: undefined;
467
- campaignId?: undefined;
468
468
  RewardToken?: undefined;
469
469
  } | {
470
+ id?: undefined;
471
+ campaignId?: undefined;
472
+ creatorAddress?: undefined;
470
473
  Opportunity: {
471
474
  identifier: {
472
475
  contains: string;
@@ -474,23 +477,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
474
477
  };
475
478
  mainProtocolId?: undefined;
476
479
  };
480
+ RewardToken?: undefined;
481
+ } | {
477
482
  id?: undefined;
478
483
  campaignId?: undefined;
479
484
  creatorAddress?: undefined;
480
- RewardToken?: undefined;
481
- } | {
482
485
  Opportunity: {
486
+ identifier?: undefined;
483
487
  mainProtocolId: {
484
488
  contains: string;
485
489
  mode: "insensitive";
486
490
  };
487
- identifier?: undefined;
488
491
  };
492
+ RewardToken?: undefined;
493
+ } | {
489
494
  id?: undefined;
490
495
  campaignId?: undefined;
491
496
  creatorAddress?: undefined;
492
- RewardToken?: undefined;
493
- } | {
494
497
  Opportunity?: undefined;
495
498
  RewardToken: {
496
499
  OR: ({
@@ -501,24 +504,21 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
501
504
  displaySymbol?: undefined;
502
505
  address?: undefined;
503
506
  } | {
507
+ symbol?: undefined;
504
508
  displaySymbol: {
505
509
  contains: string;
506
510
  mode: "insensitive";
507
511
  };
508
- symbol?: undefined;
509
512
  address?: undefined;
510
513
  } | {
514
+ symbol?: undefined;
511
515
  displaySymbol?: undefined;
512
516
  address: {
513
517
  contains: string;
514
518
  mode: "insensitive";
515
519
  };
516
- symbol?: undefined;
517
520
  })[];
518
521
  };
519
- id?: undefined;
520
- campaignId?: undefined;
521
- creatorAddress?: undefined;
522
522
  })[];
523
523
  }[] | undefined;
524
524
  endTimestamp: {
@@ -629,10 +629,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
629
629
  tags?: undefined;
630
630
  } | {
631
631
  OR?: undefined;
632
+ tags?: undefined;
632
633
  Creator: {
633
634
  id: string;
634
635
  };
635
- tags?: undefined;
636
636
  } | {
637
637
  OR?: undefined;
638
638
  Creator?: undefined;
@@ -669,29 +669,32 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
669
669
  contains: string;
670
670
  mode: "insensitive";
671
671
  };
672
- Opportunity?: undefined;
673
672
  campaignId?: undefined;
674
673
  creatorAddress?: undefined;
674
+ Opportunity?: undefined;
675
675
  RewardToken?: undefined;
676
676
  } | {
677
+ id?: undefined;
677
678
  campaignId: {
678
679
  contains: string;
679
680
  mode: "insensitive";
680
681
  };
681
- Opportunity?: undefined;
682
- id?: undefined;
683
682
  creatorAddress?: undefined;
683
+ Opportunity?: undefined;
684
684
  RewardToken?: undefined;
685
685
  } | {
686
+ id?: undefined;
687
+ campaignId?: undefined;
686
688
  creatorAddress: {
687
689
  contains: string;
688
690
  mode: "insensitive";
689
691
  };
690
692
  Opportunity?: undefined;
691
- id?: undefined;
692
- campaignId?: undefined;
693
693
  RewardToken?: undefined;
694
694
  } | {
695
+ id?: undefined;
696
+ campaignId?: undefined;
697
+ creatorAddress?: undefined;
695
698
  Opportunity: {
696
699
  identifier: {
697
700
  contains: string;
@@ -699,23 +702,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
699
702
  };
700
703
  mainProtocolId?: undefined;
701
704
  };
705
+ RewardToken?: undefined;
706
+ } | {
702
707
  id?: undefined;
703
708
  campaignId?: undefined;
704
709
  creatorAddress?: undefined;
705
- RewardToken?: undefined;
706
- } | {
707
710
  Opportunity: {
711
+ identifier?: undefined;
708
712
  mainProtocolId: {
709
713
  contains: string;
710
714
  mode: "insensitive";
711
715
  };
712
- identifier?: undefined;
713
716
  };
717
+ RewardToken?: undefined;
718
+ } | {
714
719
  id?: undefined;
715
720
  campaignId?: undefined;
716
721
  creatorAddress?: undefined;
717
- RewardToken?: undefined;
718
- } | {
719
722
  Opportunity?: undefined;
720
723
  RewardToken: {
721
724
  OR: ({
@@ -726,24 +729,21 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
726
729
  displaySymbol?: undefined;
727
730
  address?: undefined;
728
731
  } | {
732
+ symbol?: undefined;
729
733
  displaySymbol: {
730
734
  contains: string;
731
735
  mode: "insensitive";
732
736
  };
733
- symbol?: undefined;
734
737
  address?: undefined;
735
738
  } | {
739
+ symbol?: undefined;
736
740
  displaySymbol?: undefined;
737
741
  address: {
738
742
  contains: string;
739
743
  mode: "insensitive";
740
744
  };
741
- symbol?: undefined;
742
745
  })[];
743
746
  };
744
- id?: undefined;
745
- campaignId?: undefined;
746
- creatorAddress?: undefined;
747
747
  })[];
748
748
  }[] | undefined;
749
749
  endTimestamp: {
@@ -850,10 +850,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
850
850
  tags?: undefined;
851
851
  } | {
852
852
  OR?: undefined;
853
+ tags?: undefined;
853
854
  Creator: {
854
855
  id: string;
855
856
  };
856
- tags?: undefined;
857
857
  } | {
858
858
  OR?: undefined;
859
859
  Creator?: undefined;
@@ -890,29 +890,32 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
890
890
  contains: string;
891
891
  mode: "insensitive";
892
892
  };
893
- Opportunity?: undefined;
894
893
  campaignId?: undefined;
895
894
  creatorAddress?: undefined;
895
+ Opportunity?: undefined;
896
896
  RewardToken?: undefined;
897
897
  } | {
898
+ id?: undefined;
898
899
  campaignId: {
899
900
  contains: string;
900
901
  mode: "insensitive";
901
902
  };
902
- Opportunity?: undefined;
903
- id?: undefined;
904
903
  creatorAddress?: undefined;
904
+ Opportunity?: undefined;
905
905
  RewardToken?: undefined;
906
906
  } | {
907
+ id?: undefined;
908
+ campaignId?: undefined;
907
909
  creatorAddress: {
908
910
  contains: string;
909
911
  mode: "insensitive";
910
912
  };
911
913
  Opportunity?: undefined;
912
- id?: undefined;
913
- campaignId?: undefined;
914
914
  RewardToken?: undefined;
915
915
  } | {
916
+ id?: undefined;
917
+ campaignId?: undefined;
918
+ creatorAddress?: undefined;
916
919
  Opportunity: {
917
920
  identifier: {
918
921
  contains: string;
@@ -920,23 +923,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
920
923
  };
921
924
  mainProtocolId?: undefined;
922
925
  };
926
+ RewardToken?: undefined;
927
+ } | {
923
928
  id?: undefined;
924
929
  campaignId?: undefined;
925
930
  creatorAddress?: undefined;
926
- RewardToken?: undefined;
927
- } | {
928
931
  Opportunity: {
932
+ identifier?: undefined;
929
933
  mainProtocolId: {
930
934
  contains: string;
931
935
  mode: "insensitive";
932
936
  };
933
- identifier?: undefined;
934
937
  };
938
+ RewardToken?: undefined;
939
+ } | {
935
940
  id?: undefined;
936
941
  campaignId?: undefined;
937
942
  creatorAddress?: undefined;
938
- RewardToken?: undefined;
939
- } | {
940
943
  Opportunity?: undefined;
941
944
  RewardToken: {
942
945
  OR: ({
@@ -947,24 +950,21 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
947
950
  displaySymbol?: undefined;
948
951
  address?: undefined;
949
952
  } | {
953
+ symbol?: undefined;
950
954
  displaySymbol: {
951
955
  contains: string;
952
956
  mode: "insensitive";
953
957
  };
954
- symbol?: undefined;
955
958
  address?: undefined;
956
959
  } | {
960
+ symbol?: undefined;
957
961
  displaySymbol?: undefined;
958
962
  address: {
959
963
  contains: string;
960
964
  mode: "insensitive";
961
965
  };
962
- symbol?: undefined;
963
966
  })[];
964
967
  };
965
- id?: undefined;
966
- campaignId?: undefined;
967
- creatorAddress?: undefined;
968
968
  })[];
969
969
  }[] | undefined;
970
970
  startTimestamp: {
@@ -1071,10 +1071,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1071
1071
  tags?: undefined;
1072
1072
  } | {
1073
1073
  OR?: undefined;
1074
+ tags?: undefined;
1074
1075
  Creator: {
1075
1076
  id: string;
1076
1077
  };
1077
- tags?: undefined;
1078
1078
  } | {
1079
1079
  OR?: undefined;
1080
1080
  Creator?: undefined;
@@ -1111,29 +1111,32 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1111
1111
  contains: string;
1112
1112
  mode: "insensitive";
1113
1113
  };
1114
- Opportunity?: undefined;
1115
1114
  campaignId?: undefined;
1116
1115
  creatorAddress?: undefined;
1116
+ Opportunity?: undefined;
1117
1117
  RewardToken?: undefined;
1118
1118
  } | {
1119
+ id?: undefined;
1119
1120
  campaignId: {
1120
1121
  contains: string;
1121
1122
  mode: "insensitive";
1122
1123
  };
1123
- Opportunity?: undefined;
1124
- id?: undefined;
1125
1124
  creatorAddress?: undefined;
1125
+ Opportunity?: undefined;
1126
1126
  RewardToken?: undefined;
1127
1127
  } | {
1128
+ id?: undefined;
1129
+ campaignId?: undefined;
1128
1130
  creatorAddress: {
1129
1131
  contains: string;
1130
1132
  mode: "insensitive";
1131
1133
  };
1132
1134
  Opportunity?: undefined;
1133
- id?: undefined;
1134
- campaignId?: undefined;
1135
1135
  RewardToken?: undefined;
1136
1136
  } | {
1137
+ id?: undefined;
1138
+ campaignId?: undefined;
1139
+ creatorAddress?: undefined;
1137
1140
  Opportunity: {
1138
1141
  identifier: {
1139
1142
  contains: string;
@@ -1141,23 +1144,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1141
1144
  };
1142
1145
  mainProtocolId?: undefined;
1143
1146
  };
1147
+ RewardToken?: undefined;
1148
+ } | {
1144
1149
  id?: undefined;
1145
1150
  campaignId?: undefined;
1146
1151
  creatorAddress?: undefined;
1147
- RewardToken?: undefined;
1148
- } | {
1149
1152
  Opportunity: {
1153
+ identifier?: undefined;
1150
1154
  mainProtocolId: {
1151
1155
  contains: string;
1152
1156
  mode: "insensitive";
1153
1157
  };
1154
- identifier?: undefined;
1155
1158
  };
1159
+ RewardToken?: undefined;
1160
+ } | {
1156
1161
  id?: undefined;
1157
1162
  campaignId?: undefined;
1158
1163
  creatorAddress?: undefined;
1159
- RewardToken?: undefined;
1160
- } | {
1161
1164
  Opportunity?: undefined;
1162
1165
  RewardToken: {
1163
1166
  OR: ({
@@ -1168,24 +1171,21 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1168
1171
  displaySymbol?: undefined;
1169
1172
  address?: undefined;
1170
1173
  } | {
1174
+ symbol?: undefined;
1171
1175
  displaySymbol: {
1172
1176
  contains: string;
1173
1177
  mode: "insensitive";
1174
1178
  };
1175
- symbol?: undefined;
1176
1179
  address?: undefined;
1177
1180
  } | {
1181
+ symbol?: undefined;
1178
1182
  displaySymbol?: undefined;
1179
1183
  address: {
1180
1184
  contains: string;
1181
1185
  mode: "insensitive";
1182
1186
  };
1183
- symbol?: undefined;
1184
1187
  })[];
1185
1188
  };
1186
- id?: undefined;
1187
- campaignId?: undefined;
1188
- creatorAddress?: undefined;
1189
1189
  })[];
1190
1190
  }[] | undefined;
1191
1191
  endTimestamp: {
@@ -90,6 +90,12 @@ export declare abstract class CampaignStatusService {
90
90
  static updateErrorMessage(campaignUnique: CampaignUnique, message: string): Promise<void>;
91
91
  static deleteErrorMessage(campaignUnique: CampaignUnique): Promise<void>;
92
92
  static isSafeForOverlaps(campaignUnique: CampaignUnique): Promise<boolean>;
93
+ private static _computeUpdatesAndDelays;
94
+ /**
95
+ * Get updates and delays with cache layer
96
+ * Returns cached data if available, otherwise computes and caches result
97
+ * Cache is refreshed in background via job service
98
+ */
93
99
  static findUpdatesAndDelays(showManualNotes?: boolean): Promise<Record<number, {
94
100
  live: string;
95
101
  tree: string;
@@ -206,6 +212,126 @@ export declare abstract class CampaignStatusService {
206
212
  startTimestamp: bigint;
207
213
  }[];
208
214
  }>>;
215
+ /**
216
+ * Refresh the cache for updates and delays
217
+ * Used by background job to keep cache warm
218
+ */
219
+ static refreshUpdatesAndDelaysCache(showManualNotes?: boolean): Promise<Record<number, {
220
+ live: string;
221
+ tree: string;
222
+ lastTree: string;
223
+ admin: string;
224
+ adminUrl?: string | undefined;
225
+ distributor: string;
226
+ distributionCreator: string;
227
+ endOfDisputePeriod: number;
228
+ disputer: string;
229
+ treeDisputeRun?: {
230
+ chainId: number;
231
+ root: string;
232
+ createdAt: number | bigint;
233
+ disputed: boolean;
234
+ message: string;
235
+ bot: string;
236
+ signature: string;
237
+ }[] | undefined;
238
+ lastTreeDisputeRun?: {
239
+ chainId: number;
240
+ root: string;
241
+ createdAt: number | bigint;
242
+ disputed: boolean;
243
+ message: string;
244
+ bot: string;
245
+ signature: string;
246
+ }[] | undefined;
247
+ valueAtRisk?: {
248
+ value: number;
249
+ breakdown: Record<string, {
250
+ value: number;
251
+ token: {
252
+ id: string;
253
+ name: string | null;
254
+ chainId: number;
255
+ address: string;
256
+ decimals: number;
257
+ symbol: string;
258
+ icon: string;
259
+ verified: boolean;
260
+ isNative: boolean;
261
+ isTest: boolean;
262
+ type: "POINT" | "PRETGE" | "TOKEN";
263
+ price?: number | null | undefined;
264
+ updatedAt?: number | null | undefined;
265
+ priceSource?: string | null | undefined;
266
+ displaySymbol?: string | undefined;
267
+ };
268
+ }>;
269
+ } | undefined;
270
+ distributorTVL?: {
271
+ value: number;
272
+ breakdown: Record<string, {
273
+ token: {
274
+ id: string;
275
+ name: string | null;
276
+ chainId: number;
277
+ address: string;
278
+ decimals: number;
279
+ symbol: string;
280
+ icon: string;
281
+ verified: boolean;
282
+ isNative: boolean;
283
+ isTest: boolean;
284
+ type: "POINT" | "PRETGE" | "TOKEN";
285
+ price?: number | null | undefined;
286
+ updatedAt?: number | null | undefined;
287
+ priceSource?: string | null | undefined;
288
+ displaySymbol?: string | undefined;
289
+ };
290
+ value: number;
291
+ }>;
292
+ } | undefined;
293
+ delayed: {
294
+ status: {
295
+ campaignId: string;
296
+ status: import("@package/databases").RunStatus;
297
+ preComputeStatus: import("@package/databases").RunStatus;
298
+ error: string;
299
+ details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
300
+ delay: number;
301
+ computedUntil: number;
302
+ createdAt: number;
303
+ processingStarted: number;
304
+ preComputeProcessingStarted: number;
305
+ };
306
+ CampaignStatus: {
307
+ campaignId: string;
308
+ computedUntil: bigint;
309
+ processingStarted: bigint;
310
+ status: import("@package/databases").RunStatus;
311
+ preComputeStatus: import("@package/databases").RunStatus;
312
+ preComputeProcessingStarted: bigint;
313
+ error: string;
314
+ details: import("@prisma/client/runtime/client").JsonValue;
315
+ }[];
316
+ Opportunity: {
317
+ identifier: string;
318
+ liveCampaigns: number;
319
+ name: string;
320
+ type: string;
321
+ };
322
+ RewardToken: {
323
+ address: string;
324
+ isTest: boolean;
325
+ symbol: string;
326
+ };
327
+ campaignId: string;
328
+ computeChainId: number;
329
+ createdAt: Date;
330
+ distributionChainId: number;
331
+ endTimestamp: bigint;
332
+ startTimestamp: bigint;
333
+ }[];
334
+ }>>;
209
335
  static findManyDelay(query: DelayModel, showManualNotes?: boolean): Promise<{
210
336
  status: {
211
337
  campaignId: string;