@merkl/api 1.18.32 → 1.18.40

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 (75) hide show
  1. package/dist/src/eden/index.d.ts +144 -77
  2. package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +38 -38
  3. package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
  4. package/dist/src/engine/implementations/{RoycoDawn → Royco}/metadata.d.ts +6 -6
  5. package/dist/src/engine/implementations/Royco/metadata.js.map +1 -0
  6. package/dist/src/engine/implementations/StabullStaking/metadata.d.ts +1 -1
  7. package/dist/src/engine/metadata/factory.js.map +1 -1
  8. package/dist/src/engine/tvl/factory.js.map +1 -1
  9. package/dist/src/index.d.ts +142 -75
  10. package/dist/src/index.js.map +1 -1
  11. package/dist/src/jobs/claim-etl/index.js.map +1 -1
  12. package/dist/src/jobs/tx-executor/process.js.map +1 -1
  13. package/dist/src/jobs/update-dynamic-data.js.map +1 -1
  14. package/dist/src/modules/v4/apr/apr.model.d.ts +2 -0
  15. package/dist/src/modules/v4/authentication/authentication.controller.d.ts +1 -0
  16. package/dist/src/modules/v4/authentication/authentication.model.d.ts +7 -1
  17. package/dist/src/modules/v4/authentication/authentication.model.js.map +1 -1
  18. package/dist/src/modules/v4/authentication/authentication.service.d.ts +0 -1
  19. package/dist/src/modules/v4/authentication/authentication.service.js.map +1 -1
  20. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +30 -20
  21. package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -0
  22. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +80 -80
  23. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +9 -0
  24. package/dist/src/modules/v4/campaign/campaign.service.d.ts +10 -1
  25. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +12 -0
  26. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +16 -12
  27. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
  28. package/dist/src/modules/v4/carousel/carousel.service.d.ts +14 -8
  29. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -0
  30. package/dist/src/modules/v4/config/config.controller.d.ts +3 -0
  31. package/dist/src/modules/v4/config/config.service.d.ts +3 -0
  32. package/dist/src/modules/v4/creator/creator.controller.d.ts +6 -4
  33. package/dist/src/modules/v4/creator/creator.service.d.ts +1 -0
  34. package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +2 -0
  35. package/dist/src/modules/v4/dynamicData/dynamicData.service.js.map +1 -1
  36. package/dist/src/modules/v4/leaf/leaf.repository.d.ts +4 -0
  37. package/dist/src/modules/v4/leaf/leaf.service.d.ts +2 -0
  38. package/dist/src/modules/v4/leaf/leafLeaderboard.service.js.map +1 -1
  39. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +37 -24
  40. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +4 -0
  41. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +14 -0
  42. package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
  43. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +39 -38
  44. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.js.map +1 -1
  45. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -1
  46. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  47. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +24 -9
  48. package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
  49. package/dist/src/modules/v4/payload/payload.controller.d.ts +3 -0
  50. package/dist/src/modules/v4/payload/payload.service.d.ts +4 -0
  51. package/dist/src/modules/v4/program/program.controller.d.ts +24 -9
  52. package/dist/src/modules/v4/program/program.controller.js.map +1 -1
  53. package/dist/src/modules/v4/program/program.model.d.ts +1 -0
  54. package/dist/src/modules/v4/program/program.model.js.map +1 -1
  55. package/dist/src/modules/v4/program/program.repository.d.ts +15 -1
  56. package/dist/src/modules/v4/program/program.repository.js.map +1 -1
  57. package/dist/src/modules/v4/program/program.service.d.ts +22 -9
  58. package/dist/src/modules/v4/program/program.service.js.map +1 -1
  59. package/dist/src/modules/v4/reward/reward.model.d.ts +2 -0
  60. package/dist/src/modules/v4/reward/reward.service.d.ts +15 -2
  61. package/dist/src/modules/v4/router.d.ts +142 -75
  62. package/dist/src/modules/v4/transaction/transaction.service.d.ts +11390 -11380
  63. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +4 -4
  64. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -2
  65. package/dist/src/modules/v4/user/user.controller.d.ts +4 -2
  66. package/dist/src/plugins/AddressChecksum.plugin.d.ts +4 -0
  67. package/dist/src/plugins/AddressChecksum.plugin.js.map +1 -1
  68. package/dist/src/scripts/cleanup-empty-leaves.d.ts +1 -0
  69. package/dist/src/scripts/cleanup-empty-leaves.js.map +1 -0
  70. package/dist/src/utils/getAPR.d.ts +24 -19
  71. package/dist/src/utils/parseDistributionType.d.ts +212 -207
  72. package/dist/src/utils/parseDistributionType.js.map +1 -1
  73. package/dist/tsconfig.tsbuildinfo +1 -1
  74. package/package.json +1 -1
  75. package/dist/src/engine/implementations/RoycoDawn/metadata.js.map +0 -1
