@merkl/api 1.4.2 → 1.4.4

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 (63) hide show
  1. package/dist/src/eden/index.d.ts +53 -47
  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 +625 -619
  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 +6 -3
  10. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -24
  11. package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
  12. package/dist/src/modules/v4/campaign/campaign.service.d.ts +11 -8
  13. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +243 -243
  14. package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +2 -2
  15. package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +3 -3
  16. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +3 -3
  17. package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +4 -4
  18. package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +4 -4
  19. package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.d.ts +7 -7
  20. package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +21 -21
  21. package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +19 -18
  22. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.d.ts +2 -1
  23. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +1 -1
  24. package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +1 -1
  25. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
  26. package/dist/src/modules/v4/creator/creator.controller.d.ts +5 -2
  27. package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -1
  28. package/dist/src/modules/v4/creator/creator.service.d.ts +5 -2
  29. package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +9 -8
  30. package/dist/src/modules/v4/dynamicData/dynamicData.service.js.map +1 -1
  31. package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
  32. package/dist/src/modules/v4/explorer/explorer.service.d.ts +3 -3
  33. package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +2 -2
  34. package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +2 -2
  35. package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +2 -2
  36. package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +2 -2
  37. package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +2 -2
  38. package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +2 -2
  39. package/dist/src/modules/v4/node/node.repository.d.ts +3 -3
  40. package/dist/src/modules/v4/node/node.service.d.ts +1 -1
  41. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +2 -1
  42. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +23 -23
  43. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +38 -38
  44. package/dist/src/modules/v4/priceSource/priceSource.controller.d.ts +5 -5
  45. package/dist/src/modules/v4/priceSource/priceSource.repository.d.ts +12 -12
  46. package/dist/src/modules/v4/priceSource/priceSource.service.d.ts +12 -12
  47. package/dist/src/modules/v4/program/program.controller.d.ts +2 -2
  48. package/dist/src/modules/v4/program/program.repository.d.ts +2 -2
  49. package/dist/src/modules/v4/program/program.service.d.ts +2 -2
  50. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +248 -248
  51. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -1
  52. package/dist/src/modules/v4/reward/reward.repository.d.ts +5 -5
  53. package/dist/src/modules/v4/reward/reward.service.d.ts +14 -14
  54. package/dist/src/modules/v4/router.d.ts +44 -38
  55. package/dist/src/modules/v4/token/token.controller.d.ts +10 -9
  56. package/dist/src/modules/v4/token/token.repository.d.ts +5 -5
  57. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +4 -4
  58. package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
  59. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -2
  60. package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
  61. package/dist/src/utils/parseDistributionType.d.ts +2 -1
  62. package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
  63. package/package.json +1 -1
@@ -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
  }>;
@@ -10,8 +10,8 @@ export declare class PriceSourceService {
10
10
  type: PriceSourceType;
11
11
  protected: boolean;
12
12
  identifier: string;
13
- method: import("@package/databases").PriceSourceMethod;
14
- args: import("@prisma/client/runtime/client").JsonValue;
13
+ method: PriceSourceMethod;
14
+ args: import("@prisma/client/runtime/library").JsonValue;
15
15
  value: number | null;
16
16
  updatedAt: number | null;
17
17
  }>;
@@ -22,8 +22,8 @@ export declare class PriceSourceService {
22
22
  type: PriceSourceType;
23
23
  protected: boolean;
24
24
  identifier: string;
25
- method: import("@package/databases").PriceSourceMethod;
26
- args: import("@prisma/client/runtime/client").JsonValue;
25
+ method: PriceSourceMethod;
26
+ args: import("@prisma/client/runtime/library").JsonValue;
27
27
  value: number | null;
28
28
  updatedAt: number | null;
29
29
  }[]>;
@@ -33,8 +33,8 @@ export declare class PriceSourceService {
33
33
  type: PriceSourceType;
34
34
  protected: boolean;
35
35
  identifier: string;
36
- method: import("@package/databases").PriceSourceMethod;
37
- args: import("@prisma/client/runtime/client").JsonValue;
36
+ method: PriceSourceMethod;
37
+ args: import("@prisma/client/runtime/library").JsonValue;
38
38
  value: number | null;
39
39
  updatedAt: number | null;
40
40
  }>;
