@merkl/api 1.4.54 → 1.4.55
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.
- package/dist/src/eden/index.d.ts +4769 -4868
- package/dist/src/index.d.ts +293 -385
- package/dist/src/libs/computeFee.d.ts +789 -789
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +32 -170
- package/dist/src/modules/v4/campaign/campaign.controller.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.formatter.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +10 -2
- package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +347 -121
- package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +6 -2
- package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
- package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.d.ts +5 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +1 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.js.map +1 -1
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +7 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.js.map +1 -1
- package/dist/src/modules/v4/payload/payload.controller.d.ts +3 -3
- package/dist/src/modules/v4/payload/payload.service.d.ts +3 -3
- package/dist/src/modules/v4/priceSource/priceFetchers/factory.js.map +1 -1
- package/dist/src/modules/v4/priceSource/priceFetchers/implementations/fakeCampaign.js.map +1 -1
- package/dist/src/modules/v4/priceSource/priceSource.service.js.map +1 -1
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +252 -252
- package/dist/src/modules/v4/programPayload/subPayloads/ethena.d.ts +18 -18
- package/dist/src/modules/v4/reward/reward.service.d.ts +8 -0
- package/dist/src/modules/v4/router.d.ts +6157 -6249
- package/dist/src/modules/v4/token/token.service.js.map +1 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -0
- package/dist/src/utils/parseDistributionType.d.ts +225 -225
- package/package.json +1 -1
@@ -34,13 +34,13 @@ export declare const EthenaPayloads: {
|
|
34
34
|
borrowBytesLike?: undefined;
|
35
35
|
computeChainId?: undefined;
|
36
36
|
} | {
|
37
|
-
chainId?: undefined;
|
38
37
|
healthFactorThreshold?: undefined;
|
39
38
|
targetBytesLike?: undefined;
|
40
39
|
hookType: HookType;
|
41
40
|
protocol: BorrowBLProtocols;
|
42
41
|
borrowBytesLike: string[];
|
43
42
|
computeChainId: ChainId;
|
43
|
+
chainId?: undefined;
|
44
44
|
})[];
|
45
45
|
whitelist: never[];
|
46
46
|
blacklist: string[];
|
@@ -81,13 +81,13 @@ export declare const EthenaPayloads: {
|
|
81
81
|
borrowBytesLike?: undefined;
|
82
82
|
computeChainId?: undefined;
|
83
83
|
} | {
|
84
|
-
chainId?: undefined;
|
85
84
|
healthFactorThreshold?: undefined;
|
86
85
|
targetBytesLike?: undefined;
|
87
86
|
hookType: HookType;
|
88
87
|
protocol: BorrowBLProtocols;
|
89
88
|
borrowBytesLike: string[];
|
90
89
|
computeChainId: ChainId;
|
90
|
+
chainId?: undefined;
|
91
91
|
})[];
|
92
92
|
whitelist: never[];
|
93
93
|
blacklist: string[];
|
@@ -128,13 +128,13 @@ export declare const EthenaPayloads: {
|
|
128
128
|
borrowBytesLike?: undefined;
|
129
129
|
computeChainId?: undefined;
|
130
130
|
} | {
|
131
|
-
chainId?: undefined;
|
132
131
|
healthFactorThreshold?: undefined;
|
133
132
|
targetBytesLike?: undefined;
|
134
133
|
hookType: HookType;
|
135
134
|
protocol: BorrowBLProtocols;
|
136
135
|
borrowBytesLike: string[];
|
137
136
|
computeChainId: ChainId;
|
137
|
+
chainId?: undefined;
|
138
138
|
})[];
|
139
139
|
whitelist: never[];
|
140
140
|
blacklist: string[];
|
@@ -175,13 +175,13 @@ export declare const EthenaPayloads: {
|
|
175
175
|
borrowBytesLike?: undefined;
|
176
176
|
computeChainId?: undefined;
|
177
177
|
} | {
|
178
|
-
chainId?: undefined;
|
179
178
|
healthFactorThreshold?: undefined;
|
180
179
|
targetBytesLike?: undefined;
|
181
180
|
hookType: HookType;
|
182
181
|
protocol: BorrowBLProtocols;
|
183
182
|
borrowBytesLike: string[];
|
184
183
|
computeChainId: ChainId;
|
184
|
+
chainId?: undefined;
|
185
185
|
})[];
|
186
186
|
whitelist: never[];
|
187
187
|
blacklist: string[];
|
@@ -222,13 +222,13 @@ export declare const EthenaPayloads: {
|
|
222
222
|
borrowBytesLike?: undefined;
|
223
223
|
computeChainId?: undefined;
|
224
224
|
} | {
|
225
|
-
chainId?: undefined;
|
226
225
|
healthFactorThreshold?: undefined;
|
227
226
|
targetBytesLike?: undefined;
|
228
227
|
hookType: HookType;
|
229
228
|
protocol: BorrowBLProtocols;
|
230
229
|
borrowBytesLike: string[];
|
231
230
|
computeChainId: ChainId;
|
231
|
+
chainId?: undefined;
|
232
232
|
})[];
|
233
233
|
whitelist: never[];
|
234
234
|
blacklist: string[];
|
@@ -269,13 +269,13 @@ export declare const EthenaPayloads: {
|
|
269
269
|
borrowBytesLike?: undefined;
|
270
270
|
computeChainId?: undefined;
|
271
271
|
} | {
|
272
|
-
chainId?: undefined;
|
273
272
|
healthFactorThreshold?: undefined;
|
274
273
|
targetBytesLike?: undefined;
|
275
274
|
hookType: HookType;
|
276
275
|
protocol: BorrowBLProtocols;
|
277
276
|
borrowBytesLike: string[];
|
278
277
|
computeChainId: ChainId;
|
278
|
+
chainId?: undefined;
|
279
279
|
})[];
|
280
280
|
whitelist: never[];
|
281
281
|
blacklist: string[];
|
@@ -316,13 +316,13 @@ export declare const EthenaPayloads: {
|
|
316
316
|
borrowBytesLike?: undefined;
|
317
317
|
computeChainId?: undefined;
|
318
318
|
} | {
|
319
|
-
chainId?: undefined;
|
320
319
|
healthFactorThreshold?: undefined;
|
321
320
|
targetBytesLike?: undefined;
|
322
321
|
hookType: HookType;
|
323
322
|
protocol: BorrowBLProtocols;
|
324
323
|
borrowBytesLike: string[];
|
325
324
|
computeChainId: ChainId;
|
325
|
+
chainId?: undefined;
|
326
326
|
})[];
|
327
327
|
whitelist: never[];
|
328
328
|
blacklist: string[];
|
@@ -363,13 +363,13 @@ export declare const EthenaPayloads: {
|
|
363
363
|
borrowBytesLike?: undefined;
|
364
364
|
computeChainId?: undefined;
|
365
365
|
} | {
|
366
|
-
chainId?: undefined;
|
367
366
|
healthFactorThreshold?: undefined;
|
368
367
|
targetBytesLike?: undefined;
|
369
368
|
hookType: HookType;
|
370
369
|
protocol: BorrowBLProtocols;
|
371
370
|
borrowBytesLike: string[];
|
372
371
|
computeChainId: ChainId;
|
372
|
+
chainId?: undefined;
|
373
373
|
})[];
|
374
374
|
whitelist: never[];
|
375
375
|
blacklist: string[];
|
@@ -410,13 +410,13 @@ export declare const EthenaPayloads: {
|
|
410
410
|
borrowBytesLike?: undefined;
|
411
411
|
computeChainId?: undefined;
|
412
412
|
} | {
|
413
|
-
chainId?: undefined;
|
414
413
|
healthFactorThreshold?: undefined;
|
415
414
|
targetBytesLike?: undefined;
|
416
415
|
hookType: HookType;
|
417
416
|
protocol: BorrowBLProtocols;
|
418
417
|
borrowBytesLike: string[];
|
419
418
|
computeChainId: ChainId;
|
419
|
+
chainId?: undefined;
|
420
420
|
})[];
|
421
421
|
whitelist: never[];
|
422
422
|
blacklist: string[];
|
@@ -457,13 +457,13 @@ export declare const EthenaPayloads: {
|
|
457
457
|
targetBytesLike: string;
|
458
458
|
chainId: ChainId;
|
459
459
|
} | {
|
460
|
-
chainId?: undefined;
|
461
460
|
healthFactorThreshold?: undefined;
|
462
461
|
targetBytesLike?: undefined;
|
463
462
|
hookType: HookType;
|
464
463
|
protocol: BorrowBLProtocols;
|
465
464
|
borrowBytesLike: string[];
|
466
465
|
computeChainId: ChainId;
|
466
|
+
chainId?: undefined;
|
467
467
|
})[];
|
468
468
|
whitelist: never[];
|
469
469
|
blacklist: string[];
|
@@ -504,13 +504,13 @@ export declare const EthenaPayloads: {
|
|
504
504
|
targetBytesLike: string;
|
505
505
|
chainId: ChainId;
|
506
506
|
} | {
|
507
|
-
chainId?: undefined;
|
508
507
|
healthFactorThreshold?: undefined;
|
509
508
|
targetBytesLike?: undefined;
|
510
509
|
hookType: HookType;
|
511
510
|
protocol: BorrowBLProtocols;
|
512
511
|
borrowBytesLike: string[];
|
513
512
|
computeChainId: ChainId;
|
513
|
+
chainId?: undefined;
|
514
514
|
})[];
|
515
515
|
whitelist: never[];
|
516
516
|
blacklist: string[];
|
@@ -551,13 +551,13 @@ export declare const EthenaPayloads: {
|
|
551
551
|
targetBytesLike: string;
|
552
552
|
chainId: ChainId;
|
553
553
|
} | {
|
554
|
-
chainId?: undefined;
|
555
554
|
healthFactorThreshold?: undefined;
|
556
555
|
targetBytesLike?: undefined;
|
557
556
|
hookType: HookType;
|
558
557
|
protocol: BorrowBLProtocols;
|
559
558
|
borrowBytesLike: string[];
|
560
559
|
computeChainId: ChainId;
|
560
|
+
chainId?: undefined;
|
561
561
|
})[];
|
562
562
|
whitelist: never[];
|
563
563
|
blacklist: string[];
|
@@ -598,13 +598,13 @@ export declare const EthenaPayloads: {
|
|
598
598
|
targetBytesLike: string;
|
599
599
|
chainId: ChainId;
|
600
600
|
} | {
|
601
|
-
chainId?: undefined;
|
602
601
|
healthFactorThreshold?: undefined;
|
603
602
|
targetBytesLike?: undefined;
|
604
603
|
hookType: HookType;
|
605
604
|
protocol: BorrowBLProtocols;
|
606
605
|
borrowBytesLike: string[];
|
607
606
|
computeChainId: ChainId;
|
607
|
+
chainId?: undefined;
|
608
608
|
})[];
|
609
609
|
whitelist: never[];
|
610
610
|
blacklist: string[];
|
@@ -645,13 +645,13 @@ export declare const EthenaPayloads: {
|
|
645
645
|
targetBytesLike: string;
|
646
646
|
chainId: ChainId;
|
647
647
|
} | {
|
648
|
-
chainId?: undefined;
|
649
648
|
healthFactorThreshold?: undefined;
|
650
649
|
targetBytesLike?: undefined;
|
651
650
|
hookType: HookType;
|
652
651
|
protocol: BorrowBLProtocols;
|
653
652
|
borrowBytesLike: string[];
|
654
653
|
computeChainId: ChainId;
|
654
|
+
chainId?: undefined;
|
655
655
|
})[];
|
656
656
|
whitelist: never[];
|
657
657
|
blacklist: string[];
|
@@ -692,13 +692,13 @@ export declare const EthenaPayloads: {
|
|
692
692
|
targetBytesLike: string;
|
693
693
|
chainId: ChainId;
|
694
694
|
} | {
|
695
|
-
chainId?: undefined;
|
696
695
|
healthFactorThreshold?: undefined;
|
697
696
|
targetBytesLike?: undefined;
|
698
697
|
hookType: HookType;
|
699
698
|
protocol: BorrowBLProtocols;
|
700
699
|
borrowBytesLike: string[];
|
701
700
|
computeChainId: ChainId;
|
701
|
+
chainId?: undefined;
|
702
702
|
})[];
|
703
703
|
whitelist: never[];
|
704
704
|
blacklist: string[];
|
@@ -739,13 +739,13 @@ export declare const EthenaPayloads: {
|
|
739
739
|
targetBytesLike: string;
|
740
740
|
chainId: ChainId;
|
741
741
|
} | {
|
742
|
-
chainId?: undefined;
|
743
742
|
healthFactorThreshold?: undefined;
|
744
743
|
targetBytesLike?: undefined;
|
745
744
|
hookType: HookType;
|
746
745
|
protocol: BorrowBLProtocols;
|
747
746
|
borrowBytesLike: string[];
|
748
747
|
computeChainId: ChainId;
|
748
|
+
chainId?: undefined;
|
749
749
|
})[];
|
750
750
|
whitelist: never[];
|
751
751
|
blacklist: string[];
|
@@ -786,13 +786,13 @@ export declare const EthenaPayloads: {
|
|
786
786
|
targetBytesLike: string;
|
787
787
|
chainId: ChainId;
|
788
788
|
} | {
|
789
|
-
chainId?: undefined;
|
790
789
|
healthFactorThreshold?: undefined;
|
791
790
|
targetBytesLike?: undefined;
|
792
791
|
hookType: HookType;
|
793
792
|
protocol: BorrowBLProtocols;
|
794
793
|
borrowBytesLike: string[];
|
795
794
|
computeChainId: ChainId;
|
795
|
+
chainId?: undefined;
|
796
796
|
})[];
|
797
797
|
whitelist: never[];
|
798
798
|
blacklist: string[];
|
@@ -833,13 +833,13 @@ export declare const EthenaPayloads: {
|
|
833
833
|
targetBytesLike: string;
|
834
834
|
chainId: ChainId;
|
835
835
|
} | {
|
836
|
-
chainId?: undefined;
|
837
836
|
healthFactorThreshold?: undefined;
|
838
837
|
targetBytesLike?: undefined;
|
839
838
|
hookType: HookType;
|
840
839
|
protocol: BorrowBLProtocols;
|
841
840
|
borrowBytesLike: string[];
|
842
841
|
computeChainId: ChainId;
|
842
|
+
chainId?: undefined;
|
843
843
|
})[];
|
844
844
|
whitelist: never[];
|
845
845
|
blacklist: string[];
|
@@ -65,6 +65,7 @@ export declare abstract class RewardService {
|
|
65
65
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
66
66
|
delay: number;
|
67
67
|
computedUntil: number;
|
68
|
+
createdAt: number;
|
68
69
|
processingStarted: number;
|
69
70
|
} | undefined;
|
70
71
|
campaignId: string;
|
@@ -177,6 +178,7 @@ export declare abstract class RewardService {
|
|
177
178
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
178
179
|
delay: number;
|
179
180
|
computedUntil: number;
|
181
|
+
createdAt: number;
|
180
182
|
processingStarted: number;
|
181
183
|
} | undefined;
|
182
184
|
campaignId: string;
|
@@ -559,6 +561,7 @@ export declare abstract class RewardService {
|
|
559
561
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
560
562
|
delay: number;
|
561
563
|
computedUntil: number;
|
564
|
+
createdAt: number;
|
562
565
|
processingStarted: number;
|
563
566
|
} | undefined;
|
564
567
|
campaignId: string;
|
@@ -671,6 +674,7 @@ export declare abstract class RewardService {
|
|
671
674
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
672
675
|
delay: number;
|
673
676
|
computedUntil: number;
|
677
|
+
createdAt: number;
|
674
678
|
processingStarted: number;
|
675
679
|
} | undefined;
|
676
680
|
campaignId: string;
|
@@ -1048,6 +1052,7 @@ export declare abstract class RewardService {
|
|
1048
1052
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
1049
1053
|
delay: number;
|
1050
1054
|
computedUntil: number;
|
1055
|
+
createdAt: number;
|
1051
1056
|
processingStarted: number;
|
1052
1057
|
} | undefined;
|
1053
1058
|
campaignId: string;
|
@@ -1160,6 +1165,7 @@ export declare abstract class RewardService {
|
|
1160
1165
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
1161
1166
|
delay: number;
|
1162
1167
|
computedUntil: number;
|
1168
|
+
createdAt: number;
|
1163
1169
|
processingStarted: number;
|
1164
1170
|
} | undefined;
|
1165
1171
|
campaignId: string;
|
@@ -1250,6 +1256,7 @@ export declare abstract class RewardService {
|
|
1250
1256
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
1251
1257
|
delay: number;
|
1252
1258
|
computedUntil: number;
|
1259
|
+
createdAt: number;
|
1253
1260
|
processingStarted: number;
|
1254
1261
|
} | undefined;
|
1255
1262
|
campaignId: string;
|
@@ -1542,6 +1549,7 @@ export declare abstract class RewardService {
|
|
1542
1549
|
details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
|
1543
1550
|
delay: number;
|
1544
1551
|
computedUntil: number;
|
1552
|
+
createdAt: number;
|
1545
1553
|
processingStarted: number;
|
1546
1554
|
} | undefined;
|
1547
1555
|
campaignId: string;
|