@merkl/api 1.4.1 → 1.4.3

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 (64) hide show
  1. package/dist/src/eden/index.d.ts +45 -45
  2. package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.d.ts +2 -1
  3. package/dist/src/engine/implementations/Erc20/metadata.d.ts +2 -1
  4. package/dist/src/index.d.ts +284 -284
  5. package/dist/src/libs/computeFee.d.ts +228 -228
  6. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
  7. package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
  8. package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
  9. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +2 -2
  10. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +23 -23
  11. package/dist/src/modules/v4/campaign/campaign.service.d.ts +7 -7
  12. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -6
  13. package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +2 -2
  14. package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +3 -3
  15. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +3 -3
  16. package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +4 -4
  17. package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +4 -4
  18. package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.d.ts +7 -7
  19. package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +21 -21
  20. package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +19 -18
  21. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.d.ts +2 -1
  22. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +1 -1
  23. package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +1 -1
  24. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
  25. package/dist/src/modules/v4/creator/creator.controller.d.ts +1 -1
  26. package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -1
  27. package/dist/src/modules/v4/creator/creator.service.d.ts +1 -1
  28. package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +9 -8
  29. package/dist/src/modules/v4/dynamicData/dynamicData.service.js.map +1 -1
  30. package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
  31. package/dist/src/modules/v4/explorer/explorer.service.d.ts +3 -3
  32. package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +2 -2
  33. package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +2 -2
  34. package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +2 -2
  35. package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +2 -2
  36. package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +2 -2
  37. package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +2 -2
  38. package/dist/src/modules/v4/node/node.repository.d.ts +3 -3
  39. package/dist/src/modules/v4/node/node.service.d.ts +1 -1
  40. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +2 -1
  41. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +23 -23
  42. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +38 -38
  43. package/dist/src/modules/v4/priceSource/priceSource.controller.d.ts +5 -5
  44. package/dist/src/modules/v4/priceSource/priceSource.repository.d.ts +12 -12
  45. package/dist/src/modules/v4/priceSource/priceSource.service.d.ts +12 -12
  46. package/dist/src/modules/v4/program/program.controller.d.ts +2 -2
  47. package/dist/src/modules/v4/program/program.repository.d.ts +2 -2
  48. package/dist/src/modules/v4/program/program.service.d.ts +2 -2
  49. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +248 -248
  50. package/dist/src/modules/v4/programPayload/subPayloads/aave.d.ts +35 -1
  51. package/dist/src/modules/v4/programPayload/subPayloads/aave.js.map +1 -1
  52. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -1
  53. package/dist/src/modules/v4/reward/reward.repository.d.ts +5 -5
  54. package/dist/src/modules/v4/reward/reward.service.d.ts +14 -14
  55. package/dist/src/modules/v4/router.d.ts +36 -36
  56. package/dist/src/modules/v4/token/token.controller.d.ts +10 -9
  57. package/dist/src/modules/v4/token/token.repository.d.ts +5 -5
  58. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +4 -4
  59. package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
  60. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -2
  61. package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
  62. package/dist/src/utils/parseDistributionType.d.ts +2 -1
  63. package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
  64. package/package.json +1 -1
@@ -17,7 +17,7 @@ export declare abstract class NodeService {
17
17
  recipient: string;
18
18
  nodesSourceId: string;
19
19
  creationBlockNumber: number;
20
- metadata: import("@prisma/client/runtime/client").JsonValue;
20
+ metadata: import("@prisma/client/runtime/library").JsonValue;
21
21
  })[]>;
22
22
  // Solution 1: Remove the generic and infer from the protocol parameter
