@merkl/api 1.0.94 → 1.0.96

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 (26) hide show
  1. package/dist/src/eden/index.d.ts +122 -10
  2. package/dist/src/index.d.ts +61 -5
  3. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -0
  4. package/dist/src/modules/v4/campaign/campaign.model.d.ts +10 -0
  5. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +58 -45
  6. package/dist/src/modules/v4/campaign/campaign.service.d.ts +44 -0
  7. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -0
  8. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +28 -4
  9. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -0
  10. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +36 -1
  11. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +15 -0
  12. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +23 -2
  13. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1 -0
  14. package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -2
  15. package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +1 -0
  16. package/dist/src/modules/v4/reward/reward.model.d.ts +10 -0
  17. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
  18. package/dist/src/modules/v4/reward/reward.service.d.ts +13 -0
  19. package/dist/src/modules/v4/router.d.ts +61 -5
  20. package/dist/src/modules/v4/token/token.controller.d.ts +11 -1
  21. package/dist/src/modules/v4/token/token.model.d.ts +19 -2
  22. package/dist/src/modules/v4/token/token.repository.d.ts +5 -0
  23. package/dist/src/modules/v4/token/token.service.d.ts +15 -0
  24. package/dist/src/modules/v4/user/user.controller.d.ts +2 -0
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +1 -1
@@ -5,30 +5,6 @@ export declare abstract class CampaignRepository {
5
5
  #private;
6
6
  static transformQueryToPrismaFilters(query: Omit<FindCampaignModel, "page" | "items">): {
7
7
  where: {
8
- createdAt: {
9
- gte: Date;
10
- } | undefined;
11
- rootCampaignId: {
12
- equals: string;
13
- mode: "insensitive";
14
- } | {
15
- equals: null;
16
- mode?: undefined;
17
- } | undefined;
18
- parentCampaignId: {
19
- equals: string;
20
- mode: "insensitive";
21
- } | undefined;
22
- endTimestamp: {
23
- gt: number;
24
- lt?: undefined;
25
- gte?: undefined;
26
- };
27
- startTimestamp: {
28
- lte: number;
29
- gt?: undefined;
30
- gte?: undefined;
31
- };
32
8
  OR: {
33
9
  id: string;
34
10
  }[] | undefined;
@@ -65,7 +41,9 @@ export declare abstract class CampaignRepository {
65
41
  symbol?: undefined;
66
42
  })[] | undefined;
67
43
  isTest: false | undefined;
68
- isPoint: boolean | undefined;
44
+ type: {
45
+ in: import("@package/databases").TokenType[];
46
+ } | undefined;
69
47
  };
70
48
  };
71
49
  Creator: {
@@ -95,7 +73,6 @@ export declare abstract class CampaignRepository {
95
73
  OR?: undefined;
96
74
  Creator?: undefined;
97
75
  } | undefined;
98
- } | {
99
76
  createdAt: {
100
77
  gte: Date;
101
78
  } | undefined;
@@ -111,11 +88,16 @@ export declare abstract class CampaignRepository {
111
88
  mode: "insensitive";
112
89
  } | undefined;
113
90
  endTimestamp: {
114
- lt: number;
91
+ gt: number;
92
+ lt?: undefined;
93
+ gte?: undefined;
94
+ };
95
+ startTimestamp: {
96
+ lte: number;
115
97
  gt?: undefined;
116
98
  gte?: undefined;
117
99
  };
118
- startTimestamp?: undefined;
100
+ } | {
119
101
  OR: {
120
102
  id: string;
121
103
  }[] | undefined;
@@ -152,7 +134,9 @@ export declare abstract class CampaignRepository {
152
134
  symbol?: undefined;
153
135
  })[] | undefined;
154
136
  isTest: false | undefined;
155
- isPoint: boolean | undefined;
137
+ type: {
138
+ in: import("@package/databases").TokenType[];
139
+ } | undefined;
156
140
  };
157
141
  };