@@ -209,10 +209,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
209
209
  tags?: undefined;
210
210
  } | {
211
211
  OR?: undefined;
212
- tags?: undefined;
213
212
  Creator: {
214
213
  id: string;
215
214
  };
215
+ tags?: undefined;
216
216
  } | {
217
217
  OR?: undefined;
218
218
  Creator?: undefined;
@@ -250,32 +250,29 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
250
250
  contains: string;
251
251
  mode: "insensitive";
252
252
  };
253
+ Opportunity?: undefined;
253
254
  campaignId?: undefined;
254
255
  creatorAddress?: undefined;
255
- Opportunity?: undefined;
256
256
  RewardToken?: undefined;
257
257
  } | {
258
- id?: undefined;
259
258
  campaignId: {
260
259
  contains: string;
261
260
  mode: "insensitive";
262
261
  };
263
- creatorAddress?: undefined;
264
262
  Opportunity?: undefined;
263
+ id?: undefined;
264
+ creatorAddress?: undefined;
265
265
  RewardToken?: undefined;
266
266
  } | {
267
- id?: undefined;
268
- campaignId?: undefined;
269
267
  creatorAddress: {
270
268
  contains: string;
271
269
  mode: "insensitive";
272
270
  };
273
271
  Opportunity?: undefined;
274
- RewardToken?: undefined;
275
- } | {
276
272
  id?: undefined;
277
273
  campaignId?: undefined;
278
- creatorAddress?: undefined;
274
+ RewardToken?: undefined;
275
+ } | {
279
276
  Opportunity: {
280
277
  identifier: {
281
278
  contains: string;
@@ -283,23 +280,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
283
280
  };
284
281
  mainProtocolId?: undefined;
285
282
  };
286
- RewardToken?: undefined;
287
- } | {
288
283
  id?: undefined;
289
284
  campaignId?: undefined;
290
285
  creatorAddress?: undefined;
286
+ RewardToken?: undefined;
287
+ } | {
291
288
  Opportunity: {
292
- identifier?: undefined;
293
289
  mainProtocolId: {
294
290
  contains: string;
295
291
  mode: "insensitive";
296
292
  };
293
+ identifier?: undefined;
297
294
  };
298
- RewardToken?: undefined;
299
- } | {
300
295
  id?: undefined;
301
296
  campaignId?: undefined;
302
297
  creatorAddress?: undefined;
298
+ RewardToken?: undefined;
299
+ } | {
303
300
  Opportunity?: undefined;
304
301
  RewardToken: {
305
302
  OR: ({
@@ -310,21 +307,24 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
310
307
  displaySymbol?: undefined;
311
308
  address?: undefined;
312
309
  } | {
313
- symbol?: undefined;
314
310
  displaySymbol: {
315
311
  contains: string;
316
312
  mode: "insensitive";
317
313
  };
314
+ symbol?: undefined;
318
315
  address?: undefined;
319
316
  } | {
320
- symbol?: undefined;
321
317
  displaySymbol?: undefined;
322
318
  address: {
323
319
  contains: string;
324
320
  mode: "insensitive";
325
321
  };
322
+ symbol?: undefined;
326
323
  })[];
327
324
  };
325
+ id?: undefined;
326
+ campaignId?: undefined;
327
+ creatorAddress?: undefined;
328
328
  })[];