23
23
  static getNodesByMetadata<P extends Protocol>(chainIds: ChainId[], protocol: P, // Change this to P instead of Protocol
@@ -1,3 +1,4 @@
1
+ import { AprType } from "@package/databases/api";
1
2
  import type { OpportunityWithoutRecords, OpportunityWithoutRecordsAndRelation } from "./opportunity.model";
2
3
  import type { OpportunityRepository } from "./opportunity.repository";
3
4
  export declare abstract class OpportunityFormatter {
@@ -27,7 +28,7 @@ export declare abstract class OpportunityFormatter {
27
28
  value: number;
28
29
  } | {
29
30
  identifier: string;
30
- type: import("@package/databases").AprType;
31
+ type: AprType;
31
32
  timestamp: bigint;
32
33
  value: number;
33
34
  })[];
@@ -47,7 +47,7 @@ export declare abstract class OpportunityRepository {
47
47
  howToSteps: string[];
48
48
  depositUrl: string | null;
49
49
  explorerAddress: string | null;
50
- status: import("@package/databases").Status;
50
+ status: Status;
51
51
  action: import("@package/databases").OpportunityAction;
52
52
  mainProtocolId: string | null;
53
53
  tvl: number;
@@ -111,7 +111,7 @@ export declare abstract class OpportunityRepository {
111
111
  opportunityId: string;
112
112
  startTimestamp: bigint;
113
113
  endTimestamp: bigint;
114
- params: import("@prisma/client/runtime/client").JsonValue;
114
+ params: import("@prisma/client/runtime/library").JsonValue;
115
115
  description: string | null;
116
116
  dailyRewards: number;
117
117
  apr: number;
@@ -137,7 +137,7 @@ export declare abstract class OpportunityRepository {
137
137
  processingStarted: bigint;
138
138
  status: import("@package/databases").RunStatus;
139
139
  error: string;
140
- details: import("@prisma/client/runtime/client").JsonValue;
140
+ details: import("@prisma/client/runtime/library").JsonValue;
141
141
  }[];
142
142
  RewardToken: {
143
143
  id: string;
@@ -230,7 +230,7 @@ export declare abstract class OpportunityRepository {
230
230
  howToSteps: string[];
231
231
  depositUrl: string | null;
232
232
  explorerAddress: string | null;
233
- status: import("@package/databases").Status;
233
+ status: Status;
234
234
  action: import("@package/databases").OpportunityAction;
235
235
  mainProtocolId: string | null;
236
236
  tvl: number;
@@ -276,7 +276,7 @@ export declare abstract class OpportunityRepository {
276
276
  opportunityId: string;
277
277
  startTimestamp: bigint;
278
278
  endTimestamp: bigint;
279
- params: import("@prisma/client/runtime/client").JsonValue;
279
+ params: import("@prisma/client/runtime/library").JsonValue;
280
280
  description: string | null;
281
281
  dailyRewards: number;
282
282
  apr: number;
@@ -302,7 +302,7 @@ export declare abstract class OpportunityRepository {
302
302
  processingStarted: bigint;
303
303
  status: import("@package/databases").RunStatus;
304
304
  error: string;
305
- details: import("@prisma/client/runtime/client").JsonValue;
305
+ details: import("@prisma/client/runtime/library").JsonValue;
306
306
  }[];
307
307
  RewardToken: {
308
308
  id: string;
@@ -395,7 +395,7 @@ export declare abstract class OpportunityRepository {
395
395
  howToSteps: string[];
396
396
  depositUrl: string | null;
397
397
  explorerAddress: string | null;
398
- status: import("@package/databases").Status;
398
+ status: Status;
399
399
  action: import("@package/databases").OpportunityAction;
400
400
  mainProtocolId: string | null;
401
401
  tvl: number;
@@ -437,7 +437,7 @@ export declare abstract class OpportunityRepository {
437
437
  processingStarted: bigint;
438
438
  status: import("@package/databases").RunStatus;
439
439
  error: string;
440
- details: import("@prisma/client/runtime/client").JsonValue;
440
+ details: import("@prisma/client/runtime/library").JsonValue;
441
441
  }[];
442
442
  ChildCampaigns: {
443
443
  id: string;
@@ -471,7 +471,7 @@ export declare abstract class OpportunityRepository {
471
471
  howToSteps: string[];
472
472
  depositUrl: string | null;
473
473
  explorerAddress: string | null;
474
- status: import("@package/databases").Status;
474
+ status: Status;
475
475
  action: import("@package/databases").OpportunityAction;
476
476
  mainProtocolId: string | null;
477
477
  tvl: number;
@@ -526,7 +526,7 @@ export declare abstract class OpportunityRepository {
526
526
  opportunityId: string;
527
527
  startTimestamp: bigint;
528
528
  endTimestamp: bigint;
529
- params: import("@prisma/client/runtime/client").JsonValue;
529
+ params: import("@prisma/client/runtime/library").JsonValue;
530
530
  description: string | null;
531
531
  dailyRewards: number;
532
532
  apr: number;
@@ -559,7 +559,7 @@ export declare abstract class OpportunityRepository {
559
559
  processingStarted: bigint;
560
560
  status: import("@package/databases").RunStatus;
561
561
  error: string;
562
- details: import("@prisma/client/runtime/client").JsonValue;
562
+ details: import("@prisma/client/runtime/library").JsonValue;
563
563
  }[];
564
564
  RewardToken: {
565
565
  id: string;
@@ -652,7 +652,7 @@ export declare abstract class OpportunityRepository {
652
652
  howToSteps: string[];
653
653
  depositUrl: string | null;
654
654
  explorerAddress: string | null;
655
- status: import("@package/databases").Status;
655
+ status: Status;
656
656
  action: import("@package/databases").OpportunityAction;
657
657
  mainProtocolId: string | null;
658
658
  tvl: number;
@@ -697,7 +697,7 @@ export declare abstract class OpportunityRepository {
697
697
  opportunityId: string;
698
698
  startTimestamp: bigint;
699
699
  endTimestamp: bigint;
700
- params: import("@prisma/client/runtime/client").JsonValue;
700
+ params: import("@prisma/client/runtime/library").JsonValue;
701
701
  description: string | null;
702
702
  dailyRewards: number;
703
703
  apr: number;
@@ -730,7 +730,7 @@ export declare abstract class OpportunityRepository {
730
730
  processingStarted: bigint;
731
731
  status: import("@package/databases").RunStatus;
732
732
  error: string;
733
- details: import("@prisma/client/runtime/client").JsonValue;
733
+ details: import("@prisma/client/runtime/library").JsonValue;
734
734
  }[];
735
735
  RewardToken: {
736
736
  id: string;
@@ -823,7 +823,7 @@ export declare abstract class OpportunityRepository {
823
823
  howToSteps: string[];
824
824
  depositUrl: string | null;
825
825
  explorerAddress: string | null;
826
- status: import("@package/databases").Status;
826
+ status: Status;
827
827
  action: import("@package/databases").OpportunityAction;
828
828
  mainProtocolId: string | null;
829
829
  tvl: number;
@@ -855,7 +855,7 @@ export declare abstract class OpportunityRepository {
855
855
  howToSteps: string[];
856
856
  depositUrl: string | null;
857
857
  explorerAddress: string | null;
858
- status: import("@package/databases").Status;
858
+ status: Status;
859
859
  action: import("@package/databases").OpportunityAction;
860
860
  mainProtocolId: string | null;
861
861
  tvl: number;
@@ -971,7 +971,7 @@ export declare abstract class OpportunityRepository {
971
971
  opportunityId: string;
972
972
  startTimestamp: bigint;
973
973
  endTimestamp: bigint;
974
- params: import("@prisma/client/runtime/client").JsonValue;
974
+ params: import("@prisma/client/runtime/library").JsonValue;
975
975
  description: string | null;
976
976
  dailyRewards: number;
977
977
  apr: number;
@@ -1004,7 +1004,7 @@ export declare abstract class OpportunityRepository {
1004
1004
  processingStarted: bigint;
1005
1005
  status: import("@package/databases").RunStatus;
1006
1006
  error: string;
1007
- details: import("@prisma/client/runtime/client").JsonValue;
1007
+ details: import("@prisma/client/runtime/library").JsonValue;
1008
1008
  }[];
1009
1009
  RewardToken: {
1010
1010
  id: string;
@@ -1097,7 +1097,7 @@ export declare abstract class OpportunityRepository {
1097
1097
  howToSteps: string[];
1098
1098
  depositUrl: string | null;
1099
1099
  explorerAddress: string | null;
1100
- status: import("@package/databases").Status;
1100
+ status: Status;
1101
1101
  action: import("@package/databases").OpportunityAction;
1102
1102
  mainProtocolId: string | null;
1103
1103
  tvl: number;
@@ -1165,7 +1165,7 @@ export declare abstract class OpportunityRepository {
1165
1165
  opportunityId: string;
1166
1166
  startTimestamp: bigint;
1167
1167
  endTimestamp: bigint;
1168
- params: import("@prisma/client/runtime/client").JsonValue;
1168
+ params: import("@prisma/client/runtime/library").JsonValue;
1169
1169
  description: string | null;
1170
1170
  dailyRewards: number;
1171
1171
  apr: number;
@@ -1184,7 +1184,7 @@ export declare abstract class OpportunityRepository {
1184
1184
  howToSteps: string[];
1185
1185
  depositUrl: string | null;
1186
1186
  explorerAddress: string | null;
1187
- status: import("@package/databases").Status;
1187
+ status: Status;
1188
1188
  action: import("@package/databases").OpportunityAction;
1189
1189
  mainProtocolId: string | null;
1190
1190
  tvl: number;
@@ -1207,7 +1207,7 @@ export declare abstract class OpportunityRepository {
1207
1207
  howToSteps: string[];
1208
1208
  depositUrl: string | null;
1209
1209
  explorerAddress: string | null;
1210
- status: import("@package/databases").Status;
1210
+ status: Status;
1211
1211
  action: import("@package/databases").OpportunityAction;
1212
1212
  mainProtocolId: string | null;
1213
1213
  tvl: number;
@@ -1229,7 +1229,7 @@ export declare abstract class OpportunityRepository {
1229
1229
  howToSteps: string[];
1230
1230
  depositUrl: string | null;
1231
1231
  explorerAddress: string | null;
1232
- status: import("@package/databases").Status;
1232
+ status: Status;
1233
1233
  action: import("@package/databases").OpportunityAction;
1234
1234
  mainProtocolId: string | null;
1235
1235
  tvl: number;
@@ -1,5 +1,5 @@
1
1
  import type { OpportunityUpdateArgs } from "@package/databases";
2
- import { DistributionType, type OpportunityAction, type OpportunityManualOverride, type Prisma, TokenType } from "@package/databases/api";
2
+ import { DistributionType, type OpportunityAction, type OpportunityManualOverride, type Prisma, Status, TokenType } from "@package/databases/api";
3
3
  import type { MerklChainId } from "@package/sdk";
4
4
  import type { CampaignWithParams, FindCampaignModel } from "../../../modules/v4/campaign/campaign.model";
5
5
  import type { Protocol } from "../protocol/protocol.model";
@@ -11,7 +11,7 @@ export declare abstract class OpportunityService {
11
11
  point?: boolean | undefined;
12
12
  test?: boolean | undefined;
13
13
  }): {
14
- tokenTypes: import("@package/databases").TokenType[] | undefined;
14
+ tokenTypes: TokenType[] | undefined;
15
15
  test: boolean;
16
16
  };
17
17
  static transformQueryToDistributionTypes(query: {
@@ -42,8 +42,8 @@ export declare abstract class OpportunityService {
42
42
  howToSteps: string[];
43
43
  depositUrl: string | null;
44
44
  explorerAddress: string | null;
45
- status: import("@package/databases").Status;
46
- action: import("@package/databases").OpportunityAction;
45
+ status: Status;
46
+ action: OpportunityAction;
47
47
  mainProtocolId: string | null;
48
48
  tvl: number;
49
49
  apr: number;
@@ -51,7 +51,7 @@ export declare abstract class OpportunityService {
51
51
  dailyRewards: number;
52
52
  tags: string[];
53
53
  lastCampaignCreatedAt: Date;
54
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
54
+ manualOverrides: OpportunityManualOverride[];
55
55
  liveCampaigns: number;
56
56
  }>;
57
57
  static deleteOverrides(id: string, overridesToDelete: OpportunityManualOverride[]): Promise<{
@@ -72,7 +72,7 @@ export declare abstract class OpportunityService {
72
72
  isTest: boolean;
73
73
  name: string | null;
74
74
  symbol: string;
75
- type: import("@package/databases").TokenType;
75
+ type: TokenType;
76
76
  verified: boolean;
77
77
  } & {
78
78
  price?: number | null | undefined;
@@ -110,7 +110,7 @@ export declare abstract class OpportunityService {
110
110
  icon: string;
111
111
  verified: boolean;
112
112
  isTest: boolean;
113
- type: import("@package/databases").TokenType;
113
+ type: TokenType;
114
114
  isNative: boolean;
115
115
  price: number | null;
116
116
  updatedAt: number | null;
@@ -126,8 +126,8 @@ export declare abstract class OpportunityService {
126
126
  howToSteps: string[];
127
127
  depositUrl: string | null;
128
128
  explorerAddress: string | null;
129
- status: import("@package/databases").Status;
130
- action: import("@package/databases").OpportunityAction;
129
+ status: Status;
130
+ action: OpportunityAction;
131
131
  mainProtocolId: string | null;
132
132
  tvl: number;
133
133
  apr: number;
@@ -135,7 +135,7 @@ export declare abstract class OpportunityService {
135
135
  dailyRewards: number;
136
136
  tags: string[];
137
137
  lastCampaignCreatedAt: Date;
138
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
138
+ manualOverrides: OpportunityManualOverride[];
139
139
  liveCampaigns: number;
140
140
  })>;
141
141
  /**
@@ -161,7 +161,7 @@ export declare abstract class OpportunityService {
161
161
  isTest: boolean;
162
162
  name: string | null;
163
163
  symbol: string;
164
- type: import("@package/databases").TokenType;
164
+ type: TokenType;
165
165
  verified: boolean;
166
166
  } & {
167
167
  price?: number | null | undefined;
@@ -199,7 +199,7 @@ export declare abstract class OpportunityService {
199
199
  icon: string;
200
200
  verified: boolean;
201
201
  isTest: boolean;
202
- type: import("@package/databases").TokenType;
202
+ type: TokenType;
203
203
  isNative: boolean;
204
204
  price: number | null;
205
205
  updatedAt: number | null;
@@ -215,8 +215,8 @@ export declare abstract class OpportunityService {
215
215
  howToSteps: string[];
216
216
  depositUrl: string | null;
217
217
  explorerAddress: string | null;
218
- status: import("@package/databases").Status;
219
- action: import("@package/databases").OpportunityAction;
218
+ status: Status;
219
+ action: OpportunityAction;
220
220
  mainProtocolId: string | null;
221
221
  tvl: number;
222
222
  apr: number;
@@ -224,7 +224,7 @@ export declare abstract class OpportunityService {
224
224
  dailyRewards: number;
225
225
  tags: string[];
226
226
  lastCampaignCreatedAt: Date;
227
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
227
+ manualOverrides: OpportunityManualOverride[];
228
228
  liveCampaigns: number;
229
229
  })>;
230
230
  /**
@@ -249,7 +249,7 @@ export declare abstract class OpportunityService {
249
249
  isTest: boolean;
250
250
  name: string | null;
251
251
  symbol: string;
252
- type: import("@package/databases").TokenType;
252
+ type: TokenType;
253
253
  verified: boolean;
254
254
  } & {
255
255
  price?: number | null | undefined;
@@ -287,7 +287,7 @@ export declare abstract class OpportunityService {
287
287
  icon: string;
288
288
  verified: boolean;
289
289
  isTest: boolean;
290
- type: import("@package/databases").TokenType;
290
+ type: TokenType;
291
291
  isNative: boolean;
292
292
  price: number | null;
293
293
  updatedAt: number | null;
@@ -303,8 +303,8 @@ export declare abstract class OpportunityService {
303
303
  howToSteps: string[];
304
304
  depositUrl: string | null;
305
305
  explorerAddress: string | null;
306
- status: import("@package/databases").Status;
307
- action: import("@package/databases").OpportunityAction;
306
+ status: Status;
307
+ action: OpportunityAction;
308
308
  mainProtocolId: string | null;
309
309
  tvl: number;
310
310
  apr: number;
@@ -312,7 +312,7 @@ export declare abstract class OpportunityService {
312
312
  dailyRewards: number;
313
313
  tags: string[];
314
314
  lastCampaignCreatedAt: Date;
315
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
315
+ manualOverrides: OpportunityManualOverride[];
316
316
  liveCampaigns: number;
317
317
  })>;
318
318
  /**
@@ -532,8 +532,8 @@ export declare abstract class OpportunityService {
532
532
  name: string;
533
533
  description: string;
534
534
  howToSteps: string[];
535
- status: import("@package/databases").Status;
536
- action: import("@package/databases").OpportunityAction;
535
+ status: Status;
536
+ action: OpportunityAction;
537
537
  tvl: number;
538
538
  apr: number;
539
539
  maxApr: number | null;
@@ -544,7 +544,7 @@ export declare abstract class OpportunityService {
544
544
  cumulated: number;
545
545
  timestamp: bigint;
546
546
  breakdowns: ({
547
- distributionType: import("@package/databases").DistributionType;
547
+ distributionType: DistributionType;
548
548
  identifier: string;
549
549
  type: "CAMPAIGN";
550
550
  timestamp: bigint;
@@ -586,7 +586,7 @@ export declare abstract class OpportunityService {
586
586
  icon: string;
587
587
  verified: boolean;
588
588
  isTest: boolean;
589
- type: import("@package/databases").TokenType;
589
+ type: TokenType;
590
590
  isNative: boolean;
591
591
  price: number | null;
592
592
  updatedAt: number | null;
@@ -594,7 +594,7 @@ export declare abstract class OpportunityService {
594
594
  };
595
595
  amount: bigint;
596
596
  value: number;
597
- distributionType: import("@package/databases").DistributionType;
597
+ distributionType: DistributionType;
598
598
  }[];
599
599
  };
600
600
  campaigns: Omit<CampaignWithParams, "manualOverrides">[] | undefined;
@@ -609,7 +609,7 @@ export declare abstract class OpportunityService {
609
609
  isTest: boolean;
610
610
  name: string | null;
611
611
  symbol: string;
612
- type: import("@package/databases").TokenType;
612
+ type: TokenType;
613
613
  verified: boolean;
614
614
  } & {
615
615
  price?: number | null | undefined;
@@ -654,8 +654,8 @@ export declare abstract class OpportunityService {
654
654
  howToSteps: string[];
655
655
  depositUrl: string | null;
656
656
  explorerAddress: string | null;
657
- status: import("@package/databases").Status;
658
- action: import("@package/databases").OpportunityAction;
657
+ status: Status;
658
+ action: OpportunityAction;
659
659
  mainProtocolId: string | null;
660
660
  tvl: number;
661
661
  apr: number;
@@ -663,7 +663,7 @@ export declare abstract class OpportunityService {
663
663
  dailyRewards: number;
664
664
  tags: string[];
665
665
  lastCampaignCreatedAt: Date;
666
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
666
+ manualOverrides: OpportunityManualOverride[];
667
667
  liveCampaigns: number;
668
668
  }[]>;
669
669
  /**
@@ -680,8 +680,8 @@ export declare abstract class OpportunityService {
680
680
  name: string;
681
681
  description: string;
682
682
  howToSteps: string[];
683
- status: import("@package/databases").Status;
684
- action: import("@package/databases").OpportunityAction;
683
+ status: Status;
684
+ action: OpportunityAction;
685
685
  tvl: number;
686
686
  apr: number;
687
687
  maxApr: number | null;
@@ -692,7 +692,7 @@ export declare abstract class OpportunityService {
692
692
  cumulated: number;
693
693
  timestamp: bigint;
694
694
  breakdowns: ({
695
- distributionType: import("@package/databases").DistributionType;
695
+ distributionType: DistributionType;
696
696
  identifier: string;
697
697
  type: "CAMPAIGN";
698
698
  timestamp: bigint;
@@ -734,7 +734,7 @@ export declare abstract class OpportunityService {
734
734
  icon: string;
735
735
  verified: boolean;
736
736
  isTest: boolean;
737
- type: import("@package/databases").TokenType;
737
+ type: TokenType;
738
738
  isNative: boolean;
739
739
  price: number | null;
740
740
  updatedAt: number | null;
@@ -742,7 +742,7 @@ export declare abstract class OpportunityService {
742
742
  };
743
743
  amount: bigint;
744
744
  value: number;
745
- distributionType: import("@package/databases").DistributionType;
745
+ distributionType: DistributionType;
746
746
  }[];
747
747
  };
748
748
  campaigns: Omit<CampaignWithParams, "manualOverrides">[] | undefined;
@@ -757,7 +757,7 @@ export declare abstract class OpportunityService {
757
757
  isTest: boolean;
758
758
  name: string | null;
759
759
  symbol: string;
760
- type: import("@package/databases").TokenType;
760
+ type: TokenType;
761
761
  verified: boolean;
762
762
  } & {
763
763
  price?: number | null | undefined;
@@ -811,8 +811,8 @@ export declare abstract class OpportunityService {
811
811
  howToSteps: string[];
812
812
  depositUrl: string | null;
813
813
  explorerAddress: string | null;
814
- status: import("@package/databases").Status;
815
- action: import("@package/databases").OpportunityAction;
814
+ status: Status;
815
+ action: OpportunityAction;
816
816
  mainProtocolId: string | null;
817
817
  tvl: number;
818
818
  apr: number;
@@ -820,7 +820,7 @@ export declare abstract class OpportunityService {
820
820
  dailyRewards: number;
821
821
  tags: string[];
822
822
  lastCampaignCreatedAt: Date;
823
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
823
+ manualOverrides: OpportunityManualOverride[];
824
824
  liveCampaigns: number;
825
825
  }>;
826
826
  static updateMany(ids: string[], data: Partial<Opportunity["raw"]>): Promise<Prisma.BatchPayload>;
@@ -32,7 +32,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
32
32
  protected: boolean;
33
33
  identifier: string;
34
34
  method: import("@package/databases").PriceSourceMethod;
35
- args: import("@prisma/client/runtime/client").JsonValue;
35
+ args: import("@prisma/client/runtime/library").JsonValue;
36
36
  value: number | null;
37
37
  updatedAt: number | null;
38
38
  };
@@ -63,7 +63,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
63
63
  protected: boolean;
64
64
  identifier: string;
65
65
  method: import("@package/databases").PriceSourceMethod;
66
- args: import("@prisma/client/runtime/client").JsonValue;
66
+ args: import("@prisma/client/runtime/library").JsonValue;
67
67
  value: number | null;
68
68
  updatedAt: number | null;
69
69
  }[];
@@ -118,7 +118,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
118
118
  protected: boolean;
119
119
  identifier: string;
120
120
  method: import("@package/databases").PriceSourceMethod;
121
- args: import("@prisma/client/runtime/client").JsonValue;
121
+ args: import("@prisma/client/runtime/library").JsonValue;
122
122
  value: number | null;
123
123
  updatedAt: number | null;
124
124
  };
@@ -160,7 +160,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
160
160
  protected: boolean;
161
161
  identifier: string;
162
162
  method: import("@package/databases").PriceSourceMethod;
163
- args: import("@prisma/client/runtime/client").JsonValue;
163
+ args: import("@prisma/client/runtime/library").JsonValue;
164
164
  value: number | null;
165
165
  updatedAt: number | null;
166
166
  };
@@ -196,7 +196,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
196
196
  protected: boolean;
197
197
  identifier: string;
198
198
  method: import("@package/databases").PriceSourceMethod;
199
- args: import("@prisma/client/runtime/client").JsonValue;
199
+ args: import("@prisma/client/runtime/library").JsonValue;
200
200
  value: number | null;
201
201
  updatedAt: number | null;
202
202
  };
@@ -7,8 +7,8 @@ export declare class PriceSourceRepository {
7
7
  type: import("@package/databases").PriceSourceType;
8
8
  protected: boolean;
9
9
  identifier: string;
10
- method: import("@package/databases").PriceSourceMethod;
11
- args: import("@prisma/client/runtime/client").JsonValue;
10
+ method: PriceSourceMethod;
11
+ args: import("@prisma/client/runtime/library").JsonValue;
12
12
  value: number | null;
13
13
  updatedAt: number | null;
14
14
  }>;
@@ -19,8 +19,8 @@ export declare class PriceSourceRepository {
19
19
  type: import("@package/databases").PriceSourceType;
20
20
  protected: boolean;
21
21
  identifier: string;
22
- method: import("@package/databases").PriceSourceMethod;
23
- args: import("@prisma/client/runtime/client").JsonValue;
22
+ method: PriceSourceMethod;
23
+ args: import("@prisma/client/runtime/library").JsonValue;
24
24
  value: number | null;
25
25
  updatedAt: number | null;
26
26
  }[]>;
@@ -29,8 +29,8 @@ export declare class PriceSourceRepository {
29
29
  type: import("@package/databases").PriceSourceType;
30
30
  protected: boolean;
31
31
  identifier: string;
32
- method: import("@package/databases").PriceSourceMethod;
33
- args: import("@prisma/client/runtime/client").JsonValue;
32
+ method: PriceSourceMethod;
33
+ args: import("@prisma/client/runtime/library").JsonValue;
34
34
  value: number | null;
35
35
  updatedAt: number | null;
36
36
  }>;
@@ -39,8 +39,8 @@ export declare class PriceSourceRepository {
39
39
  type: import("@package/databases").PriceSourceType;
40
40
  protected: boolean;
41
41
  identifier: string;
42
- method: import("@package/databases").PriceSourceMethod;
43
- args: import("@prisma/client/runtime/client").JsonValue;
42
+ method: PriceSourceMethod;
43
+ args: import("@prisma/client/runtime/library").JsonValue;
44
44
  value: number | null;
45
45
  updatedAt: number | null;
46
46
  }>;
@@ -49,8 +49,8 @@ export declare class PriceSourceRepository {
49
49
  type: import("@package/databases").PriceSourceType;
50
50
  protected: boolean;
51
51
  identifier: string;
52
- method: import("@package/databases").PriceSourceMethod;
53
- args: import("@prisma/client/runtime/client").JsonValue;
52
+ method: PriceSourceMethod;
53
+ args: import("@prisma/client/runtime/library").JsonValue;
54
54
  value: number | null;
55
55
  updatedAt: number | null;
56
56
  }>;
@@ -59,8 +59,8 @@ export declare class PriceSourceRepository {
59
59
  type: import("@package/databases").PriceSourceType;
60
60
  protected: boolean;
61
61
  identifier: string;
62
- method: import("@package/databases").PriceSourceMethod;
63
- args: import("@prisma/client/runtime/client").JsonValue;
62
+ method: PriceSourceMethod;
63
+ args: import("@prisma/client/runtime/library").JsonValue;
64
64
  value: number | null;
65
65
  updatedAt: number | null;
66
66
  }>;