158
142
  Creator: {
@@ -182,7 +166,6 @@ export declare abstract class CampaignRepository {
182
166
  OR?: undefined;
183
167
  Creator?: undefined;
184
168
  } | undefined;
185
- } | {
186
169
  createdAt: {
187
170
  gte: Date;
188
171
  } | undefined;
@@ -197,12 +180,13 @@ export declare abstract class CampaignRepository {
197
180
  equals: string;
198
181
  mode: "insensitive";
199
182
  } | undefined;
200
- startTimestamp: {
201
- gt: number;
202
- lte?: undefined;
183
+ endTimestamp: {
184
+ lt: number;
185
+ gt?: undefined;
203
186
  gte?: undefined;
204
187
  };
205
- endTimestamp?: undefined;
188
+ startTimestamp?: undefined;
189
+ } | {
206
190
  OR: {
207
191
  id: string;
208
192
  }[] | undefined;
@@ -239,7 +223,9 @@ export declare abstract class CampaignRepository {
239
223
  symbol?: undefined;
240
224
  })[] | undefined;
241
225
  isTest: false | undefined;
242
- isPoint: boolean | undefined;
226
+ type: {
227
+ in: import("@package/databases").TokenType[];
228
+ } | undefined;
243
229
  };
244
230
  };
245
231
  Creator: {
@@ -269,7 +255,6 @@ export declare abstract class CampaignRepository {
269
255
  OR?: undefined;
270
256
  Creator?: undefined;
271
257
  } | undefined;
272
- } | {
273
258
  createdAt: {
274
259
  gte: Date;
275
260
  } | undefined;
@@ -284,16 +269,13 @@ export declare abstract class CampaignRepository {
284
269
  equals: string;
285
270
  mode: "insensitive";
286
271
  } | undefined;
287
- endTimestamp: {
288
- gte: number;
289
- gt?: undefined;
290
- lt?: undefined;
291
- } | undefined;
292
272
  startTimestamp: {
293
- gte: number;
273
+ gt: number;
294
274
  lte?: undefined;
295
- gt?: undefined;
296
- } | undefined;
275
+ gte?: undefined;
276
+ };
277
+ endTimestamp?: undefined;
278
+ } | {
297
279
  OR: {
298
280
  id: string;
299
281
  }[] | undefined;
@@ -330,7 +312,9 @@ export declare abstract class CampaignRepository {
330
312
  symbol?: undefined;
331
313
  })[] | undefined;
332
314
  isTest: false | undefined;
333
- isPoint: boolean | undefined;
315
+ type: {
316
+ in: import("@package/databases").TokenType[];
317
+ } | undefined;
334
318
  };
335
319
  };
336
320
  Creator: {
@@ -360,6 +344,30 @@ export declare abstract class CampaignRepository {
360
344
  OR?: undefined;
361
345
  Creator?: undefined;
362
346
  } | undefined;
347
+ createdAt: {
348
+ gte: Date;
349
+ } | undefined;
350
+ rootCampaignId: {
351
+ equals: string;
352
+ mode: "insensitive";
353
+ } | {
354
+ equals: null;
355
+ mode?: undefined;
356
+ } | undefined;
357
+ parentCampaignId: {
358
+ equals: string;
359
+ mode: "insensitive";
360
+ } | undefined;
361
+ endTimestamp: {
362
+ gte: number;
363
+ gt?: undefined;
364
+ lt?: undefined;
365
+ } | undefined;
366
+ startTimestamp: {
367
+ gte: number;
368
+ lte?: undefined;
369
+ gt?: undefined;
370
+ } | undefined;
363
371
  };
364
372
  };