329
329
  }[] | undefined;
330
330
  } | {
@@ -427,10 +427,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
427
427
  tags?: undefined;
428
428
  } | {
429
429
  OR?: undefined;
430
- tags?: undefined;
431
430
  Creator: {
432
431
  id: string;
433
432
  };
433
+ tags?: undefined;
434
434
  } | {
435
435
  OR?: undefined;
436
436
  Creator?: undefined;
@@ -468,32 +468,29 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
468
468
  contains: string;
469
469
  mode: "insensitive";
470
470
  };
471
+ Opportunity?: undefined;
471
472
  campaignId?: undefined;
472
473
  creatorAddress?: undefined;
473
- Opportunity?: undefined;
474
474
  RewardToken?: undefined;
475
475
  } | {
476
- id?: undefined;
477
476
  campaignId: {
478
477
  contains: string;
479
478
  mode: "insensitive";
480
479
  };
481
- creatorAddress?: undefined;
482
480
  Opportunity?: undefined;
481
+ id?: undefined;
482
+ creatorAddress?: undefined;
483
483
  RewardToken?: undefined;
484
484
  } | {
485
- id?: undefined;
486
- campaignId?: undefined;
487
485
  creatorAddress: {
488
486
  contains: string;
489
487
  mode: "insensitive";
490
488
  };
491
489
  Opportunity?: undefined;
492
- RewardToken?: undefined;
493
- } | {
494
490
  id?: undefined;
495
491
  campaignId?: undefined;
496
- creatorAddress?: undefined;
492
+ RewardToken?: undefined;
493
+ } | {
497
494
  Opportunity: {
498
495
  identifier: {
499
496
  contains: string;
@@ -501,23 +498,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
501
498
  };
502
499
  mainProtocolId?: undefined;
503
500
  };
504
- RewardToken?: undefined;
505
- } | {
506
501
  id?: undefined;
507
502
  campaignId?: undefined;
508
503
  creatorAddress?: undefined;
504
+ RewardToken?: undefined;
505
+ } | {
509
506
  Opportunity: {
510
- identifier?: undefined;
511
507
  mainProtocolId: {
512
508
  contains: string;
513
509
  mode: "insensitive";
514
510
  };
511
+ identifier?: undefined;
515
512
  };
516
- RewardToken?: undefined;
517
- } | {
518
513
  id?: undefined;
519
514
  campaignId?: undefined;
520
515
  creatorAddress?: undefined;
516
+ RewardToken?: undefined;
517
+ } | {
521
518
  Opportunity?: undefined;
522
519
  RewardToken: {
523
520
  OR: ({
@@ -528,21 +525,24 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
528
525
  displaySymbol?: undefined;
529
526
  address?: undefined;
530
527
  } | {
531
- symbol?: undefined;
532
528
  displaySymbol: {
533
529
  contains: string;
534
530
  mode: "insensitive";
535
531
  };
532
+ symbol?: undefined;
536
533
  address?: undefined;
537
534
  } | {
538
- symbol?: undefined;
539
535
  displaySymbol?: undefined;
540
536
  address: {
541
537
  contains: string;
542
538
  mode: "insensitive";
543
539
  };
540
+ symbol?: undefined;
544
541
  })[];
545
542
  };
543
+ id?: undefined;
544
+ campaignId?: undefined;
545
+ creatorAddress?: undefined;
546
546
  })[];
547
547
  }[] | undefined;
548
548
  endTimestamp: {
@@ -655,10 +655,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
655
655
  tags?: undefined;
656
656
  } | {
657
657
  OR?: undefined;
658
- tags?: undefined;
659
658
  Creator: {
660
659
  id: string;
661
660
  };
661
+ tags?: undefined;
662
662
  } | {
663
663
  OR?: undefined;
664
664
  Creator?: undefined;
@@ -696,32 +696,29 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
696
696
  contains: string;
697
697
  mode: "insensitive";
698
698
  };
699
+ Opportunity?: undefined;
699
700
  campaignId?: undefined;
700
701
  creatorAddress?: undefined;
701
- Opportunity?: undefined;
702
702
  RewardToken?: undefined;