@@ -43,8 +43,8 @@ export declare class PriceSourceService {
43
43
  type: PriceSourceType;
44
44
  protected: boolean;
45
45
  identifier: string;
46
- method: import("@package/databases").PriceSourceMethod;
47
- args: import("@prisma/client/runtime/client").JsonValue;
46
+ method: PriceSourceMethod;
47
+ args: import("@prisma/client/runtime/library").JsonValue;
48
48
  value: number | null;
49
49
  updatedAt: number | null;
50
50
  }>;
@@ -53,8 +53,8 @@ export declare class PriceSourceService {
53
53
  type: PriceSourceType;
54
54
  protected: boolean;
55
55
  identifier: string;
56
- method: import("@package/databases").PriceSourceMethod;
57
- args: import("@prisma/client/runtime/client").JsonValue;
56
+ method: PriceSourceMethod;
57
+ args: import("@prisma/client/runtime/library").JsonValue;
58
58
  value: number | null;
59
59
  updatedAt: number | null;
60
60
  }>;
@@ -63,8 +63,8 @@ export declare class PriceSourceService {
63
63
  type: PriceSourceType;
64
64
  protected: boolean;
65
65
  identifier: string;
66
- method: import("@package/databases").PriceSourceMethod;
67
- args: import("@prisma/client/runtime/client").JsonValue;
66
+ method: PriceSourceMethod;
67
+ args: import("@prisma/client/runtime/library").JsonValue;
68
68
  value: number | null;
69
69
  updatedAt: number | null;
70
70
  }>;
@@ -153,7 +153,7 @@ export declare const ProgramController: Elysia<"/programs", {
153
153
  opportunityId: string;
154
154
  startTimestamp: bigint;
155
155
  endTimestamp: bigint;
156
- params: import("@prisma/client/runtime/client").JsonValue;
156
+ params: import("@prisma/client/runtime/library").JsonValue;
157
157
  description: string | null;
158
158
  dailyRewards: number;
159
159
  apr: number;
@@ -212,7 +212,7 @@ export declare const ProgramController: Elysia<"/programs", {
212
212
  opportunityId: string;
213
213
  startTimestamp: bigint;
214
214
  endTimestamp: bigint;
215
- params: import("@prisma/client/runtime/client").JsonValue;
215
+ params: import("@prisma/client/runtime/library").JsonValue;
216
216
  description: string | null;
217
217
  dailyRewards: number;
218
218
  apr: number;
@@ -64,7 +64,7 @@ export declare abstract class ProgramRepository {
64
64
  opportunityId: string;
65
65
  startTimestamp: bigint;
66
66
  endTimestamp: bigint;
67
- params: import("@prisma/client/runtime/client").JsonValue;
67
+ params: import("@prisma/client/runtime/library").JsonValue;
68
68
  description: string | null;
69
69
  dailyRewards: number;
70
70
  apr: number;
@@ -102,7 +102,7 @@ export declare abstract class ProgramRepository {
102
102
  opportunityId: string;
103
103
  startTimestamp: bigint;
104
104
  endTimestamp: bigint;
105
- params: import("@prisma/client/runtime/client").JsonValue;
105
+ params: import("@prisma/client/runtime/library").JsonValue;
106
106
  description: string | null;
107
107
  dailyRewards: number;
108
108
  apr: number;
@@ -71,7 +71,7 @@ export declare abstract class ProgramService {
71
71
  opportunityId: string;
72
72
  startTimestamp: bigint;
73
73
  endTimestamp: bigint;
74
- params: import("@prisma/client/runtime/client").JsonValue;
74
+ params: import("@prisma/client/runtime/library").JsonValue;
75
75
  description: string | null;
76
76
  dailyRewards: number;
77
77
  apr: number;
@@ -103,7 +103,7 @@ export declare abstract class ProgramService {
103
103
  opportunityId: string;
104
104
  startTimestamp: bigint;
105
105
  endTimestamp: bigint;
106
- params: import("@prisma/client/runtime/client").JsonValue;
106
+ params: import("@prisma/client/runtime/library").JsonValue;
107
107
  description: string | null;
108
108
  dailyRewards: number;
109
109
  apr: number;