365
373
  /**
@@ -521,6 +529,7 @@ export declare abstract class CampaignRepository {
521
529
  address: string;
522
530
  id: string;
523
531
  chainId: number;
532
+ type: import("@package/databases").TokenType;
524
533
  icon: string;
525
534
  isNative: boolean;
526
535
  isPoint: boolean;
@@ -664,6 +673,7 @@ export declare abstract class CampaignRepository {
664
673
  address: string;
665
674
  id: string;
666
675
  chainId: number;
676
+ type: import("@package/databases").TokenType;
667
677
  icon: string;
668
678
  isNative: boolean;
669
679
  isPoint: boolean;
@@ -745,6 +755,7 @@ export declare abstract class CampaignRepository {
745
755
  address: string;
746
756
  id: string;
747
757
  chainId: number;
758
+ type: import("@package/databases").TokenType;
748
759
  icon: string;
749
760
  isNative: boolean;
750
761
  isPoint: boolean;
@@ -835,6 +846,7 @@ export declare abstract class CampaignRepository {
835
846
  address: string;
836
847
  id: string;
837
848
  chainId: number;
849
+ type: import("@package/databases").TokenType;
838
850
  icon: string;
839
851
  isNative: boolean;
840
852
  isPoint: boolean;
@@ -916,6 +928,7 @@ export declare abstract class CampaignRepository {
916
928
  address: string;
917
929
  id: string;
918
930
  chainId: number;
931
+ type: import("@package/databases").TokenType;
919
932
  icon: string;
920
933
  isNative: boolean;
921
934
  isPoint: boolean;
@@ -5,6 +5,47 @@ import type { FindCampaignComputedValueModel } from "../computedValue/computedVa
5
5
  import { CampaignFormatter } from "./campaign.formatter";
6
6
  export declare abstract class CampaignService {
7
7
  static hashId(campaign: CampaignUnique): string;
8
+ static transformStatusToTimestampFilter(query: {
9
+ status: FindCampaignModel["status"];
10
+ startTimestamp: FindCampaignModel["startTimestamp"];
11
+ endTimestamp: FindCampaignModel["endTimestamp"];
12
+ }): {
13
+ endTimestamp: {
14
+ gt: number;
15
+ lt?: undefined;
16
+ gte?: undefined;
17
+ };
18
+ startTimestamp: {
19
+ lte: number;
20
+ gt?: undefined;
21
+ gte?: undefined;
22
+ };
23
+ } | {
24
+ endTimestamp: {
25
+ lt: number;
26
+ gt?: undefined;
27
+ gte?: undefined;
28
+ };
29
+ startTimestamp?: undefined;
30
+ } | {
31
+ startTimestamp: {
32
+ gt: number;
33
+ lte?: undefined;
34
+ gte?: undefined;
35
+ };
36
+ endTimestamp?: undefined;
37
+ } | {
38
+ endTimestamp: {
39
+ gte: number;
40
+ gt?: undefined;
41
+ lt?: undefined;
42
+ } | undefined;
43
+ startTimestamp: {
44
+ gte: number;
45
+ lte?: undefined;
46
+ gt?: undefined;
47
+ } | undefined;
48
+ };
8
49
  static splitIdOrThrow(chainAndCampaignId: `${number}-${string}` | string): CampaignUnique;
9
50
  static getPastCampaigns(query?: findCampaignWithStatusModel): Promise<({
10
51
  Opportunity: {
@@ -141,6 +182,7 @@ export declare abstract class CampaignService {
141
182
  address: string;
142
183
  id: string;
143
184
  chainId: number;
185
+ type: import("@package/databases").TokenType;
144
186
  icon: string;
145
187
  isNative: boolean;
146
188
  isPoint: boolean;
@@ -206,6 +248,7 @@ export declare abstract class CampaignService {
206
248
  address: string;
207
249
  id: string;
208
250
  chainId: number;
251
+ type: import("@package/databases").TokenType;
209
252
  icon: string;
210
253
  isNative: boolean;
211
254
  isPoint: boolean;
@@ -232,6 +275,7 @@ export declare abstract class CampaignService {
232
275
  address: string;
233
276
  id: string;
234
277
  chainId: number;
278
+ type: import("@package/databases").TokenType;
235
279
  icon: string;
236
280
  isNative: boolean;
237
281
  isPoint: boolean;
@@ -230,6 +230,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
230
230
  address: string;
231
231
  id: string;
232
232
  chainId: number;
233
+ type: import("@package/databases").TokenType;
233
234
  icon: string;
234
235
  isNative: boolean;
235
236
  isPoint: boolean;
@@ -256,6 +257,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
256
257
  address: string;
257
258
  id: string;
258
259
  chainId: number;
260
+ type: import("@package/databases").TokenType;
259
261
  icon: string;
260
262
  isNative: boolean;
261
263
  isPoint: boolean;
@@ -353,6 +355,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
353
355
  address: string;
354
356
  id: string;
355
357
  chainId: number;
358
+ type: import("@package/databases").TokenType;
356
359
  icon: string;
357
360
  isNative: boolean;
358
361
  isPoint: boolean;
@@ -379,6 +382,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
379
382
  address: string;
380
383
  id: string;
381
384
  chainId: number;
385
+ type: import("@package/databases").TokenType;
382
386
  icon: string;
383
387
  isNative: boolean;
384
388
  isPoint: boolean;
@@ -477,6 +481,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
477
481
  address: string;
478
482
  id: string;
479
483
  chainId: number;
484
+ type: import("@package/databases").TokenType;
480
485
  icon: string;
481
486
  isNative: boolean;
482
487
  isPoint: boolean;
@@ -503,6 +508,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
503
508
  address: string;
504
509
  id: string;
505
510
  chainId: number;
511
+ type: import("@package/databases").TokenType;
506
512
  icon: string;
507
513
  isNative: boolean;
508
514
  isPoint: boolean;
@@ -44,6 +44,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
44
44
  creatorTag?: string | undefined;
45
45
  distributionChainIds?: number[] | undefined;
46
46
  types?: string[] | undefined;
47
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
47
48
  withOpportunity?: boolean | undefined;
48
49
  createdAfter?: Date | null | undefined;
49
50
  excludeSubCampaigns?: boolean | undefined;
@@ -69,7 +70,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
69
70
  breakdowns: {
70
71
  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;
71
72
  value: number;
72
- type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
73
+ type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
73
74
  identifier: string;
74
75
  }[];
75
76
  } | undefined;
@@ -97,6 +98,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
97
98
  address: string;
98
99
  id: string;
99
100
  chainId: number;
101
+ type: "TOKEN" | "PRETGE" | "POINT";
100
102
  icon: string;
101
103
  isNative: boolean;
102
104
  isPoint: boolean;
@@ -119,6 +121,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
119
121
  address: string;
120
122
  id: string;
121
123
  chainId: number;
124
+ type: "TOKEN" | "PRETGE" | "POINT";
122
125
  icon: string;
123
126
  isNative: boolean;
124
127
  isPoint: boolean;
@@ -166,6 +169,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
166
169
  address: string;
167
170
  id: string;
168
171
  chainId: number;
172
+ type: "TOKEN" | "PRETGE" | "POINT";
169
173
  icon: string;
170
174
  isNative: boolean;
171
175
  isPoint: boolean;
@@ -248,6 +252,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
248
252
  campaigns?: boolean | undefined;
249
253
  point?: boolean | undefined;
250
254
  test?: boolean | undefined;
255
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
251
256
  excludeSubCampaigns?: boolean | undefined;
252
257
  };
253
258
  headers: unknown;
@@ -271,7 +276,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
271
276
  breakdowns: {
272
277
  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;
273
278
  value: number;
274
- type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
279
+ type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
275
280
  identifier: string;
276
281
  }[];
277
282
  } | undefined;
@@ -299,6 +304,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
299
304
  address: string;
300
305
  id: string;
301
306
  chainId: number;
307
+ type: "TOKEN" | "PRETGE" | "POINT";
302
308
  icon: string;
303
309
  isNative: boolean;
304
310
  isPoint: boolean;
@@ -321,6 +327,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
321
327
  address: string;
322
328
  id: string;
323
329
  chainId: number;
330
+ type: "TOKEN" | "PRETGE" | "POINT";
324
331
  icon: string;
325
332
  isNative: boolean;
326
333
  isPoint: boolean;
@@ -386,6 +393,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
386
393
  campaigns?: boolean | undefined;
387
394
  point?: boolean | undefined;
388
395
  test?: boolean | undefined;
396
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
389
397
  excludeSubCampaigns?: boolean | undefined;
390
398
  };
391
399
  headers: unknown;
@@ -409,7 +417,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
409
417
  breakdowns: {
410
418
  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;
411
419
  value: number;
412
- type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
420
+ type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
413
421
  identifier: string;
414
422
  }[];
415
423
  } | undefined;
@@ -437,6 +445,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
437
445
  address: string;
438
446
  id: string;
439
447
  chainId: number;
448
+ type: "TOKEN" | "PRETGE" | "POINT";
440
449
  icon: string;
441
450
  isNative: boolean;
442
451
  isPoint: boolean;
@@ -459,6 +468,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
459
468
  address: string;
460
469
  id: string;
461
470
  chainId: number;
471
+ type: "TOKEN" | "PRETGE" | "POINT";
462
472
  icon: string;
463
473
  isNative: boolean;
464
474
  isPoint: boolean;
@@ -506,6 +516,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
506
516
  address: string;
507
517
  id: string;
508
518
  chainId: number;
519
+ type: "TOKEN" | "PRETGE" | "POINT";
509
520
  icon: string;
510
521
  isNative: boolean;
511
522
  isPoint: boolean;
@@ -602,6 +613,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
602
613
  tags?: string | undefined;
603
614
  test?: boolean | undefined;
604
615
  page?: number | undefined;
616
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
605
617
  excludeSubCampaigns?: boolean | undefined;
606
618
  minimumTvl?: number | undefined;
607
619
  maximumTvl?: number | undefined;
@@ -630,7 +642,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
630
642
  breakdowns: {
631
643
  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;
632
644
  value: number;
633
- type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
645
+ type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
634
646
  identifier: string;
635
647
  }[];
636
648
  } | undefined;
@@ -658,6 +670,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
658
670
  address: string;
659
671
  id: string;
660
672
  chainId: number;
673
+ type: "TOKEN" | "PRETGE" | "POINT";
661
674
  icon: string;
662
675
  isNative: boolean;
663
676
  isPoint: boolean;
@@ -680,6 +693,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
680
693
  address: string;
681
694
  id: string;
682
695
  chainId: number;
696
+ type: "TOKEN" | "PRETGE" | "POINT";
683
697
  icon: string;
684
698
  isNative: boolean;
685
699
  isPoint: boolean;
@@ -748,6 +762,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
748
762
  tags?: string | undefined;
749
763
  test?: boolean | undefined;
750
764
  page?: number | undefined;
765
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
751
766
  excludeSubCampaigns?: boolean | undefined;
752
767
  minimumTvl?: number | undefined;
753
768
  maximumTvl?: number | undefined;
@@ -798,6 +813,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
798
813
  tags?: string | undefined;
799
814
  test?: boolean | undefined;
800
815
  page?: number | undefined;
816
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
801
817
  excludeSubCampaigns?: boolean | undefined;
802
818
  minimumTvl?: number | undefined;
803
819
  maximumTvl?: number | undefined;
@@ -855,6 +871,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
855
871
  tags?: string | undefined;
856
872
  test?: boolean | undefined;
857
873
  page?: number | undefined;
874
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
858
875
  excludeSubCampaigns?: boolean | undefined;
859
876
  minimumTvl?: number | undefined;
860
877
  maximumTvl?: number | undefined;
@@ -914,6 +931,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
914
931
  tags?: string | undefined;
915
932
  test?: boolean | undefined;
916
933
  page?: number | undefined;
934
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
917
935
  excludeSubCampaigns?: boolean | undefined;
918
936
  minimumTvl?: number | undefined;
919
937
  maximumTvl?: number | undefined;
@@ -970,6 +988,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
970
988
  tags?: string | undefined;
971
989
  test?: boolean | undefined;
972
990
  page?: number | undefined;
991
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
973
992
  excludeSubCampaigns?: boolean | undefined;
974
993
  minimumTvl?: number | undefined;
975
994
  maximumTvl?: number | undefined;
@@ -1027,6 +1046,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1027
1046
  tags?: string | undefined;
1028
1047
  test?: boolean | undefined;
1029
1048
  page?: number | undefined;
1049
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
1030
1050
  excludeSubCampaigns?: boolean | undefined;
1031
1051
  minimumTvl?: number | undefined;
1032
1052
  maximumTvl?: number | undefined;
@@ -1083,6 +1103,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1083
1103
  address: string;
1084
1104
  id: string;
1085
1105
  chainId: number;
1106
+ type: import("@package/databases").TokenType;
1086
1107
  icon: string;
1087
1108
  isNative: boolean;
1088
1109
  isPoint: boolean;
@@ -1109,6 +1130,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1109
1130
  address: string;
1110
1131
  id: string;
1111
1132
  chainId: number;
1133
+ type: import("@package/databases").TokenType;
1112
1134
  icon: string;
1113
1135
  isNative: boolean;
1114
1136
  isPoint: boolean;
@@ -1284,6 +1306,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1284
1306
  address: string;
1285
1307
  id: string;
1286
1308
  chainId: number;
1309
+ type: import("@package/databases").TokenType;
1287
1310
  icon: string;
1288
1311
  isNative: boolean;
1289
1312
  isPoint: boolean;
@@ -1310,6 +1333,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1310
1333
  address: string;
1311
1334
  id: string;
1312
1335
  chainId: number;
1336
+ type: import("@package/databases").TokenType;
1313
1337
  icon: string;
1314
1338
  isNative: boolean;
1315
1339
  isPoint: boolean;
@@ -42,6 +42,7 @@ export declare abstract class OpportunityFormatter {
42
42
  address: string;
43
43
  id: string;
44
44
  chainId: number;
45
+ type: import("@package/databases").TokenType;
45
46
  icon: string;
46
47
  isNative: boolean;
47
48
  isPoint: boolean;
@@ -63,6 +64,7 @@ export declare abstract class OpportunityFormatter {
63
64
  address: string;
64
65
  id: string;
65
66
  chainId: number;
67
+ type: import("@package/databases").TokenType;
66
68
  icon: string;
67
69
  isNative: boolean;
68
70
  isPoint: boolean;
@@ -112,6 +114,7 @@ export declare abstract class OpportunityFormatter {
112
114
  address: string;
113
115
  id: string;
114
116
  chainId: number;
117
+ type: import("@package/databases").TokenType;
115
118
  icon: string;
116
119
  isNative: boolean;
117
120
  isPoint: boolean;