@merkl/api 1.0.66 → 1.0.68

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 (38) hide show
  1. package/dist/src/eden/index.d.ts +424 -422
  2. package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
  3. package/dist/src/index.d.ts +210 -209
  4. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
  5. package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
  6. package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
  7. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +41 -41
  8. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +179 -193
  9. package/dist/src/modules/v4/campaign/campaign.service.d.ts +49 -62
  10. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +44 -44
  11. package/dist/src/modules/v4/creator/creator.controller.d.ts +12 -12
  12. package/dist/src/modules/v4/creator/creator.repository.d.ts +6 -6
  13. package/dist/src/modules/v4/creator/creator.service.d.ts +12 -12
  14. package/dist/src/modules/v4/node/node.controller.d.ts +2 -1
  15. package/dist/src/modules/v4/node/node.repository.d.ts +1 -18
  16. package/dist/src/modules/v4/node/node.service.d.ts +1 -18
  17. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +80 -80
  18. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -3
  19. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +13 -13
  20. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +192 -192
  21. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +54 -54
  22. package/dist/src/modules/v4/price/price.controller.d.ts +4 -4
  23. package/dist/src/modules/v4/price/price.repository.d.ts +5 -5
  24. package/dist/src/modules/v4/price/price.service.d.ts +4 -4
  25. package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +23 -1
  26. package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +9 -1
  27. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +6 -6
  28. package/dist/src/modules/v4/reward/reward.repository.d.ts +11 -11
  29. package/dist/src/modules/v4/reward/reward.service.d.ts +67 -67
  30. package/dist/src/modules/v4/router.d.ts +210 -209
  31. package/dist/src/modules/v4/status/status.controller.d.ts +14 -14
  32. package/dist/src/modules/v4/status/status.repository.d.ts +20 -20
  33. package/dist/src/modules/v4/status/status.service.d.ts +16 -16
  34. package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -10
  35. package/dist/src/modules/v4/user/user.controller.d.ts +11 -11
  36. package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/package.json +1 -1
@@ -1,21 +1,4 @@
1
1
  import type { GetNodeModel } from "./node.model";
2
2
  export declare class NodeRepository {
3
- static findMany(query: GetNodeModel): Promise<({
4
- NodesSources: {
5
- id: string;
6
- chainId: number;
7
- nodeType: string;
8
- lastFetchedBlockNumber: number;
9
- source: string;
10
- topics: string[];
11
- };
12
- } & {
13
- id: string;
14
- recipient: string;
15
- chainId: number;
16
- metadata: import("@prisma/client/runtime/library").JsonValue | null;
17
- nodeType: string;
18
- nodesSourceId: string;
19
- creationBlockNumber: number;
20
- })[]>;
3
+ static findMany(query: GetNodeModel): Promise<any>;
21
4
  }
@@ -1,21 +1,4 @@
1
1
  import type { GetNodeModel } from "./node.model";
2
2
  export declare abstract class NodeService {
3
- static findMany(query: GetNodeModel): Promise<({
4
- NodesSources: {
5
- id: string;
6
- chainId: number;
7
- nodeType: string;
8
- lastFetchedBlockNumber: number;
9
- source: string;
10
- topics: string[];
11
- };
12
- } & {
13
- id: string;
14
- recipient: string;
15
- chainId: number;
16
- metadata: import("@prisma/client/runtime/library").JsonValue | null;
17
- nodeType: string;
18
- nodesSourceId: string;
19
- creationBlockNumber: number;
20
- })[]>;
3
+ static findMany(query: GetNodeModel): Promise<any>;
21
4
  }
