@merkl/api 1.0.42 → 1.0.44

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 (33) hide show
  1. package/dist/src/eden/index.d.ts +1590 -1518
  2. package/dist/src/index.d.ts +842 -848
  3. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -2
  4. package/dist/src/modules/v4/accounting/accounting.model.d.ts +4 -4
  5. package/dist/src/modules/v4/accounting/accounting.repository.d.ts +1 -1
  6. package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
  7. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +303 -315
  8. package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -2
  9. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +83 -2
  10. package/dist/src/modules/v4/campaign/campaign.service.d.ts +90 -7
  11. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -0
  12. package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +2 -0
  13. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +2 -0
  14. package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -2
  15. package/dist/src/modules/v4/creator/creator.model.d.ts +2 -2
  16. package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +6 -0
  17. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +627 -627
  18. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -2
  19. package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +36 -4
  20. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +4 -4
  21. package/dist/src/modules/v4/protocol/protocol.model.d.ts +2 -2
  22. package/dist/src/modules/v4/reward/reward.controller.d.ts +18 -18
  23. package/dist/src/modules/v4/reward/reward.model.d.ts +6 -6
  24. package/dist/src/modules/v4/router.d.ts +842 -848
  25. package/dist/src/modules/v4/token/token.controller.d.ts +4 -4
  26. package/dist/src/modules/v4/token/token.model.d.ts +2 -2
  27. package/dist/src/modules/v4/token/token.repository.d.ts +16 -0
  28. package/dist/src/modules/v4/token/token.service.d.ts +1 -1
  29. package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
  30. package/dist/src/modules/v4/user/user.model.d.ts +2 -2
  31. package/dist/src/utils/pagination.d.ts +11 -0
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/package.json +1 -1
@@ -215,324 +215,38 @@ declare const app: Elysia<"", {
215
215
  } & {
216
216
  v4: {
217
217
  opportunities: {
218
- get: {
219
- body: unknown;
220
- params: {};
221
- query: {
222
- sort?: string | undefined;
223
- name?: string | undefined;
224
- tokens?: string | undefined;
225
- campaignId?: string | undefined;
226
- status?: string | undefined;
227
- chainId?: string | undefined;
228
- campaigns?: boolean | undefined;
229
- items?: number | undefined;
230
- point?: boolean | undefined;
231
- order?: string | undefined;
232
- action?: string | undefined;
233
- type?: string | undefined;
234
- search?: string | undefined;
235
- creatorAddress?: string | undefined;
236
- mainProtocolId?: string | undefined;
237
- identifier?: string | undefined;
238
- tags?: string | undefined;
239
- page?: number | undefined;
240
- test?: boolean | undefined;
241
- excludeSubCampaigns?: boolean | undefined;
242
- minimumTvl?: number | undefined;
243
- maximumTvl?: number | undefined;
244
- minimumApr?: number | undefined;
245
- maximumApr?: number | undefined;
246
- rewardTokenSymbol?: string | undefined;
247
- };
248
- headers: unknown;
249
- response: {
250
- 200: ({
251
- protocol?: {
252
- dailyRewards?: number | undefined;
253
- numberOfLiveCampaigns?: number | undefined;
254
- opportunityLiveTags?: string[] | undefined;
255
- name: string;
256
- description: string;
257
- id: string;
258
- url: string;
259
- icon: string;
260
- tags: string[];
261
- } | null | undefined;
262
- depositUrl?: string | undefined;
263
- explorerAddress?: string | undefined;
264
- distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
265
- aprRecord?: {
266
- timestamp: string | bigint;
267
- cumulated: number;
268
- breakdowns: {
269
- distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
270
- value: number;
271
- type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
272
- identifier: string;
273
- }[];
274
- } | undefined;
275
- tvlRecord?: {
276
- timestamp: string | bigint;
277
- total: number;
278
- breakdowns: {
279
- value: number;
280
- type: "TOKEN" | "PROTOCOL";
281
- identifier: string;
282
- }[];
283
- } | undefined;
284
- rewardsRecord?: {
285
- timestamp: string | bigint;
286
- total: number;
287
- breakdowns: {
288
- distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
289
- token: {
290
- price?: number | null | undefined;
291
- symbol: string;
292
- name: string | null;
293
- decimals: number;
294
- address: string;
295
- id: string;
296
- chainId: number;
297
- icon: string;
298
- isNative: boolean;
299
- isPoint: boolean;
300
- isPreTGE: boolean;
301
- isTest: boolean;
302
- verified: boolean;
303
- };
304
- campaignId: string;
305
- value: number;
306
- amount: string | bigint;
307
- }[];
308
- } | undefined;
309
- name: string;
310
- apr: number;
311
- tokens: {
312
- price?: number | null | undefined;
313
- symbol: string;
314
- name: string | null;
315
- decimals: number;
316
- address: string;
317
- id: string;
318
- chainId: number;
319
- icon: string;
320
- isNative: boolean;
321
- isPoint: boolean;
322
- isPreTGE: boolean;
323
- isTest: boolean;
324
- verified: boolean;
325
- }[];
326
- tvl: number;
327
- description: string;
328
- id: string;
329
- status: string;
330
- chainId: number;
331
- action: string;
332
- type: string;
333
- howToSteps: string[];
334
- identifier: string;
335
- dailyRewards: number;
336
- tags: string[];
337
- lastCampaignCreatedAt: string;
338
- chain: {
339
- explorers?: {
340
- chainId: number;
341
- type: "ETHERSCAN" | "BLOCKSCOUT";
342
- url: string;
343
- }[] | undefined;
344
- name: string;
345
- id: number;
346
- icon: string;
347
- };
348
- } | null)[];
349
- 422: {
350
- type: "validation";
351
- on: string;
352
- summary?: string;
353
- message?: string;
354
- found?: unknown;
355
- property?: string;
356
- expected?: string;
357
- };
358
- };
359
- };
360
- };
361
- } & {
362
- opportunities: {
363
- count: {
364
- get: {
365
- body: unknown;
366
- params: {};
367
- query: {
368
- sort?: string | undefined;
369
- name?: string | undefined;
370
- tokens?: string | undefined;
371
- campaignId?: string | undefined;
372
- status?: string | undefined;
373
- chainId?: string | undefined;
374
- campaigns?: boolean | undefined;
375
- items?: number | undefined;
376
- point?: boolean | undefined;
377
- order?: string | undefined;
378
- action?: string | undefined;
379
- type?: string | undefined;
380
- search?: string | undefined;
381
- creatorAddress?: string | undefined;
382
- mainProtocolId?: string | undefined;
383
- identifier?: string | undefined;
384
- tags?: string | undefined;
385
- page?: number | undefined;
386
- test?: boolean | undefined;
387
- excludeSubCampaigns?: boolean | undefined;
388
- minimumTvl?: number | undefined;
389
- maximumTvl?: number | undefined;
390
- minimumApr?: number | undefined;
391
- maximumApr?: number | undefined;
392
- rewardTokenSymbol?: string | undefined;
393
- };
394
- headers: unknown;
395
- response: {
396
- 200: number;
397
- 422: {
398
- type: "validation";
399
- on: string;
400
- summary?: string;
401
- message?: string;
402
- found?: unknown;
403
- property?: string;
404
- expected?: string;
405
- };
406
- };
407
- };
408
- };
409
- };
410
- } & {
411
- opportunities: {
412
- bins: {
413
- apr: {
414
- get: {
415
- body: unknown;
416
- params: {};
417
- query: {
418
- sort?: string | undefined;
419
- name?: string | undefined;
420
- tokens?: string | undefined;
421
- campaignId?: string | undefined;
422
- status?: string | undefined;
423
- chainId?: string | undefined;
424
- campaigns?: boolean | undefined;
425
- items?: number | undefined;
426
- point?: boolean | undefined;
427
- order?: string | undefined;
428
- action?: string | undefined;
429
- type?: string | undefined;
430
- search?: string | undefined;
431
- creatorAddress?: string | undefined;
432
- mainProtocolId?: string | undefined;
433
- identifier?: string | undefined;
434
- tags?: string | undefined;
435
- page?: number | undefined;
436
- test?: boolean | undefined;
437
- excludeSubCampaigns?: boolean | undefined;
438
- minimumTvl?: number | undefined;
439
- maximumTvl?: number | undefined;
440
- minimumApr?: number | undefined;
441
- maximumApr?: number | undefined;
442
- rewardTokenSymbol?: string | undefined;
443
- };
444
- headers: unknown;
445
- response: {
446
- 200: {
447
- min: number;
448
- max: number;
449
- overThreshold: number;
450
- binWidth: number;
451
- bins: any[];
452
- };
453
- 422: {
454
- type: "validation";
455
- on: string;
456
- summary?: string;
457
- message?: string;
458
- found?: unknown;
459
- property?: string;
460
- expected?: string;
461
- };
462
- };
463
- };
464
- };
465
- };
466
- };
467
- } & {
468
- opportunities: {
469
- bins: {
470
- tvl: {
471
- get: {
472
- body: unknown;
473
- params: {};
474
- query: {
475
- sort?: string | undefined;
476
- name?: string | undefined;
477
- tokens?: string | undefined;
478
- campaignId?: string | undefined;
479
- status?: string | undefined;
480
- chainId?: string | undefined;
481
- campaigns?: boolean | undefined;
482
- items?: number | undefined;
483
- point?: boolean | undefined;
484
- order?: string | undefined;
485
- action?: string | undefined;
486
- type?: string | undefined;
487
- search?: string | undefined;
488
- creatorAddress?: string | undefined;
489
- mainProtocolId?: string | undefined;
490
- identifier?: string | undefined;
491
- tags?: string | undefined;
492
- page?: number | undefined;
493
- test?: boolean | undefined;
494
- excludeSubCampaigns?: boolean | undefined;
495
- minimumTvl?: number | undefined;
496
- maximumTvl?: number | undefined;
497
- minimumApr?: number | undefined;
498
- maximumApr?: number | undefined;
499
- rewardTokenSymbol?: string | undefined;
500
- };
501
- headers: unknown;
502
- response: {
503
- 200: {
504
- min: number;
505
- max: number;
506
- binWidth: number;
507
- bins: any[];
508
- };
509
- 422: {
510
- type: "validation";
511
- on: string;
512
- summary?: string;
513
- message?: string;
514
- found?: unknown;
515
- property?: string;
516
- expected?: string;
517
- };
518
- };
519
- };
520
- };
521
- };
522
- };
523
- } & {
524
- opportunities: {
525
- ":id": {
218
+ campaigns: {
526
219
  get: {
527
220
  body: unknown;
528
- params: {
529
- id: string;
530
- };
221
+ params: {};
531
222
  query: {
532
- campaigns?: boolean | undefined;
223
+ campaignId?: string | undefined;
224
+ id?: string | undefined;
225
+ tokenAddress?: string | undefined;
226
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
227
+ chainId?: number | undefined;
228
+ startTimestamp?: string | undefined;
533
229
  point?: boolean | undefined;
230
+ tokenSymbol?: string | undefined;
231
+ type?: string | undefined;
232
+ endTimestamp?: string | undefined;
233
+ opportunityId?: string | undefined;
234
+ creatorAddress?: string | undefined;
235
+ mainProtocolId?: string | undefined;
236
+ subType?: number | undefined;
237
+ rootCampaignId?: string | undefined;
238
+ parentCampaignId?: string | undefined;
239
+ creatorId?: string | undefined;
240
+ mainParameter?: string | undefined;
534
241
  test?: boolean | undefined;
242
+ creatorTag?: string | undefined;
243
+ distributionChainIds?: number[] | undefined;
244
+ types?: string[] | undefined;
245
+ withOpportunity?: boolean | undefined;
246
+ createdAfter?: Date | null | undefined;
535
247
  excludeSubCampaigns?: boolean | undefined;
248
+ items: number;
249
+ page: number;
536
250
  };
537
251
  headers: unknown;
538
252
  response: {
@@ -617,6 +331,74 @@ declare const app: Elysia<"", {
617
331
  id: string;
618
332
  status: string;
619
333
  chainId: number;
334
+ campaigns: {
335
+ description?: string | undefined;
336
+ creator?: {
337
+ tags?: string[] | undefined;
338
+ creatorId?: string | null | undefined;
339
+ address: string;
340
+ } | undefined;
341
+ distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
342
+ rootCampaignId?: string | undefined;
343
+ parentCampaignId?: string | undefined;
344
+ campaignStatus?: {
345
+ error?: string | undefined;
346
+ details?: any;
347
+ campaignId: string;
348
+ status: string;
349
+ computedUntil: string | number;
350
+ processingStarted: string | number;
351
+ } | undefined;
352
+ distributionChain?: {
353
+ explorers?: {
354
+ chainId: number;
355
+ type: "ETHERSCAN" | "BLOCKSCOUT";
356
+ url: string;
357
+ }[] | undefined;
358
+ name: string;
359
+ id: number;
360
+ icon: string;
361
+ } | undefined;
362
+ rewardToken: {
363
+ price?: number | null | undefined;
364
+ symbol: string;
365
+ name: string | null;
366
+ decimals: number;
367
+ address: string;
368
+ id: string;
369
+ chainId: number;
370
+ icon: string;
371
+ isNative: boolean;
372
+ isPoint: boolean;
373
+ isPreTGE: boolean;
374
+ isTest: boolean;
375
+ verified: boolean;
376
+ };
377
+ campaignId: string;
378
+ id: string;
379
+ params: any;
380
+ amount: string;
381
+ startTimestamp: string | number;
382
+ type: string;
383
+ computeChainId: number;
384
+ distributionChainId: number;
385
+ endTimestamp: string | number;
386
+ opportunityId: string;
387
+ creatorAddress: string;
388
+ subType: number | null;
389
+ rewardTokenId: string;
390
+ createdAt: string;
391
+ chain: {
392
+ explorers?: {
393
+ chainId: number;
394
+ type: "ETHERSCAN" | "BLOCKSCOUT";
395
+ url: string;
396
+ }[] | undefined;
397
+ name: string;
398
+ id: number;
399
+ icon: string;
400
+ };
401
+ }[];
620
402
  action: string;
621
403
  type: string;
622
404
  howToSteps: string[];
@@ -634,7 +416,7 @@ declare const app: Elysia<"", {
634
416
  id: number;
635
417
  icon: string;
636
418
  };
637
- };
419
+ }[];
638
420
  readonly 500: {
639
421
  info: string;
640
422
  code: string;
@@ -659,37 +441,16 @@ declare const app: Elysia<"", {
659
441
  };
660
442
  } & {
661
443
  opportunities: {
662
- campaigns: {
444
+ ":id": {
663
445
  get: {
664
446
  body: unknown;
665
- params: {};
447
+ params: {
448
+ id: string;
449
+ };
666
450
  query: {
667
- campaignId?: string | undefined;
668
- id?: string | undefined;
669
- tokenAddress?: string | undefined;
670
- status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
671
- chainId?: number | undefined;
672
- startTimestamp?: string | undefined;
673
- items?: number | undefined;
451
+ campaigns?: boolean | undefined;
674
452
  point?: boolean | undefined;
675
- tokenSymbol?: string | undefined;
676
- type?: string | undefined;
677
- endTimestamp?: string | undefined;
678
- opportunityId?: string | undefined;
679
- creatorAddress?: string | undefined;
680
- mainProtocolId?: string | undefined;
681
- subType?: number | undefined;
682
- rootCampaignId?: string | undefined;
683
- parentCampaignId?: string | undefined;
684
- creatorId?: string | undefined;
685
- mainParameter?: string | undefined;
686
- page?: number | undefined;
687
453
  test?: boolean | undefined;
688
- creatorTag?: string | undefined;
689
- distributionChainIds?: number[] | undefined;
690
- types?: string[] | undefined;
691
- withOpportunity?: boolean | undefined;
692
- createdAfter?: Date | null | undefined;
693
454
  excludeSubCampaigns?: boolean | undefined;
694
455
  };
695
456
  headers: unknown;
@@ -743,106 +504,38 @@ declare const app: Elysia<"", {
743
504
  chainId: number;
744
505
  icon: string;
745
506
  isNative: boolean;
746
- isPoint: boolean;
747
- isPreTGE: boolean;
748
- isTest: boolean;
749
- verified: boolean;
750
- };
751
- campaignId: string;
752
- value: number;
753
- amount: string | bigint;
754
- }[];
755
- } | undefined;
756
- name: string;
757
- apr: number;
758
- tokens: {
759
- price?: number | null | undefined;
760
- symbol: string;
761
- name: string | null;
762
- decimals: number;
763
- address: string;
764
- id: string;
765
- chainId: number;
766
- icon: string;
767
- isNative: boolean;
768
- isPoint: boolean;
769
- isPreTGE: boolean;
770
- isTest: boolean;
771
- verified: boolean;
772
- }[];
773
- tvl: number;
774
- description: string;
775
- id: string;
776
- status: string;
777
- chainId: number;
778
- campaigns: {
779
- description?: string | undefined;
780
- creator?: {
781
- tags?: string[] | undefined;
782
- creatorId?: string | null | undefined;
783
- address: string;
784
- } | undefined;
785
- distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
786
- rootCampaignId?: string | undefined;
787
- parentCampaignId?: string | undefined;
788
- campaignStatus?: {
789
- error?: string | undefined;
790
- details?: any;
791
- campaignId: string;
792
- status: string;
793
- computedUntil: string | number;
794
- processingStarted: string | number;
795
- } | undefined;
796
- distributionChain?: {
797
- explorers?: {
798
- chainId: number;
799
- type: "ETHERSCAN" | "BLOCKSCOUT";
800
- url: string;
801
- }[] | undefined;
802
- name: string;
803
- id: number;
804
- icon: string;
805
- } | undefined;
806
- rewardToken: {
807
- price?: number | null | undefined;
808
- symbol: string;
809
- name: string | null;
810
- decimals: number;
811
- address: string;
812
- id: string;
813
- chainId: number;
814
- icon: string;
815
- isNative: boolean;
816
- isPoint: boolean;
817
- isPreTGE: boolean;
818
- isTest: boolean;
819
- verified: boolean;
820
- };
821
- campaignId: string;
822
- id: string;
823
- params: any;
824
- amount: string;
825
- startTimestamp: string | number;
826
- type: string;
827
- computeChainId: number;
828
- distributionChainId: number;
829
- endTimestamp: string | number;
830
- opportunityId: string;
831
- creatorAddress: string;
832
- subType: number | null;
833
- rewardTokenId: string;
834
- createdAt: string;
835
- chain: {
836
- explorers?: {
837
- chainId: number;
838
- type: "ETHERSCAN" | "BLOCKSCOUT";
839
- url: string;
840
- }[] | undefined;
841
- name: string;
842
- id: number;
843
- icon: string;
844
- };
507
+ isPoint: boolean;
508
+ isPreTGE: boolean;
509
+ isTest: boolean;
510
+ verified: boolean;
511
+ };
512
+ campaignId: string;
513
+ value: number;
514
+ amount: string | bigint;
515
+ }[];
516
+ } | undefined;
517
+ name: string;
518
+ apr: number;
519
+ tokens: {
520
+ price?: number | null | undefined;
521
+ symbol: string;
522
+ name: string | null;
523
+ decimals: number;
524
+ address: string;
525
+ id: string;
526
+ chainId: number;
527
+ icon: string;
528
+ isNative: boolean;
529
+ isPoint: boolean;
530
+ isPreTGE: boolean;
531
+ isTest: boolean;
532
+ verified: boolean;
845
533
  }[];
534
+ tvl: number;
535
+ description: string;
536
+ id: string;
537
+ status: string;
538
+ chainId: number;
846
539
  action: string;
847
540
  type: string;
848
541
  howToSteps: string[];
@@ -860,7 +553,7 @@ declare const app: Elysia<"", {
860
553
  id: number;
861
554
  icon: string;
862
555
  };
863
- }[];
556
+ };
864
557
  readonly 500: {
865
558
  info: string;
866
559
  code: string;
@@ -1067,14 +760,321 @@ declare const app: Elysia<"", {
1067
760
  icon: string;
1068
761
  };
1069
762
  };
1070
- readonly 500: {
1071
- info: string;
1072
- code: string;
1073
- httpCode: number;
763
+ readonly 500: {
764
+ info: string;
765
+ code: string;
766
+ httpCode: number;
767
+ };
768
+ readonly 404: {
769
+ name: string;
770
+ message: string;
771
+ };
772
+ 422: {
773
+ type: "validation";
774
+ on: string;
775
+ summary?: string;
776
+ message?: string;
777
+ found?: unknown;
778
+ property?: string;
779
+ expected?: string;
780
+ };
781
+ };
782
+ };
783
+ };
784
+ };
785
+ };
786
+ } & {
787
+ opportunities: {
788
+ get: {
789
+ body: unknown;
790
+ params: {};
791
+ query: {
792
+ sort?: string | undefined;
793
+ name?: string | undefined;
794
+ tokens?: string | undefined;
795
+ campaignId?: string | undefined;
796
+ status?: string | undefined;
797
+ chainId?: string | undefined;
798
+ campaigns?: boolean | undefined;
799
+ point?: boolean | undefined;
800
+ order?: string | undefined;
801
+ action?: string | undefined;
802
+ type?: string | undefined;
803
+ search?: string | undefined;
804
+ creatorAddress?: string | undefined;
805
+ mainProtocolId?: string | undefined;
806
+ identifier?: string | undefined;
807
+ tags?: string | undefined;
808
+ test?: boolean | undefined;
809
+ excludeSubCampaigns?: boolean | undefined;
810
+ minimumTvl?: number | undefined;
811
+ maximumTvl?: number | undefined;
812
+ minimumApr?: number | undefined;
813
+ maximumApr?: number | undefined;
814
+ rewardTokenSymbol?: string | undefined;
815
+ items: number;
816
+ page: number;
817
+ };
818
+ headers: unknown;
819
+ response: {
820
+ 200: ({
821
+ protocol?: {
822
+ dailyRewards?: number | undefined;
823
+ numberOfLiveCampaigns?: number | undefined;
824
+ opportunityLiveTags?: string[] | undefined;
825
+ name: string;
826
+ description: string;
827
+ id: string;
828
+ url: string;
829
+ icon: string;
830
+ tags: string[];
831
+ } | null | undefined;
832
+ depositUrl?: string | undefined;
833
+ explorerAddress?: string | undefined;
834
+ distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
835
+ aprRecord?: {
836
+ timestamp: string | bigint;
837
+ cumulated: number;
838
+ breakdowns: {
839
+ distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
840
+ value: number;
841
+ type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
842
+ identifier: string;
843
+ }[];
844
+ } | undefined;
845
+ tvlRecord?: {
846
+ timestamp: string | bigint;
847
+ total: number;
848
+ breakdowns: {
849
+ value: number;
850
+ type: "TOKEN" | "PROTOCOL";
851
+ identifier: string;
852
+ }[];
853
+ } | undefined;
854
+ rewardsRecord?: {
855
+ timestamp: string | bigint;
856
+ total: number;
857
+ breakdowns: {
858
+ distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
859
+ token: {
860
+ price?: number | null | undefined;
861
+ symbol: string;
862
+ name: string | null;
863
+ decimals: number;
864
+ address: string;
865
+ id: string;
866
+ chainId: number;
867
+ icon: string;
868
+ isNative: boolean;
869
+ isPoint: boolean;
870
+ isPreTGE: boolean;
871
+ isTest: boolean;
872
+ verified: boolean;
873
+ };
874
+ campaignId: string;
875
+ value: number;
876
+ amount: string | bigint;
877
+ }[];
878
+ } | undefined;
879
+ name: string;
880
+ apr: number;
881
+ tokens: {
882
+ price?: number | null | undefined;
883
+ symbol: string;
884
+ name: string | null;
885
+ decimals: number;
886
+ address: string;
887
+ id: string;
888
+ chainId: number;
889
+ icon: string;
890
+ isNative: boolean;
891
+ isPoint: boolean;
892
+ isPreTGE: boolean;
893
+ isTest: boolean;
894
+ verified: boolean;
895
+ }[];
896
+ tvl: number;
897
+ description: string;
898
+ id: string;
899
+ status: string;
900
+ chainId: number;
901
+ action: string;
902
+ type: string;
903
+ howToSteps: string[];
904
+ identifier: string;
905
+ dailyRewards: number;
906
+ tags: string[];
907
+ lastCampaignCreatedAt: string;
908
+ chain: {
909
+ explorers?: {
910
+ chainId: number;
911
+ type: "ETHERSCAN" | "BLOCKSCOUT";
912
+ url: string;
913
+ }[] | undefined;
914
+ name: string;
915
+ id: number;
916
+ icon: string;
917
+ };
918
+ } | null)[];
919
+ 422: {
920
+ type: "validation";
921
+ on: string;
922
+ summary?: string;
923
+ message?: string;
924
+ found?: unknown;
925
+ property?: string;
926
+ expected?: string;
927
+ };
928
+ };
929
+ };
930
+ };
931
+ } & {
932
+ opportunities: {
933
+ count: {
934
+ get: {
935
+ body: unknown;
936
+ params: {};
937
+ query: {
938
+ sort?: string | undefined;
939
+ name?: string | undefined;
940
+ tokens?: string | undefined;
941
+ campaignId?: string | undefined;
942
+ status?: string | undefined;
943
+ chainId?: string | undefined;
944
+ campaigns?: boolean | undefined;
945
+ point?: boolean | undefined;
946
+ order?: string | undefined;
947
+ action?: string | undefined;
948
+ type?: string | undefined;
949
+ search?: string | undefined;
950
+ creatorAddress?: string | undefined;
951
+ mainProtocolId?: string | undefined;
952
+ identifier?: string | undefined;
953
+ tags?: string | undefined;
954
+ test?: boolean | undefined;
955
+ excludeSubCampaigns?: boolean | undefined;
956
+ minimumTvl?: number | undefined;
957
+ maximumTvl?: number | undefined;
958
+ minimumApr?: number | undefined;
959
+ maximumApr?: number | undefined;
960
+ rewardTokenSymbol?: string | undefined;
961
+ items: number;
962
+ page: number;
963
+ };
964
+ headers: unknown;
965
+ response: {
966
+ 200: number;
967
+ 422: {
968
+ type: "validation";
969
+ on: string;
970
+ summary?: string;
971
+ message?: string;
972
+ found?: unknown;
973
+ property?: string;
974
+ expected?: string;
975
+ };
976
+ };
977
+ };
978
+ };
979
+ };
980
+ } & {
981
+ opportunities: {
982
+ bins: {
983
+ apr: {
984
+ get: {
985
+ body: unknown;
986
+ params: {};
987
+ query: {
988
+ sort?: string | undefined;
989
+ name?: string | undefined;
990
+ tokens?: string | undefined;
991
+ campaignId?: string | undefined;
992
+ status?: string | undefined;
993
+ chainId?: string | undefined;
994
+ campaigns?: boolean | undefined;
995
+ point?: boolean | undefined;
996
+ order?: string | undefined;
997
+ action?: string | undefined;
998
+ type?: string | undefined;
999
+ search?: string | undefined;
1000
+ creatorAddress?: string | undefined;
1001
+ mainProtocolId?: string | undefined;
1002
+ identifier?: string | undefined;
1003
+ tags?: string | undefined;
1004
+ test?: boolean | undefined;
1005
+ excludeSubCampaigns?: boolean | undefined;
1006
+ minimumTvl?: number | undefined;
1007
+ maximumTvl?: number | undefined;
1008
+ minimumApr?: number | undefined;
1009
+ maximumApr?: number | undefined;
1010
+ rewardTokenSymbol?: string | undefined;
1011
+ items: number;
1012
+ page: number;
1013
+ };
1014
+ headers: unknown;
1015
+ response: {
1016
+ 200: {
1017
+ min: number;
1018
+ max: number;
1019
+ overThreshold: number;
1020
+ binWidth: number;
1021
+ bins: any[];
1022
+ };
1023
+ 422: {
1024
+ type: "validation";
1025
+ on: string;
1026
+ summary?: string;
1027
+ message?: string;
1028
+ found?: unknown;
1029
+ property?: string;
1030
+ expected?: string;
1074
1031
  };
1075
- readonly 404: {
1076
- name: string;
1077
- message: string;
1032
+ };
1033
+ };
1034
+ };
1035
+ };
1036
+ };
1037
+ } & {
1038
+ opportunities: {
1039
+ bins: {
1040
+ tvl: {
1041
+ get: {
1042
+ body: unknown;
1043
+ params: {};
1044
+ query: {
1045
+ sort?: string | undefined;
1046
+ name?: string | undefined;
1047
+ tokens?: string | undefined;
1048
+ campaignId?: string | undefined;
1049
+ status?: string | undefined;
1050
+ chainId?: string | undefined;
1051
+ campaigns?: boolean | undefined;
1052
+ point?: boolean | undefined;
1053
+ order?: string | undefined;
1054
+ action?: string | undefined;
1055
+ type?: string | undefined;
1056
+ search?: string | undefined;
1057
+ creatorAddress?: string | undefined;
1058
+ mainProtocolId?: string | undefined;
1059
+ identifier?: string | undefined;
1060
+ tags?: string | undefined;
1061
+ test?: boolean | undefined;
1062
+ excludeSubCampaigns?: boolean | undefined;
1063
+ minimumTvl?: number | undefined;
1064
+ maximumTvl?: number | undefined;
1065
+ minimumApr?: number | undefined;
1066
+ maximumApr?: number | undefined;
1067
+ rewardTokenSymbol?: string | undefined;
1068
+ items: number;
1069
+ page: number;
1070
+ };
1071
+ headers: unknown;
1072
+ response: {
1073
+ 200: {
1074
+ min: number;
1075
+ max: number;
1076
+ binWidth: number;
1077
+ bins: any[];
1078
1078
  };
1079
1079
  422: {
1080
1080
  type: "validation";
@@ -1107,7 +1107,6 @@ declare const app: Elysia<"", {
1107
1107
  status?: string | undefined;
1108
1108
  chainId?: string | undefined;
1109
1109
  campaigns?: boolean | undefined;
1110
- items?: number | undefined;
1111
1110
  point?: boolean | undefined;
1112
1111
  order?: string | undefined;
1113
1112
  action?: string | undefined;
@@ -1117,7 +1116,6 @@ declare const app: Elysia<"", {
1117
1116
  mainProtocolId?: string | undefined;
1118
1117
  identifier?: string | undefined;
1119
1118
  tags?: string | undefined;
1120
- page?: number | undefined;
1121
1119
  test?: boolean | undefined;
1122
1120
  excludeSubCampaigns?: boolean | undefined;
1123
1121
  minimumTvl?: number | undefined;
@@ -1125,6 +1123,8 @@ declare const app: Elysia<"", {
1125
1123
  minimumApr?: number | undefined;
1126
1124
  maximumApr?: number | undefined;
1127
1125
  rewardTokenSymbol?: string | undefined;
1126
+ items: number;
1127
+ page: number;
1128
1128
  };
1129
1129
  headers: unknown;
1130
1130
  response: {
@@ -1163,7 +1163,6 @@ declare const app: Elysia<"", {
1163
1163
  status?: string | undefined;
1164
1164
  chainId?: string | undefined;
1165
1165
  campaigns?: boolean | undefined;
1166
- items?: number | undefined;
1167
1166
  point?: boolean | undefined;
1168
1167
  order?: string | undefined;
1169
1168
  action?: string | undefined;
@@ -1173,7 +1172,6 @@ declare const app: Elysia<"", {
1173
1172
  mainProtocolId?: string | undefined;
1174
1173
  identifier?: string | undefined;
1175
1174
  tags?: string | undefined;
1176
- page?: number | undefined;
1177
1175
  test?: boolean | undefined;
1178
1176
  excludeSubCampaigns?: boolean | undefined;
1179
1177
  minimumTvl?: number | undefined;
@@ -1181,6 +1179,8 @@ declare const app: Elysia<"", {
1181
1179
  minimumApr?: number | undefined;
1182
1180
  maximumApr?: number | undefined;
1183
1181
  rewardTokenSymbol?: string | undefined;
1182
+ items: number;
1183
+ page: number;
1184
1184
  };
1185
1185
  headers: unknown;
1186
1186
  response: {
@@ -1220,7 +1220,6 @@ declare const app: Elysia<"", {
1220
1220
  status?: string | undefined;
1221
1221
  chainId?: string | undefined;
1222
1222
  campaigns?: boolean | undefined;
1223
- items?: number | undefined;
1224
1223
  point?: boolean | undefined;
1225
1224
  order?: string | undefined;
1226
1225
  action?: string | undefined;
@@ -1230,7 +1229,6 @@ declare const app: Elysia<"", {
1230
1229
  mainProtocolId?: string | undefined;
1231
1230
  identifier?: string | undefined;
1232
1231
  tags?: string | undefined;
1233
- page?: number | undefined;
1234
1232
  test?: boolean | undefined;
1235
1233
  excludeSubCampaigns?: boolean | undefined;
1236
1234
  minimumTvl?: number | undefined;
@@ -1238,6 +1236,8 @@ declare const app: Elysia<"", {
1238
1236
  minimumApr?: number | undefined;
1239
1237
  maximumApr?: number | undefined;
1240
1238
  rewardTokenSymbol?: string | undefined;
1239
+ items: number;
1240
+ page: number;
1241
1241
  };
1242
1242
  headers: unknown;
1243
1243
  response: {
@@ -1718,190 +1718,62 @@ declare const app: Elysia<"", {
1718
1718
  isPoint: boolean;
1719
1719
  isPreTGE: boolean;
1720
1720
  isTest: boolean;
1721
- verified: boolean;
1722
- } & {
1723
- price?: number | null | undefined;
1724
- isTokenWrapper?: boolean | undefined;
1725
- tokenWrapperAddress?: string | undefined;
1726
- })[];
1727
- mainProtocol: "splice" | "curve" | "morpho" | "compound" | "silo" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
1728
- description: string;
1729
- howToSteps: string[];
1730
- depositUrl: string | undefined;
1731
- explorerAddress: string | undefined;
1732
- tags: string[];
1733
- } | {
1734
- Tokens: {
1735
- symbol: string;
1736
- name: string | null;
1737
- decimals: number;
1738
- price: number | null;
1739
- address: string;
1740
- id: string;
1741
- chainId: number;
1742
- icon: string;
1743
- isNative: boolean;
1744
- isPoint: boolean;
1745
- isPreTGE: boolean;
1746
- isTest: boolean;
1747
- verified: boolean;
1748
- displaySymbol: string;
1749
- }[];
1750
- Protocols: {
1751
- name: string;
1752
- description: string;
1753
- id: string;
1754
- url: string;
1755
- icon: string;
1756
- tags: string[];
1757
- }[];
1758
- name: string;
1759
- apr: number;
1760
- tvl: number;
1761
- description: string;
1762
- id: string;
1763
- status: import("@package/databases").Status;
1764
- chainId: number;
1765
- action: import("@package/databases").OpportunityAction;
1766
- type: string;
1767
- depositUrl: string | null;
1768
- explorerAddress: string | null;
1769
- howToSteps: string[];
1770
- mainProtocolId: string | null;
1771
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
1772
- identifier: string;
1773
- dailyRewards: number;
1774
- tags: string[];
1775
- lastCampaignCreatedAt: Date;
1776
- } | undefined;
1777
- 422: {
1778
- type: "validation";
1779
- on: string;
1780
- summary?: string;
1781
- message?: string;
1782
- found?: unknown;
1783
- property?: string;
1784
- expected?: string;
1785
- };
1786
- };
1787
- };
1788
- };
1789
- } & {
1790
- opportunity: {
1791
- patch: {
1792
- body: {
1793
- opportunityIdentifier?: string | undefined;
1794
- campaignId: string;
1795
- distributionChain: number;
1796
- };
1797
- params: {};
1798
- query: unknown;
1799
- headers: {
1800
- authorization: string;
1801
- };
1802
- response: {
1803
- 200: string;
1804
- 422: {
1805
- type: "validation";
1806
- on: string;
1807
- summary?: string;
1808
- message?: string;
1809
- found?: unknown;
1810
- property?: string;
1811
- expected?: string;
1812
- };
1813
- };
1814
- };
1815
- };
1816
- } & {
1817
- creator: {
1818
- patch: {
1819
- body: {
1820
- campaignId: string;
1821
- creatorAddress: string;
1822
- distributionChain: number;
1823
- };
1824
- params: {};
1825
- query: unknown;
1826
- headers: {
1827
- authorization: string;
1828
- };
1829
- response: {
1830
- 200: void;
1831
- 422: {
1832
- type: "validation";
1833
- on: string;
1834
- summary?: string;
1835
- message?: string;
1836
- found?: unknown;
1837
- property?: string;
1838
- expected?: string;
1839
- };
1840
- };
1841
- };
1842
- };
1843
- } & {
1844
- "remove-override": {
1845
- patch: {
1846
- body: {
1847
- campaignId: string;
1848
- distributionChain: number;
1849
- field: "opportunityId" | "creatorAddress";
1850
- };
1851
- params: {};
1852
- query: unknown;
1853
- headers: {
1854
- authorization: string;
1855
- };
1856
- response: {
1857
- 200: void;
1858
- 422: {
1859
- type: "validation";
1860
- on: string;
1861
- summary?: string;
1862
- message?: string;
1863
- found?: unknown;
1864
- property?: string;
1865
- expected?: string;
1866
- };
1867
- };
1868
- };
1869
- };
1870
- } & {
1871
- metadata: {
1872
- patch: {
1873
- body: {
1874
- campaignId: string;
1875
- url: string;
1876
- distributionChain: number;
1877
- };
1878
- params: {};
1879
- query: unknown;
1880
- headers: {
1881
- authorization: string;
1882
- };
1883
- response: {
1884
- 200: {
1885
- campaignId: string;
1886
- description: string | null;
1721
+ verified: boolean;
1722
+ } & {
1723
+ price?: number | null | undefined;
1724
+ isTokenWrapper?: boolean | undefined;
1725
+ tokenWrapperAddress?: string | undefined;
1726
+ })[];
1727
+ mainProtocol: "splice" | "curve" | "morpho" | "compound" | "silo" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
1728
+ description: string;
1729
+ howToSteps: string[];
1730
+ depositUrl: string | undefined;
1731
+ explorerAddress: string | undefined;
1732
+ tags: string[];
1733
+ } | {
1734
+ Tokens: {
1735
+ symbol: string;
1736
+ name: string | null;
1737
+ decimals: number;
1738
+ price: number | null;
1739
+ address: string;
1740
+ id: string;
1741
+ chainId: number;
1742
+ icon: string;
1743
+ isNative: boolean;
1744
+ isPoint: boolean;
1745
+ isPreTGE: boolean;
1746
+ isTest: boolean;
1747
+ verified: boolean;
1748
+ displaySymbol: string;
1749
+ }[];
1750
+ Protocols: {
1751
+ name: string;
1752
+ description: string;
1753
+ id: string;
1754
+ url: string;
1755
+ icon: string;
1756
+ tags: string[];
1757
+ }[];
1758
+ name: string;
1759
+ apr: number;
1760
+ tvl: number;
1761
+ description: string;
1887
1762
  id: string;
1888
- params: import("@prisma/client/runtime/library").JsonValue;
1889
- amount: string;
1890
- startTimestamp: bigint;
1763
+ status: import("@package/databases").Status;
1764
+ chainId: number;
1765
+ action: import("@package/databases").OpportunityAction;
1891
1766
  type: string;
1892
- computeChainId: number;
1893
- distributionChainId: number;
1894
- endTimestamp: bigint;
1895
- opportunityId: string;
1896
- creatorAddress: string;
1897
- distributionType: import("@package/databases").DistributionType;
1898
- subType: number | null;
1899
- rewardTokenId: string;
1900
- manualOverrides: import("@package/databases").CampaignManualOverride[];
1901
- createdAt: Date;
1902
- rootCampaignId: string | null;
1903
- parentCampaignId: string | null;
1904
- };
1767
+ depositUrl: string | null;
1768
+ explorerAddress: string | null;
1769
+ howToSteps: string[];
1770
+ mainProtocolId: string | null;
1771
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
1772
+ identifier: string;
1773
+ dailyRewards: number;
1774
+ tags: string[];
1775
+ lastCampaignCreatedAt: Date;
1776
+ } | undefined;
1905
1777
  422: {
1906
1778
  type: "validation";
1907
1779
  on: string;
@@ -1914,148 +1786,9 @@ declare const app: Elysia<"", {
1914
1786
  };
1915
1787
  };
1916
1788
  };
1917
- } & {
1918
- tvls: {
1919
- ":opportunityId": {
1920
- put: {
1921
- body: unknown;
1922
- params: {
1923
- opportunityId: string;
1924
- };
1925
- query: unknown;
1926
- headers: {
1927
- authorization: string;
1928
- };
1929
- response: {
1930
- 200: unknown[];
1931
- 422: {
1932
- type: "validation";
1933
- on: string;
1934
- summary?: string;
1935
- message?: string;
1936
- found?: unknown;
1937
- property?: string;
1938
- expected?: string;
1939
- };
1940
- };
1941
- };
1942
- };
1943
- };
1944
- } & {
1945
- get: {
1946
- body: unknown;
1947
- params: {};
1948
- query: {
1949
- campaignId?: string | undefined;
1950
- id?: string | undefined;
1951
- tokenAddress?: string | undefined;
1952
- status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
1953
- chainId?: number | undefined;
1954
- startTimestamp?: string | undefined;
1955
- items?: number | undefined;
1956
- point?: boolean | undefined;
1957
- tokenSymbol?: string | undefined;
1958
- type?: string | undefined;
1959
- endTimestamp?: string | undefined;
1960
- opportunityId?: string | undefined;
1961
- creatorAddress?: string | undefined;
1962
- mainProtocolId?: string | undefined;
1963
- subType?: number | undefined;
1964
- rootCampaignId?: string | undefined;
1965
- parentCampaignId?: string | undefined;
1966
- creatorId?: string | undefined;
1967
- mainParameter?: string | undefined;
1968
- page?: number | undefined;
1969
- test?: boolean | undefined;
1970
- creatorTag?: string | undefined;
1971
- distributionChainIds?: number[] | undefined;
1972
- types?: string[] | undefined;
1973
- withOpportunity?: boolean | undefined;
1974
- createdAfter?: Date | null | undefined;
1975
- excludeSubCampaigns?: boolean | undefined;
1976
- };
1977
- headers: unknown;
1978
- response: {
1979
- 200: {
1980
- description?: string | undefined;
1981
- creator?: {
1982
- tags?: string[] | undefined;
1983
- creatorId?: string | null | undefined;
1984
- address: string;
1985
- } | undefined;
1986
- distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
1987
- rootCampaignId?: string | undefined;
1988
- parentCampaignId?: string | undefined;
1989
- campaignStatus?: {
1990
- error?: string | undefined;
1991
- details?: any;
1992
- campaignId: string;
1993
- status: string;
1994
- computedUntil: string | number;
1995
- processingStarted: string | number;
1996
- } | undefined;
1997
- distributionChain?: {
1998
- explorers?: {
1999
- chainId: number;
2000
- type: "ETHERSCAN" | "BLOCKSCOUT";
2001
- url: string;
2002
- }[] | undefined;
2003
- name: string;
2004
- id: number;
2005
- icon: string;
2006
- } | undefined;
2007
- rewardToken: {
2008
- price?: number | null | undefined;
2009
- symbol: string;
2010
- name: string | null;
2011
- decimals: number;
2012
- address: string;
2013
- id: string;
2014
- chainId: number;
2015
- icon: string;
2016
- isNative: boolean;
2017
- isPoint: boolean;
2018
- isPreTGE: boolean;
2019
- isTest: boolean;
2020
- verified: boolean;
2021
- };
2022
- campaignId: string;
2023
- id: string;
2024
- params: any;
2025
- amount: string;
2026
- startTimestamp: string | number;
2027
- type: string;
2028
- computeChainId: number;
2029
- distributionChainId: number;
2030
- endTimestamp: string | number;
2031
- opportunityId: string;
2032
- creatorAddress: string;
2033
- subType: number | null;
2034
- rewardTokenId: string;
2035
- createdAt: string;
2036
- chain: {
2037
- explorers?: {
2038
- chainId: number;
2039
- type: "ETHERSCAN" | "BLOCKSCOUT";
2040
- url: string;
2041
- }[] | undefined;
2042
- name: string;
2043
- id: number;
2044
- icon: string;
2045
- };
2046
- }[];
2047
- 422: {
2048
- type: "validation";
2049
- on: string;
2050
- summary?: string;
2051
- message?: string;
2052
- found?: unknown;
2053
- property?: string;
2054
- expected?: string;
2055
- };
2056
- };
2057
- };
2058
- } & {
1789
+ };
1790
+ } & {
1791
+ campaigns: {
2059
1792
  ":id": {
2060
1793
  get: {
2061
1794
  body: unknown;
@@ -2145,7 +1878,9 @@ declare const app: Elysia<"", {
2145
1878
  };
2146
1879
  };
2147
1880
  };
2148
- } & {
1881
+ };
1882
+ } & {
1883
+ campaigns: {
2149
1884
  ":id": {
2150
1885
  metrics: {
2151
1886
  get: {
@@ -2188,7 +1923,40 @@ declare const app: Elysia<"", {
2188
1923
  };
2189
1924
  };
2190
1925
  };
2191
- } & {
1926
+ };
1927
+ } & {
1928
+ campaigns: {
1929
+ "campaigns-to-process": {
1930
+ engine: {
1931
+ post: {
1932
+ body: unknown;
1933
+ params: {};
1934
+ query: {
1935
+ chainId: number;
1936
+ };
1937
+ headers: {
1938
+ authorization: string;
1939
+ };
1940
+ response: {
1941
+ 200: {
1942
+ campaignId: string;
1943
+ };
1944
+ 422: {
1945
+ type: "validation";
1946
+ on: string;
1947
+ summary?: string;
1948
+ message?: string;
1949
+ found?: unknown;
1950
+ property?: string;
1951
+ expected?: string;
1952
+ };
1953
+ };
1954
+ };
1955
+ };
1956
+ };
1957
+ };
1958
+ } & {
1959
+ campaigns: {
2192
1960
  "campaigns-to-process": {
2193
1961
  get: {
2194
1962
  body: unknown;
@@ -2219,7 +1987,9 @@ declare const app: Elysia<"", {
2219
1987
  };
2220
1988
  };
2221
1989
  };
2222
- } & {
1990
+ };
1991
+ } & {
1992
+ campaigns: {
2223
1993
  "campaigns-to-process": {
2224
1994
  count: {
2225
1995
  get: {
@@ -2244,7 +2014,9 @@ declare const app: Elysia<"", {
2244
2014
  };
2245
2015
  };
2246
2016
  };
2247
- } & {
2017
+ };
2018
+ } & {
2019
+ campaigns: {
2248
2020
  "campaigns-to-process": {
2249
2021
  next: {
2250
2022
  get: {
@@ -2271,35 +2043,6 @@ declare const app: Elysia<"", {
2271
2043
  };
2272
2044
  };
2273
2045
  };
2274
- } & {
2275
- "campaigns-to-process": {
2276
- engine: {
2277
- post: {
2278
- body: unknown;
2279
- params: {};
2280
- query: {
2281
- chainId: number;
2282
- };
2283
- headers: {
2284
- authorization: string;
2285
- };
2286
- response: {
2287
- 200: {
2288
- campaignId: string;
2289
- };
2290
- 422: {
2291
- type: "validation";
2292
- on: string;
2293
- summary?: string;
2294
- message?: string;
2295
- found?: unknown;
2296
- property?: string;
2297
- expected?: string;
2298
- };
2299
- };
2300
- };
2301
- };
2302
- };
2303
2046
  };
2304
2047
  } & {
2305
2048
  campaigns: {
@@ -2339,7 +2082,6 @@ declare const app: Elysia<"", {
2339
2082
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
2340
2083
  chainId?: number | undefined;
2341
2084
  startTimestamp?: string | undefined;
2342
- items?: number | undefined;
2343
2085
  point?: boolean | undefined;
2344
2086
  tokenSymbol?: string | undefined;
2345
2087
  type?: string | undefined;
@@ -2352,7 +2094,6 @@ declare const app: Elysia<"", {
2352
2094
  parentCampaignId?: string | undefined;
2353
2095
  creatorId?: string | undefined;
2354
2096
  mainParameter?: string | undefined;
2355
- page?: number | undefined;
2356
2097
  test?: boolean | undefined;
2357
2098
  creatorTag?: string | undefined;
2358
2099
  distributionChainIds?: number[] | undefined;
@@ -2360,6 +2101,8 @@ declare const app: Elysia<"", {
2360
2101
  withOpportunity?: boolean | undefined;
2361
2102
  createdAfter?: Date | null | undefined;
2362
2103
  excludeSubCampaigns?: boolean | undefined;
2104
+ items: number;
2105
+ page: number;
2363
2106
  };
2364
2107
  headers: unknown;
2365
2108
  response: {
@@ -2456,7 +2199,6 @@ declare const app: Elysia<"", {
2456
2199
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
2457
2200
  chainId?: number | undefined;
2458
2201
  startTimestamp?: string | undefined;
2459
- items?: number | undefined;
2460
2202
  point?: boolean | undefined;
2461
2203
  tokenSymbol?: string | undefined;
2462
2204
  type?: string | undefined;
@@ -2469,7 +2211,6 @@ declare const app: Elysia<"", {
2469
2211
  parentCampaignId?: string | undefined;
2470
2212
  creatorId?: string | undefined;
2471
2213
  mainParameter?: string | undefined;
2472
- page?: number | undefined;
2473
2214
  test?: boolean | undefined;
2474
2215
  creatorTag?: string | undefined;
2475
2216
  distributionChainIds?: number[] | undefined;
@@ -2477,6 +2218,8 @@ declare const app: Elysia<"", {
2477
2218
  withOpportunity?: boolean | undefined;
2478
2219
  createdAfter?: Date | null | undefined;
2479
2220
  excludeSubCampaigns?: boolean | undefined;
2221
+ items: number;
2222
+ page: number;
2480
2223
  };
2481
2224
  headers: unknown;
2482
2225
  response: {
@@ -2500,7 +2243,35 @@ declare const app: Elysia<"", {
2500
2243
  get: {
2501
2244
  body: unknown;
2502
2245
  params: {};
2503
- query: unknown;
2246
+ query: {
2247
+ campaignId?: string | undefined;
2248
+ id?: string | undefined;
2249
+ tokenAddress?: string | undefined;
2250
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
2251
+ chainId?: number | undefined;
2252
+ startTimestamp?: string | undefined;
2253
+ point?: boolean | undefined;
2254
+ tokenSymbol?: string | undefined;
2255
+ type?: string | undefined;
2256
+ endTimestamp?: string | undefined;
2257
+ opportunityId?: string | undefined;
2258
+ creatorAddress?: string | undefined;
2259
+ mainProtocolId?: string | undefined;
2260
+ subType?: number | undefined;
2261
+ rootCampaignId?: string | undefined;
2262
+ parentCampaignId?: string | undefined;
2263
+ creatorId?: string | undefined;
2264
+ mainParameter?: string | undefined;
2265
+ test?: boolean | undefined;
2266
+ creatorTag?: string | undefined;
2267
+ distributionChainIds?: number[] | undefined;
2268
+ types?: string[] | undefined;
2269
+ withOpportunity?: boolean | undefined;
2270
+ createdAfter?: Date | null | undefined;
2271
+ excludeSubCampaigns?: boolean | undefined;
2272
+ items: number;
2273
+ page: number;
2274
+ };
2504
2275
  headers: {
2505
2276
  authorization: string;
2506
2277
  };
@@ -2528,7 +2299,35 @@ declare const app: Elysia<"", {
2528
2299
  get: {
2529
2300
  body: unknown;
2530
2301
  params: {};
2531
- query: unknown;
2302
+ query: {
2303
+ campaignId?: string | undefined;
2304
+ id?: string | undefined;
2305
+ tokenAddress?: string | undefined;
2306
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
2307
+ chainId?: number | undefined;
2308
+ startTimestamp?: string | undefined;
2309
+ point?: boolean | undefined;
2310
+ tokenSymbol?: string | undefined;
2311
+ type?: string | undefined;
2312
+ endTimestamp?: string | undefined;
2313
+ opportunityId?: string | undefined;
2314
+ creatorAddress?: string | undefined;
2315
+ mainProtocolId?: string | undefined;
2316
+ subType?: number | undefined;
2317
+ rootCampaignId?: string | undefined;
2318
+ parentCampaignId?: string | undefined;
2319
+ creatorId?: string | undefined;
2320
+ mainParameter?: string | undefined;
2321
+ test?: boolean | undefined;
2322
+ creatorTag?: string | undefined;
2323
+ distributionChainIds?: number[] | undefined;
2324
+ types?: string[] | undefined;
2325
+ withOpportunity?: boolean | undefined;
2326
+ createdAfter?: Date | null | undefined;
2327
+ excludeSubCampaigns?: boolean | undefined;
2328
+ items: number;
2329
+ page: number;
2330
+ };
2532
2331
  headers: {
2533
2332
  authorization: string;
2534
2333
  };
@@ -2557,7 +2356,35 @@ declare const app: Elysia<"", {
2557
2356
  get: {
2558
2357
  body: unknown;
2559
2358
  params: {};
2560
- query: unknown;
2359
+ query: {
2360
+ campaignId?: string | undefined;
2361
+ id?: string | undefined;
2362
+ tokenAddress?: string | undefined;
2363
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
2364
+ chainId?: number | undefined;
2365
+ startTimestamp?: string | undefined;
2366
+ point?: boolean | undefined;
2367
+ tokenSymbol?: string | undefined;
2368
+ type?: string | undefined;
2369
+ endTimestamp?: string | undefined;
2370
+ opportunityId?: string | undefined;
2371
+ creatorAddress?: string | undefined;
2372
+ mainProtocolId?: string | undefined;
2373
+ subType?: number | undefined;
2374
+ rootCampaignId?: string | undefined;
2375
+ parentCampaignId?: string | undefined;
2376
+ creatorId?: string | undefined;
2377
+ mainParameter?: string | undefined;
2378
+ test?: boolean | undefined;
2379
+ creatorTag?: string | undefined;
2380
+ distributionChainIds?: number[] | undefined;
2381
+ types?: string[] | undefined;
2382
+ withOpportunity?: boolean | undefined;
2383
+ createdAfter?: Date | null | undefined;
2384
+ excludeSubCampaigns?: boolean | undefined;
2385
+ items: number;
2386
+ page: number;
2387
+ };
2561
2388
  headers: {
2562
2389
  authorization: string;
2563
2390
  };
@@ -2579,6 +2406,171 @@ declare const app: Elysia<"", {
2579
2406
  };
2580
2407
  };
2581
2408
  };
2409
+ } & {
2410
+ campaigns: {
2411
+ opportunity: {
2412
+ patch: {
2413
+ body: {
2414
+ opportunityIdentifier?: string | undefined;
2415
+ campaignId: string;
2416
+ distributionChain: number;
2417
+ };
2418
+ params: {};
2419
+ query: unknown;
2420
+ headers: {
2421
+ authorization: string;
2422
+ };
2423
+ response: {
2424
+ 200: string;
2425
+ 422: {
2426
+ type: "validation";
2427
+ on: string;
2428
+ summary?: string;
2429
+ message?: string;
2430
+ found?: unknown;
2431
+ property?: string;
2432
+ expected?: string;
2433
+ };
2434
+ };
2435
+ };
2436
+ };
2437
+ };
2438
+ } & {
2439
+ campaigns: {
2440
+ creator: {
2441
+ patch: {
2442
+ body: {
2443
+ campaignId: string;
2444
+ creatorAddress: string;
2445
+ distributionChain: number;
2446
+ };
2447
+ params: {};
2448
+ query: unknown;
2449
+ headers: {
2450
+ authorization: string;
2451
+ };
2452
+ response: {
2453
+ 200: void;
2454
+ 422: {
2455
+ type: "validation";
2456
+ on: string;
2457
+ summary?: string;
2458
+ message?: string;
2459
+ found?: unknown;
2460
+ property?: string;
2461
+ expected?: string;
2462
+ };
2463
+ };
2464
+ };
2465
+ };
2466
+ };
2467
+ } & {
2468
+ campaigns: {
2469
+ "remove-override": {
2470
+ patch: {
2471
+ body: {
2472
+ campaignId: string;
2473
+ distributionChain: number;
2474
+ field: "opportunityId" | "creatorAddress";
2475
+ };
2476
+ params: {};
2477
+ query: unknown;
2478
+ headers: {
2479
+ authorization: string;
2480
+ };
2481
+ response: {
2482
+ 200: void;
2483
+ 422: {
2484
+ type: "validation";
2485
+ on: string;
2486
+ summary?: string;
2487
+ message?: string;
2488
+ found?: unknown;
2489
+ property?: string;
2490
+ expected?: string;
2491
+ };
2492
+ };
2493
+ };
2494
+ };
2495
+ };
2496
+ } & {
2497
+ campaigns: {
2498
+ metadata: {
2499
+ patch: {
2500
+ body: {
2501
+ campaignId: string;
2502
+ url: string;
2503
+ distributionChain: number;
2504
+ };
2505
+ params: {};
2506
+ query: unknown;
2507
+ headers: {
2508
+ authorization: string;
2509
+ };
2510
+ response: {
2511
+ 200: {
2512
+ campaignId: string;
2513
+ description: string | null;
2514
+ id: string;
2515
+ params: import("@prisma/client/runtime/library").JsonValue;
2516
+ amount: string;
2517
+ startTimestamp: bigint;
2518
+ type: string;
2519
+ computeChainId: number;
2520
+ distributionChainId: number;
2521
+ endTimestamp: bigint;
2522
+ opportunityId: string;
2523
+ creatorAddress: string;
2524
+ distributionType: import("@package/databases").DistributionType;
2525
+ subType: number | null;
2526
+ rewardTokenId: string;
2527
+ manualOverrides: import("@package/databases").CampaignManualOverride[];
2528
+ createdAt: Date;
2529
+ rootCampaignId: string | null;
2530
+ parentCampaignId: string | null;
2531
+ };
2532
+ 422: {
2533
+ type: "validation";
2534
+ on: string;
2535
+ summary?: string;
2536
+ message?: string;
2537
+ found?: unknown;
2538
+ property?: string;
2539
+ expected?: string;
2540
+ };
2541
+ };
2542
+ };
2543
+ };
2544
+ };
2545
+ } & {
2546
+ campaigns: {
2547
+ tvls: {
2548
+ ":opportunityId": {
2549
+ put: {
2550
+ body: unknown;
2551
+ params: {
2552
+ opportunityId: string;
2553
+ };
2554
+ query: unknown;
2555
+ headers: {
2556
+ authorization: string;
2557
+ };
2558
+ response: {
2559
+ 200: unknown[];
2560
+ 422: {
2561
+ type: "validation";
2562
+ on: string;
2563
+ summary?: string;
2564
+ message?: string;
2565
+ found?: unknown;
2566
+ property?: string;
2567
+ expected?: string;
2568
+ };
2569
+ };
2570
+ };
2571
+ };
2572
+ };
2573
+ };
2582
2574
  };
2583
2575
  } & {
2584
2576
  v4: {
@@ -3132,11 +3124,11 @@ declare const app: Elysia<"", {
3132
3124
  name?: string | undefined;
3133
3125
  ids?: string[] | undefined;
3134
3126
  id?: string | undefined;
3135
- items?: number | undefined;
3136
3127
  tags?: string[] | undefined;
3137
- page?: number | undefined;
3138
3128
  test?: boolean | undefined;
3139
3129
  opportunityTag?: string | undefined;
3130
+ items: number;
3131
+ page: number;
3140
3132
  };
3141
3133
  headers: unknown;
3142
3134
  response: {
@@ -3171,11 +3163,11 @@ declare const app: Elysia<"", {
3171
3163
  name?: string | undefined;
3172
3164
  ids?: string[] | undefined;
3173
3165
  id?: string | undefined;
3174
- items?: number | undefined;
3175
3166
  tags?: string[] | undefined;
3176
- page?: number | undefined;
3177
3167
  test?: boolean | undefined;
3178
3168
  opportunityTag?: string | undefined;
3169
+ items: number;
3170
+ page: number;
3179
3171
  };
3180
3172
  headers: unknown;
3181
3173
  response: {
@@ -3644,15 +3636,15 @@ declare const app: Elysia<"", {
3644
3636
  address?: string | undefined;
3645
3637
  id?: string[] | undefined;
3646
3638
  chainId?: number | undefined;
3647
- items?: number | undefined;
3648
3639
  isNative?: boolean | undefined;
3649
3640
  verified?: boolean | undefined;
3650
3641
  search?: string | undefined;
3651
3642
  displaySymbol?: string | undefined;
3652
- page?: number | undefined;
3653
3643
  test?: boolean | undefined;
3654
3644
  missingIcons?: boolean | undefined;
3655
3645
  missingPrice?: boolean | undefined;
3646
+ items: number;
3647
+ page: number;
3656
3648
  };
3657
3649
  headers: unknown;
3658
3650
  response: {
@@ -3696,15 +3688,15 @@ declare const app: Elysia<"", {
3696
3688
  address?: string | undefined;
3697
3689
  id?: string[] | undefined;
3698
3690
  chainId?: number | undefined;
3699
- items?: number | undefined;
3700
3691
  isNative?: boolean | undefined;
3701
3692
  verified?: boolean | undefined;
3702
3693
  search?: string | undefined;
3703
3694
  displaySymbol?: string | undefined;
3704
- page?: number | undefined;
3705
3695
  test?: boolean | undefined;
3706
3696
  missingIcons?: boolean | undefined;
3707
3697
  missingPrice?: boolean | undefined;
3698
+ items: number;
3699
+ page: number;
3708
3700
  };
3709
3701
  headers: unknown;
3710
3702
  response: {
@@ -3895,10 +3887,10 @@ declare const app: Elysia<"", {
3895
3887
  body: unknown;
3896
3888
  params: {};
3897
3889
  query: {
3898
- items?: number | undefined;
3899
- page?: number | undefined;
3900
3890
  campaignId: string;
3901
3891
  chainId: number;
3892
+ items: number;
3893
+ page: number;
3902
3894
  };
3903
3895
  headers: unknown;
3904
3896
  response: {
@@ -3920,10 +3912,10 @@ declare const app: Elysia<"", {
3920
3912
  body: unknown;
3921
3913
  params: {};
3922
3914
  query: {
3923
- items?: number | undefined;
3924
- page?: number | undefined;
3925
3915
  campaignId: string;
3926
3916
  chainId: number;
3917
+ items: number;
3918
+ page: number;
3927
3919
  };
3928
3920
  headers: unknown;
3929
3921
  response: {
@@ -3949,10 +3941,10 @@ declare const app: Elysia<"", {
3949
3941
  body: unknown;
3950
3942
  params: {};
3951
3943
  query: {
3952
- items?: number | undefined;
3953
- page?: number | undefined;
3954
3944
  campaignId: string;
3955
3945
  chainId: number;
3946
+ items: number;
3947
+ page: number;
3956
3948
  };
3957
3949
  headers: unknown;
3958
3950
  response: {
@@ -3982,8 +3974,8 @@ declare const app: Elysia<"", {
3982
3974
  campaignId: string;
3983
3975
  };
3984
3976
  query: {
3985
- items?: number | undefined;
3986
- page?: number | undefined;
3977
+ items: number;
3978
+ page: number;
3987
3979
  };
3988
3980
  headers: unknown;
3989
3981
  response: {
@@ -4018,8 +4010,8 @@ declare const app: Elysia<"", {
4018
4010
  campaignId: string;
4019
4011
  };
4020
4012
  query: {
4021
- items?: number | undefined;
4022
- page?: number | undefined;
4013
+ items: number;
4014
+ page: number;
4023
4015
  };
4024
4016
  headers: unknown;
4025
4017
  response: {
@@ -4053,8 +4045,8 @@ declare const app: Elysia<"", {
4053
4045
  campaignId: string;
4054
4046
  };
4055
4047
  query: {
4056
- items?: number | undefined;
4057
- page?: number | undefined;
4048
+ items: number;
4049
+ page: number;
4058
4050
  };
4059
4051
  headers: unknown;
4060
4052
  response: {
@@ -4082,11 +4074,11 @@ declare const app: Elysia<"", {
4082
4074
  params: {};
4083
4075
  query: {
4084
4076
  recipient?: string | undefined;
4085
- items?: number | undefined;
4086
- page?: number | undefined;
4087
4077
  campaignIds?: string[] | undefined;
4088
4078
  address: string;
4089
4079
  chainId: number;
4080
+ items: number;
4081
+ page: number;
4090
4082
  };
4091
4083
  headers: unknown;
4092
4084
  response: {
@@ -4116,11 +4108,11 @@ declare const app: Elysia<"", {
4116
4108
  params: {};
4117
4109
  query: {
4118
4110
  recipient?: string | undefined;
4119
- items?: number | undefined;
4120
- page?: number | undefined;
4121
4111
  campaignIds?: string[] | undefined;
4122
4112
  address: string;
4123
4113
  chainId: number;
4114
+ items: number;
4115
+ page: number;
4124
4116
  };
4125
4117
  headers: unknown;
4126
4118
  response: {
@@ -4149,11 +4141,11 @@ declare const app: Elysia<"", {
4149
4141
  params: {};
4150
4142
  query: {
4151
4143
  recipient?: string | undefined;
4152
- items?: number | undefined;
4153
- page?: number | undefined;
4154
4144
  campaignIds?: string[] | undefined;
4155
4145
  address: string;
4156
4146
  chainId: number;
4147
+ items: number;
4148
+ page: number;
4157
4149
  };
4158
4150
  headers: unknown;
4159
4151
  response: {
@@ -5053,9 +5045,9 @@ declare const app: Elysia<"", {
5053
5045
  params: {};
5054
5046
  query: {
5055
5047
  address?: string | undefined;
5056
- items?: number | undefined;
5057
5048
  tags?: string[] | undefined;
5058
- page?: number | undefined;
5049
+ items: number;
5050
+ page: number;
5059
5051
  };
5060
5052
  headers: unknown;
5061
5053
  response: {
@@ -5562,8 +5554,8 @@ declare const app: Elysia<"", {
5562
5554
  body: unknown;
5563
5555
  params: {};
5564
5556
  query: {
5565
- items?: number | undefined;
5566
- page?: number | undefined;
5557
+ items: number;
5558
+ page: number;
5567
5559
  };
5568
5560
  headers: {
5569
5561
  authorization: string;
@@ -7338,6 +7330,8 @@ declare const app: Elysia<"", {
7338
7330
  headers: unknown;
7339
7331
  response: {
7340
7332
  200: {
7333
+ apr: number | null;
7334
+ tvl: number | null;
7341
7335
  averageBoost: number | null;
7342
7336
  totalDistributedInUSD: number | null;
7343
7337
  forfeitingBoost: number | null;
@@ -7502,8 +7496,8 @@ declare const app: Elysia<"", {
7502
7496
  query: {
7503
7497
  address?: string | undefined;
7504
7498
  id?: string | undefined;
7505
- items?: number | undefined;
7506
- page?: number | undefined;
7499
+ items: number;
7500
+ page: number;
7507
7501
  };
7508
7502
  headers: unknown;
7509
7503
  response: {