703
703
  } | {
704
- id?: undefined;
705
704
  campaignId: {
706
705
  contains: string;
707
706
  mode: "insensitive";
708
707
  };
709
- creatorAddress?: undefined;
710
708
  Opportunity?: undefined;
709
+ id?: undefined;
710
+ creatorAddress?: undefined;
711
711
  RewardToken?: undefined;
712
712
  } | {
713
- id?: undefined;
714
- campaignId?: undefined;
715
713
  creatorAddress: {
716
714
  contains: string;
717
715
  mode: "insensitive";
718
716
  };
719
717
  Opportunity?: undefined;
720
- RewardToken?: undefined;
721
- } | {
722
718
  id?: undefined;
723
719
  campaignId?: undefined;
724
- creatorAddress?: undefined;
720
+ RewardToken?: undefined;
721
+ } | {
725
722
  Opportunity: {
726
723
  identifier: {
727
724
  contains: string;
@@ -729,23 +726,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
729
726
  };
730
727
  mainProtocolId?: undefined;
731
728
  };
732
- RewardToken?: undefined;
733
- } | {
734
729
  id?: undefined;
735
730
  campaignId?: undefined;
736
731
  creatorAddress?: undefined;
732
+ RewardToken?: undefined;
733
+ } | {
737
734
  Opportunity: {
738
- identifier?: undefined;
739
735
  mainProtocolId: {
740
736
  contains: string;
741
737
  mode: "insensitive";
742
738
  };
739
+ identifier?: undefined;
743
740
  };
744
- RewardToken?: undefined;
745
- } | {
746
741
  id?: undefined;
747
742
  campaignId?: undefined;
748
743
  creatorAddress?: undefined;
744
+ RewardToken?: undefined;
745
+ } | {
749
746
  Opportunity?: undefined;
750
747
  RewardToken: {
751
748
  OR: ({
@@ -756,21 +753,24 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
756
753
  displaySymbol?: undefined;
757
754
  address?: undefined;
758
755
  } | {
759
- symbol?: undefined;
760
756
  displaySymbol: {
761
757
  contains: string;
762
758
  mode: "insensitive";
763
759
  };
760
+ symbol?: undefined;
764
761
  address?: undefined;
765
762
  } | {
766
- symbol?: undefined;
767
763
  displaySymbol?: undefined;
768
764
  address: {
769
765
  contains: string;
770
766
  mode: "insensitive";
771
767
  };
768
+ symbol?: undefined;
772
769
  })[];
773
770
  };
771
+ id?: undefined;
772
+ campaignId?: undefined;
773
+ creatorAddress?: undefined;
774
774
  })[];
775
775
  }[] | undefined;
776
776
  endTimestamp: {
@@ -879,10 +879,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
879
879
  tags?: undefined;
880
880
  } | {
881
881
  OR?: undefined;
882
- tags?: undefined;
883
882
  Creator: {
884
883
  id: string;
885
884
  };
885
+ tags?: undefined;
886
886
  } | {
887
887
  OR?: undefined;
888
888
  Creator?: undefined;
@@ -920,32 +920,29 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
920
920
  contains: string;
921
921
  mode: "insensitive";
922
922
  };
923
+ Opportunity?: undefined;
923
924
  campaignId?: undefined;
924
925
  creatorAddress?: undefined;
925
- Opportunity?: undefined;
926
926
  RewardToken?: undefined;