@@ -31,16 +31,16 @@ export declare const OpportunityController: Elysia<"/opportunities", {
31
31
  tokenSymbol?: string | undefined;
32
32
  type?: string | undefined;
33
33
  endTimestamp?: string | undefined;
34
+ subType?: number | undefined;
34
35
  opportunityId?: string | undefined;
35
36
  creatorAddress?: string | undefined;
36
- mainProtocolId?: string | undefined;
37
- subType?: number | undefined;
38
37
  rootCampaignId?: string | undefined;
39
38
  parentCampaignId?: string | undefined;
39
+ mainProtocolId?: string | undefined;
40
40
  creatorId?: string | undefined;
41
- mainParameter?: string | undefined;
42
41
  test?: boolean | undefined;
43
42
  page?: number | undefined;
43
+ mainParameter?: string | undefined;
44
44
  creatorTag?: string | undefined;
45
45
  distributionChainIds?: number[] | undefined;
46
46
  types?: string[] | undefined;
@@ -63,8 +63,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
63
63
  tags: string[];
64
64
  } | null | undefined;
65
65
  depositUrl?: string | undefined;
66
- explorerAddress?: string | undefined;
67
- 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;
68
66
  aprRecord?: {
69
67
  timestamp: string | bigint;
70
68
  cumulated: number;
@@ -75,6 +73,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
75
73
  identifier: string;
76
74
  }[];
77
75
  } | undefined;
76
+ 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;
77
+ explorerAddress?: string | undefined;
78
78
  tvlRecord?: {
79
79
  timestamp: string | bigint;
80
80
  total: number;
@@ -138,9 +138,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
138
138
  creatorId?: string | null | undefined;
139
139
  address: string;
140
140
  } | undefined;
141
- 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;
142
- rootCampaignId?: string | undefined;
143
- parentCampaignId?: string | undefined;
144
141
  campaignStatus?: {
145
142
  error?: string | undefined;
146
143
  details?: any;
@@ -148,6 +145,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
148
145
  computedUntil: string | number;
149
146
  processingStarted: string | number;
150
147
  } | undefined;
148
+ 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;
149
+ rootCampaignId?: string | undefined;
150
+ parentCampaignId?: string | undefined;
151
151
  distributionChain?: {
152
152
  explorers?: {
153
153
  chainId: number;
@@ -182,9 +182,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
182
182
  computeChainId: number;
183
183
  distributionChainId: number;
184
184
  endTimestamp: string | number;
185
- creatorAddress: string;
186
- subType: number | null;
187
- createdAt: string;
188
185
  chain: {
189
186
  explorers?: {
190
187
  chainId: number;
@@ -195,14 +192,12 @@ export declare const OpportunityController: Elysia<"/opportunities", {
195
192
  id: number;
196
193
  icon: string;
197
194
  };
195
+ subType: number | null;
196
+ creatorAddress: string;
197
+ createdAt: string;
198
198
  }[];
199
199
  action: string;
200
200
  type: string;
201
- howToSteps: string[];
202
- identifier: string;
203
- dailyRewards: number;
204
- tags: string[];
205
- lastCampaignCreatedAt: number;
206
201
  chain: {
207
202
  explorers?: {
208
203
  chainId: number;
@@ -213,6 +208,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
213
208
  id: number;
214
209
  icon: string;
215
210
  };
211
+ identifier: string;
212
+ howToSteps: string[];
213
+ dailyRewards: number;
214
+ tags: string[];
215
+ lastCampaignCreatedAt: number;
216
216
  }[];
217
217
  readonly 500: {
218
218
  info: string;
@@ -265,8 +265,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
265
265
  tags: string[];
266
266
  } | null | undefined;
267
267
  depositUrl?: string | undefined;
268
- explorerAddress?: string | undefined;
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
268
  aprRecord?: {
271
269
  timestamp: string | bigint;
272
270
  cumulated: number;
@@ -277,6 +275,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
277
275
  identifier: string;
278
276
  }[];
279
277
  } | undefined;
278
+ 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;
279
+ explorerAddress?: string | undefined;
280
280
  tvlRecord?: {
281
281
  timestamp: string | bigint;
282
282
  total: number;
@@ -335,11 +335,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
335
335
  chainId: number;
336
336
  action: string;
337
337
  type: string;
338
- howToSteps: string[];
339
- identifier: string;
340
- dailyRewards: number;
341
- tags: string[];
342
- lastCampaignCreatedAt: number;
343
338
  chain: {
344
339
  explorers?: {
345
340
  chainId: number;
@@ -350,6 +345,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
350
345
  id: number;
351
346
  icon: string;
352
347
  };
348
+ identifier: string;
349
+ howToSteps: string[];
350
+ dailyRewards: number;
351
+ tags: string[];
352
+ lastCampaignCreatedAt: number;
353
353
  };
354
354
  readonly 500: {
355
355
  info: string;
@@ -403,8 +403,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
403
403
  tags: string[];
404
404
  } | null | undefined;
405
405
  depositUrl?: string | undefined;
406
- explorerAddress?: string | undefined;
407
- 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;
408
406
  aprRecord?: {
409
407
  timestamp: string | bigint;
410
408
  cumulated: number;
@@ -415,6 +413,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
415
413
  identifier: string;
416
414
  }[];
417
415
  } | undefined;
416
+ 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;
417
+ explorerAddress?: string | undefined;
418
418
  tvlRecord?: {
419
419
  timestamp: string | bigint;
420
420
  total: number;
@@ -478,9 +478,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
478
478
  creatorId?: string | null | undefined;
479
479
  address: string;
480
480
  } | undefined;
481
- 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;
482
- rootCampaignId?: string | undefined;
483
- parentCampaignId?: string | undefined;
484
481
  campaignStatus?: {
485
482
  error?: string | undefined;
486
483
  details?: any;
@@ -488,6 +485,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
488
485
  computedUntil: string | number;
489
486
  processingStarted: string | number;
490
487
  } | undefined;
488
+ 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;
489
+ rootCampaignId?: string | undefined;
490
+ parentCampaignId?: string | undefined;
491
491
  distributionChain?: {
492
492
  explorers?: {
493
493
  chainId: number;
@@ -522,9 +522,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
522
522
  computeChainId: number;
523
523
  distributionChainId: number;
524
524
  endTimestamp: string | number;
525
- creatorAddress: string;
526
- subType: number | null;
527
- createdAt: string;
528
525
  chain: {
529
526
  explorers?: {
530
527
  chainId: number;
@@ -535,14 +532,12 @@ export declare const OpportunityController: Elysia<"/opportunities", {
535
532
  id: number;
536
533
  icon: string;
537
534
  };
535
+ subType: number | null;
536
+ creatorAddress: string;
537
+ createdAt: string;
538
538
  }[];
539
539
  action: string;
540
540
  type: string;
541
- howToSteps: string[];
542
- identifier: string;
543
- dailyRewards: number;
544
- tags: string[];
545
- lastCampaignCreatedAt: number;
546
541
  chain: {
547
542
  explorers?: {
548
543
  chainId: number;
@@ -553,6 +548,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
553
548
  id: number;
554
549
  icon: string;
555
550
  };
551
+ identifier: string;
552
+ howToSteps: string[];
553
+ dailyRewards: number;
554
+ tags: string[];
555
+ lastCampaignCreatedAt: number;
556
556
  };
557
557
  readonly 500: {
558
558
  info: string;
@@ -597,8 +597,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
597
597
  type?: string | undefined;
598
598
  search?: string | undefined;
599
599
  creatorAddress?: string | undefined;
600
- mainProtocolId?: string | undefined;
601
600
  identifier?: string | undefined;
601
+ mainProtocolId?: string | undefined;
602
602
  tags?: string | undefined;
603
603
  test?: boolean | undefined;
604
604
  page?: number | undefined;
@@ -624,8 +624,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
624
624
  tags: string[];
625
625
  } | null | undefined;
626
626
  depositUrl?: string | undefined;
627
- explorerAddress?: string | undefined;
628
- 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;
629
627
  aprRecord?: {
630
628
  timestamp: string | bigint;
631
629
  cumulated: number;
@@ -636,6 +634,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
636
634
  identifier: string;
637
635
  }[];
638
636
  } | undefined;
637
+ 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;
638
+ explorerAddress?: string | undefined;
639
639
  tvlRecord?: {
640
640
  timestamp: string | bigint;
641
641
  total: number;
@@ -694,11 +694,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
694
694
  chainId: number;
695
695
  action: string;
696
696
  type: string;
697
- howToSteps: string[];
698
- identifier: string;
699
- dailyRewards: number;
700
- tags: string[];
701
- lastCampaignCreatedAt: number;
702
697
  chain: {
703
698
  explorers?: {
704
699
  chainId: number;
@@ -709,6 +704,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
709
704
  id: number;
710
705
  icon: string;
711
706
  };
707
+ identifier: string;
708
+ howToSteps: string[];
709
+ dailyRewards: number;
710
+ tags: string[];
711
+ lastCampaignCreatedAt: number;
712
712
  } | null)[];
713
713
  422: {
714
714
  type: "validation";
@@ -743,8 +743,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
743
743
  type?: string | undefined;
744
744
  search?: string | undefined;
745
745
  creatorAddress?: string | undefined;
746
- mainProtocolId?: string | undefined;
747
746
  identifier?: string | undefined;
747
+ mainProtocolId?: string | undefined;
748
748
  tags?: string | undefined;
749
749
  test?: boolean | undefined;
750
750
  page?: number | undefined;
@@ -793,8 +793,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
793
793
  type?: string | undefined;
794
794
  search?: string | undefined;
795
795
  creatorAddress?: string | undefined;
796
- mainProtocolId?: string | undefined;
797
796
  identifier?: string | undefined;
797
+ mainProtocolId?: string | undefined;
798
798
  tags?: string | undefined;
799
799
  test?: boolean | undefined;
800
800
  page?: number | undefined;
@@ -853,8 +853,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
853
853
  type?: string | undefined;
854
854
  search?: string | undefined;
855
855
  creatorAddress?: string | undefined;
856
- mainProtocolId?: string | undefined;
857
856
  identifier?: string | undefined;
857
+ mainProtocolId?: string | undefined;
858
858
  tags?: string | undefined;
859
859
  test?: boolean | undefined;
860
860
  page?: number | undefined;
@@ -915,8 +915,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
915
915
  type?: string | undefined;
916
916
  search?: string | undefined;
917
917
  creatorAddress?: string | undefined;
918
- mainProtocolId?: string | undefined;
919
918
  identifier?: string | undefined;
919
+ mainProtocolId?: string | undefined;
920
920
  tags?: string | undefined;
921
921
  test?: boolean | undefined;
922
922
  page?: number | undefined;
@@ -971,8 +971,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
971
971
  type?: string | undefined;
972
972
  search?: string | undefined;
973
973
  creatorAddress?: string | undefined;
974
- mainProtocolId?: string | undefined;
975
974
  identifier?: string | undefined;
975
+ mainProtocolId?: string | undefined;
976
976
  tags?: string | undefined;
977
977
  test?: boolean | undefined;
978
978
  page?: number | undefined;
@@ -1028,8 +1028,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1028
1028
  type?: string | undefined;
1029
1029
  search?: string | undefined;
1030
1030
  creatorAddress?: string | undefined;
1031
- mainProtocolId?: string | undefined;
1032
1031
  identifier?: string | undefined;
1032
+ mainProtocolId?: string | undefined;
1033
1033
  tags?: string | undefined;
1034
1034
  test?: boolean | undefined;
1035
1035
  page?: number | undefined;
@@ -1107,6 +1107,14 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1107
1107
  explorerAddress: string | undefined;
1108
1108
  tags: string[];
1109
1109
  } | {
1110
+ Protocols: {
1111
+ name: string;
1112
+ description: string;
1113
+ id: string;
1114
+ url: string;
1115
+ icon: string;
1116
+ tags: string[];
1117
+ }[];
1110
1118
  Tokens: {
1111
1119
  symbol: string;
1112
1120
  name: string | null;
@@ -1123,14 +1131,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1123
1131
  verified: boolean;
1124
1132
  displaySymbol: string;
1125
1133
  }[];
1126
- Protocols: {
1127
- name: string;
1128
- description: string;
1129
- id: string;
1130
- url: string;
1131
- icon: string;
1132
- tags: string[];
1133
- }[];
1134
1134
  name: string;
1135
1135
  apr: number;
1136
1136
  tvl: number;
@@ -1141,11 +1141,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1141
1141
  action: import("@package/databases").OpportunityAction;
1142
1142
  type: string;
1143
1143
  depositUrl: string | null;
1144
- explorerAddress: string | null;
1145
- howToSteps: string[];
1146
- mainProtocolId: string | null;
1147
1144
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
1148
1145
  identifier: string;
1146
+ howToSteps: string[];
1147
+ explorerAddress: string | null;
1148
+ mainProtocolId: string | null;
1149
1149
  dailyRewards: number;
1150
1150
  tags: string[];
1151
1151
  lastCampaignCreatedAt: Date;
@@ -1187,11 +1187,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1187
1187
  action: import("@package/databases").OpportunityAction;
1188
1188
  type: string;
1189
1189
  depositUrl: string | null;
1190
- explorerAddress: string | null;
1191
- howToSteps: string[];
1192
- mainProtocolId: string | null;
1193
1190
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
1194
1191
  identifier: string;
1192
+ howToSteps: string[];
1193
+ explorerAddress: string | null;
1194
+ mainProtocolId: string | null;
1195
1195
  dailyRewards: number;
1196
1196
  tags: string[];
1197
1197
  lastCampaignCreatedAt: Date;
@@ -1219,8 +1219,8 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1219
1219
  description?: string | undefined;
1220
1220
  action?: "POOL" | "INVALID" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | undefined;
1221
1221
  depositUrl?: string | undefined;
1222
- explorerAddress?: string | undefined;
1223
1222
  howToSteps?: string[] | undefined;
1223
+ explorerAddress?: string | undefined;
1224
1224
  mainProtocolId?: string | undefined;
1225
1225
  };
1226
1226
  params: {
@@ -1240,11 +1240,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1240
1240
  action: import("@package/databases").OpportunityAction;
1241
1241
  type: string;
1242
1242
  depositUrl: string | null;
1243
- explorerAddress: string | null;
1244
- howToSteps: string[];
1245
- mainProtocolId: string | null;
1246
1243
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
1247
1244
  identifier: string;
1245
+ howToSteps: string[];
1246
+ explorerAddress: string | null;
1247
+ mainProtocolId: string | null;
1248
1248
  dailyRewards: number;
1249
1249
  tags: string[];
1250
1250
  lastCampaignCreatedAt: Date;
@@ -1268,7 +1268,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1268
1268
  ":id": {
1269
1269
  override: {
1270
1270
  delete: {
1271
- body: ("name" | "description" | "action" | "depositUrl" | "explorerAddress" | "howToSteps" | "mainProtocolId")[];
1271
+ body: ("name" | "description" | "action" | "depositUrl" | "howToSteps" | "explorerAddress" | "mainProtocolId")[];
1272
1272
  params: {
1273
1273
  id: string;
1274
1274
  };
@@ -1308,6 +1308,14 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1308
1308
  explorerAddress: string | undefined;
1309
1309
  tags: string[];
1310
1310
  } | {
1311
+ Protocols: {
1312
+ name: string;
1313
+ description: string;
1314
+ id: string;
1315
+ url: string;
1316
+ icon: string;
1317
+ tags: string[];
1318
+ }[];
1311
1319
  Tokens: {
1312
1320
  symbol: string;
1313
1321
  name: string | null;
@@ -1324,14 +1332,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1324
1332
  verified: boolean;
1325
1333
  displaySymbol: string;
1326
1334
  }[];
1327
- Protocols: {
1328
- name: string;
1329
- description: string;
1330
- id: string;
1331
- url: string;
1332
- icon: string;
1333
- tags: string[];
1334
- }[];
1335
1335
  name: string;
1336
1336
  apr: number;
1337
1337
  tvl: number;
@@ -1342,11 +1342,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
1342
1342
  action: import("@package/databases").OpportunityAction;
1343
1343
  type: string;
1344
1344
  depositUrl: string | null;
1345
- explorerAddress: string | null;
1346
- howToSteps: string[];
1347
- mainProtocolId: string | null;
1348
1345
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
1349
1346
  identifier: string;
1347
+ howToSteps: string[];
1348
+ explorerAddress: string | null;
1349
+ mainProtocolId: string | null;
1350
1350
  dailyRewards: number;
1351
1351
  tags: string[];
1352
1352
  lastCampaignCreatedAt: Date;
@@ -99,8 +99,8 @@ export declare abstract class OpportunityFormatter {
99
99
  chainId: number;
100
100
  action: import("@package/databases").OpportunityAction;
101
101
  type: string;
102
- howToSteps: string[];
103
102
  identifier: string;
103
+ howToSteps: string[];
104
104
  dailyRewards: number;
105
105
  tags: string[];
106
106
  };
@@ -148,8 +148,8 @@ export declare abstract class OpportunityFormatter {
148
148
  chainId: number;
149
149
  action: import("@package/databases").OpportunityAction;
150
150
  type: string;
151
- howToSteps: string[];
152
151
  identifier: string;
152
+ howToSteps: string[];
153
153
  dailyRewards: number;
154
154
  tags: string[];
155
155
  };
@@ -166,8 +166,8 @@ export declare abstract class OpportunityFormatter {
166
166
  chainId: number;
167
167
  action: import("@package/databases").OpportunityAction;
168
168
  type: string;
169
- howToSteps: string[];
170
169
  identifier: string;
170
+ howToSteps: string[];
171
171
  dailyRewards: number;
172
172
  tags: string[];
173
173
  };
@@ -208,19 +208,6 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
208
208
  opportunityLiveTags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
209
209
  }>, import("@sinclair/typebox").TNull]>>;
210
210
  depositUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
211
- explorerAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
212
- howToSteps: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
213
- distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
214
- readonly DUTCH_AUCTION: "DUTCH_AUCTION";
215
- readonly FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE";
216
- readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE";
217
- readonly FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT";
218
- readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT";
219
- }>>;
220
- identifier: import("@sinclair/typebox").TString;
221
- dailyRewards: import("@sinclair/typebox").TNumber;
222
- tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
223
- lastCampaignCreatedAt: import("@sinclair/typebox").TNumber;
224
211
  chain: import("@sinclair/typebox").TObject<{
225
212
  id: import("@sinclair/typebox").TNumber;
226
213
  name: import("@sinclair/typebox").TString;
@@ -254,6 +241,19 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
254
241
  }>>;
255
242
  }>>;
256
243
  }>>;
244
+ distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
245
+ readonly DUTCH_AUCTION: "DUTCH_AUCTION";
246
+ readonly FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE";
247
+ readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE";
248
+ readonly FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT";
249
+ readonly FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT: "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT";
250
+ }>>;
251
+ identifier: import("@sinclair/typebox").TString;
252
+ howToSteps: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
253
+ explorerAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
254
+ dailyRewards: import("@sinclair/typebox").TNumber;
255
+ tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
256
+ lastCampaignCreatedAt: import("@sinclair/typebox").TNumber;
257
257
  tvlRecord: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
258
258
  total: import("@sinclair/typebox").TNumber;
259
259
  timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;