927
927
  } | {
928
- id?: undefined;
929
928
  campaignId: {
930
929
  contains: string;
931
930
  mode: "insensitive";
932
931
  };
933
- creatorAddress?: undefined;
934
932
  Opportunity?: undefined;
933
+ id?: undefined;
934
+ creatorAddress?: undefined;
935
935
  RewardToken?: undefined;
936
936
  } | {
937
- id?: undefined;
938
- campaignId?: undefined;
939
937
  creatorAddress: {
940
938
  contains: string;
941
939
  mode: "insensitive";
942
940
  };
943
941
  Opportunity?: undefined;
944
- RewardToken?: undefined;
945
- } | {
946
942
  id?: undefined;
947
943
  campaignId?: undefined;
948
- creatorAddress?: undefined;
944
+ RewardToken?: undefined;
945
+ } | {
949
946
  Opportunity: {
950
947
  identifier: {
951
948
  contains: string;
@@ -953,23 +950,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
953
950
  };
954
951
  mainProtocolId?: undefined;
955
952
  };
956
- RewardToken?: undefined;
957
- } | {
958
953
  id?: undefined;
959
954
  campaignId?: undefined;
960
955
  creatorAddress?: undefined;
956
+ RewardToken?: undefined;
957
+ } | {
961
958
  Opportunity: {
962
- identifier?: undefined;
963
959
  mainProtocolId: {
964
960
  contains: string;
965
961
  mode: "insensitive";
966
962
  };
963
+ identifier?: undefined;
967
964
  };
968
- RewardToken?: undefined;
969
- } | {
970
965
  id?: undefined;
971
966
  campaignId?: undefined;
972
967
  creatorAddress?: undefined;
968
+ RewardToken?: undefined;
969
+ } | {
973
970
  Opportunity?: undefined;
974
971
  RewardToken: {
975
972
  OR: ({
@@ -980,21 +977,24 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
980
977
  displaySymbol?: undefined;
981
978
  address?: undefined;
982
979
  } | {
983
- symbol?: undefined;
984
980
  displaySymbol: {
985
981
  contains: string;
986
982
  mode: "insensitive";
987
983
  };
984
+ symbol?: undefined;
988
985
  address?: undefined;
989
986
  } | {
990
- symbol?: undefined;
991
987
  displaySymbol?: undefined;
992
988
  address: {
993
989
  contains: string;
994
990
  mode: "insensitive";
995
991
  };
992
+ symbol?: undefined;
996
993
  })[];
997
994
  };
995
+ id?: undefined;
996
+ campaignId?: undefined;
997
+ creatorAddress?: undefined;
998
998
  })[];
999
999
  }[] | undefined;
1000
1000
  startTimestamp: {
@@ -1103,10 +1103,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1103
1103
  tags?: undefined;
1104
1104
  } | {
1105
1105
  OR?: undefined;
1106
- tags?: undefined;
1107
1106
  Creator: {
1108
1107
  id: string;
1109
1108
  };
1109
+ tags?: undefined;
1110
1110
  } | {
1111
1111
  OR?: undefined;
1112
1112
  Creator?: undefined;
@@ -1144,32 +1144,29 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1144
1144
  contains: string;
1145
1145
  mode: "insensitive";
1146
1146
  };
1147
+ Opportunity?: undefined;
1147
1148
  campaignId?: undefined;
1148
1149
  creatorAddress?: undefined;
1149
- Opportunity?: undefined;
1150
1150
  RewardToken?: undefined;
1151
1151
  } | {
1152
- id?: undefined;
1153
1152
  campaignId: {
1154
1153
  contains: string;
1155
1154
  mode: "insensitive";
1156
1155
  };
1157
- creatorAddress?: undefined;
1158
1156
  Opportunity?: undefined;
1157
+ id?: undefined;
1158
+ creatorAddress?: undefined;
1159
1159
  RewardToken?: undefined;
1160
1160
  } | {
1161
- id?: undefined;
1162
- campaignId?: undefined;
1163
1161
  creatorAddress: {
1164
1162
  contains: string;
1165
1163
  mode: "insensitive";
1166
1164
  };
1167
1165
  Opportunity?: undefined;
1168
- RewardToken?: undefined;
1169
- } | {
1170
1166
  id?: undefined;
1171
1167
  campaignId?: undefined;
1172
- creatorAddress?: undefined;
1168
+ RewardToken?: undefined;
1169
+ } | {
1173
1170
  Opportunity: {
1174
1171
  identifier: {
1175
1172
  contains: string;
@@ -1177,23 +1174,23 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1177
1174
  };
1178
1175
  mainProtocolId?: undefined;
1179
1176
  };
1180
- RewardToken?: undefined;
1181
- } | {
1182
1177
  id?: undefined;
1183
1178
  campaignId?: undefined;
1184
1179
  creatorAddress?: undefined;
1180
+ RewardToken?: undefined;
1181
+ } | {
1185
1182
  Opportunity: {
1186
- identifier?: undefined;
1187
1183
  mainProtocolId: {
1188
1184
  contains: string;
1189
1185
  mode: "insensitive";
1190
1186
  };
1187
+ identifier?: undefined;
1191
1188
  };
1192
- RewardToken?: undefined;
1193
- } | {
1194
1189
  id?: undefined;
1195
1190
  campaignId?: undefined;
1196
1191
  creatorAddress?: undefined;
1192
+ RewardToken?: undefined;
1193
+ } | {
1197
1194
  Opportunity?: undefined;
1198
1195
  RewardToken: {
1199
1196
  OR: ({
@@ -1204,21 +1201,24 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1204
1201
  displaySymbol?: undefined;
1205
1202
  address?: undefined;
1206
1203
  } | {
1207
- symbol?: undefined;
1208
1204
  displaySymbol: {
1209
1205
  contains: string;
1210
1206
  mode: "insensitive";
1211
1207
  };
1208
+ symbol?: undefined;
1212
1209
  address?: undefined;
1213
1210
  } | {
1214
- symbol?: undefined;
1215
1211
  displaySymbol?: undefined;
1216
1212
  address: {
1217
1213
  contains: string;
1218
1214
  mode: "insensitive";
1219
1215
  };
1216
+ symbol?: undefined;
1220
1217
  })[];
1221
1218
  };
1219
+ id?: undefined;
1220
+ campaignId?: undefined;
1221
+ creatorAddress?: undefined;
1222
1222
  })[];
1223
1223
  }[] | undefined;
1224
1224
  endTimestamp: {
@@ -30,6 +30,7 @@ export declare abstract class CampaignRepository {
30
30
  nativeApr: number | null;
31
31
  maxApr: number | null;
32
32
  dailyRewards: number;
33
+ maxDailyRewards: number;
33
34
  tags: string[];
34
35
  lastCampaignCreatedAt: Date;
35
36
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -94,6 +95,7 @@ export declare abstract class CampaignRepository {
94
95
  nativeApr: number | null;
95
96
  maxApr: number | null;
96
97
  dailyRewards: number;
98
+ maxDailyRewards: number;
97
99
  tags: string[];
98
100
  lastCampaignCreatedAt: Date;
99
101
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -158,6 +160,7 @@ export declare abstract class CampaignRepository {
158
160
  nativeApr: number | null;
159
161
  maxApr: number | null;
160
162
  dailyRewards: number;
163
+ maxDailyRewards: number;
161
164
  tags: string[];
162
165
  lastCampaignCreatedAt: Date;
163
166
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -347,6 +350,7 @@ export declare abstract class CampaignRepository {
347
350
  nativeApr: number | null;
348
351
  maxApr: number | null;
349
352
  dailyRewards: number;
353
+ maxDailyRewards: number;
350
354
  tags: string[];
351
355
  lastCampaignCreatedAt: Date;
352
356
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -469,6 +473,7 @@ export declare abstract class CampaignRepository {
469
473
  nativeApr: number | null;
470
474
  maxApr: number | null;
471
475
  dailyRewards: number;
476
+ maxDailyRewards: number;
472
477
  tags: string[];
473
478
  lastCampaignCreatedAt: Date;
474
479
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -589,6 +594,7 @@ export declare abstract class CampaignRepository {
589
594
  nativeApr: number | null;
590
595
  maxApr: number | null;
591
596
  dailyRewards: number;
597
+ maxDailyRewards: number;
592
598
  tags: string[];
593
599
  lastCampaignCreatedAt: Date;
594
600
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -709,6 +715,7 @@ export declare abstract class CampaignRepository {
709
715
  nativeApr: number | null;
710
716
  maxApr: number | null;
711
717
  dailyRewards: number;
718
+ maxDailyRewards: number;
712
719
  tags: string[];
713
720
  lastCampaignCreatedAt: Date;
714
721
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -833,6 +840,7 @@ export declare abstract class CampaignRepository {
833
840
  nativeApr: number | null;
834
841
  maxApr: number | null;
835
842
  dailyRewards: number;
843
+ maxDailyRewards: number;
836
844
  tags: string[];
837
845
  lastCampaignCreatedAt: Date;
838
846
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -953,6 +961,7 @@ export declare abstract class CampaignRepository {
953
961
  nativeApr: number | null;
954
962
  maxApr: number | null;
955
963
  dailyRewards: number;
964
+ maxDailyRewards: number;
956
965
  tags: string[];
957
966
  lastCampaignCreatedAt: Date;
958
967
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -41,12 +41,12 @@ export declare abstract class CampaignService {
41
41
  };
42
42
  startTimestamp?: undefined;
43
43
  } | {
44
- endTimestamp?: undefined;
45
44
  startTimestamp: {
46
45
  lte?: undefined;
47
46
  gt: number;
48
47
  gte?: undefined;
49
48
  };
49
+ endTimestamp?: undefined;
50
50
  } | {
51
51
  endTimestamp: {
52
52
  lt?: undefined;
@@ -79,6 +79,7 @@ export declare abstract class CampaignService {
79
79
  nativeApr: number | null;
80
80
  maxApr: number | null;
81
81
  dailyRewards: number;
82
+ maxDailyRewards: number;
82
83
  tags: string[];
83
84
  lastCampaignCreatedAt: Date;
84
85
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -135,6 +136,7 @@ export declare abstract class CampaignService {
135
136
  nativeApr: number | null;
136
137
  maxApr: number | null;
137
138
  dailyRewards: number;
139
+ maxDailyRewards: number;
138
140
  tags: string[];
139
141
  lastCampaignCreatedAt: Date;
140
142
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -191,6 +193,7 @@ export declare abstract class CampaignService {
191
193
  nativeApr: number | null;
192
194
  maxApr: number | null;
193
195
  dailyRewards: number;
196
+ maxDailyRewards: number;
194
197
  tags: string[];
195
198
  lastCampaignCreatedAt: Date;
196
199
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
@@ -305,6 +308,7 @@ export declare abstract class CampaignService {
305
308
  apr: number;
306
309
  maxApr: number | null;
307
310
  dailyRewards: number;
311
+ maxDailyRewards: number;
308
312
  tags: string[];
309
313
  liveCampaigns: number;
310
314
  tokens: {
@@ -410,6 +414,7 @@ export declare abstract class CampaignService {
410
414
  apr: number;
411
415
  maxApr: number | null;
412
416
  dailyRewards: number;
417
+ maxDailyRewards: number;
413
418
  tags: string[];
414
419
  liveCampaigns: number;
415
420
  tokens: {
@@ -555,6 +560,7 @@ export declare abstract class CampaignService {
555
560
  apr: number;
556
561
  maxApr: number | null;
557
562
  dailyRewards: number;
563
+ maxDailyRewards: number;
558
564
  tags: string[];
559
565
  liveCampaigns: number;
560
566
  tokens: {
@@ -715,6 +721,7 @@ export declare abstract class CampaignService {
715
721
  apr: number;
716
722
  maxApr: number | null;
717
723
  dailyRewards: number;
724
+ maxDailyRewards: number;
718
725
  tags: string[];
719
726
  liveCampaigns: number;
720
727
  tokens: {
@@ -810,6 +817,7 @@ export declare abstract class CampaignService {
810
817
  apr: number;
811
818
  maxApr: number | null;
812
819
  dailyRewards: number;
820
+ maxDailyRewards: number;
813
821
  tags: string[];
814
822
  liveCampaigns: number;
815
823
  tokens: {
@@ -1211,6 +1219,7 @@ export declare abstract class CampaignService {
1211
1219
  nativeApr: number | null;
1212
1220
  maxApr: number | null;
1213
1221
  dailyRewards: number;
1222
+ maxDailyRewards: number;
1214
1223
  tags: string[];
1215
1224
  lastCampaignCreatedAt: Date;
1216
1225
  manualOverrides: import("@package/databases").OpportunityManualOverride[];