@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.
- package/dist/src/eden/index.d.ts +53 -47
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.d.ts +2 -1
- package/dist/src/engine/implementations/Erc20/metadata.d.ts +2 -1
- package/dist/src/index.d.ts +625 -619
- package/dist/src/libs/computeFee.d.ts +228 -228
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +6 -3
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -24
- package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +11 -8
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +243 -243
- package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +2 -2
- package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +3 -3
- package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +3 -3
- package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +4 -4
- package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +4 -4
- package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.d.ts +7 -7
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +21 -21
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +19 -18
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.d.ts +2 -1
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +1 -1
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +1 -1
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.controller.d.ts +5 -2
- package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +5 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +9 -8
- package/dist/src/modules/v4/dynamicData/dynamicData.service.js.map +1 -1
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +3 -3
- package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/node/node.repository.d.ts +3 -3
- package/dist/src/modules/v4/node/node.service.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +2 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +23 -23
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +38 -38
- package/dist/src/modules/v4/priceSource/priceSource.controller.d.ts +5 -5
- package/dist/src/modules/v4/priceSource/priceSource.repository.d.ts +12 -12
- package/dist/src/modules/v4/priceSource/priceSource.service.d.ts +12 -12
- package/dist/src/modules/v4/program/program.controller.d.ts +2 -2
- package/dist/src/modules/v4/program/program.repository.d.ts +2 -2
- package/dist/src/modules/v4/program/program.service.d.ts +2 -2
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +248 -248
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +5 -5
- package/dist/src/modules/v4/reward/reward.service.d.ts +14 -14
- package/dist/src/modules/v4/router.d.ts +44 -38
- package/dist/src/modules/v4/token/token.controller.d.ts +10 -9
- package/dist/src/modules/v4/token/token.repository.d.ts +5 -5
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +4 -4
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -2
- package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
- package/dist/src/utils/parseDistributionType.d.ts +2 -1
- package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ export declare abstract class TokenRepository {
|
|
|
40
40
|
icon: string;
|
|
41
41
|
verified: boolean;
|
|
42
42
|
isTest: boolean;
|
|
43
|
-
type:
|
|
43
|
+
type: TokenType;
|
|
44
44
|
isNative: boolean;
|
|
45
45
|
price: number | null;
|
|
46
46
|
updatedAt: number | null;
|
|
@@ -57,7 +57,7 @@ export declare abstract class TokenRepository {
|
|
|
57
57
|
icon: string;
|
|
58
58
|
verified: boolean;
|
|
59
59
|
isTest: boolean;
|
|
60
|
-
type:
|
|
60
|
+
type: TokenType;
|
|
61
61
|
isNative: boolean;
|
|
62
62
|
price: number | null;
|
|
63
63
|
updatedAt: number | null;
|
|
@@ -74,7 +74,7 @@ export declare abstract class TokenRepository {
|
|
|
74
74
|
icon: string;
|
|
75
75
|
verified: boolean;
|
|
76
76
|
isTest: boolean;
|
|
77
|
-
type:
|
|
77
|
+
type: TokenType;
|
|
78
78
|
isNative: boolean;
|
|
79
79
|
price: number | null;
|
|
80
80
|
updatedAt: number | null;
|
|
@@ -96,7 +96,7 @@ export declare abstract class TokenRepository {
|
|
|
96
96
|
icon: string;
|
|
97
97
|
verified: boolean;
|
|
98
98
|
isTest: boolean;
|
|
99
|
-
type:
|
|
99
|
+
type: TokenType;
|
|
100
100
|
isNative: boolean;
|
|
101
101
|
price: number | null;
|
|
102
102
|
updatedAt: number | null;
|
|
@@ -142,7 +142,7 @@ export declare abstract class TokenRepository {
|
|
|
142
142
|
icon: string;
|
|
143
143
|
verified: boolean;
|
|
144
144
|
isTest: boolean;
|
|
145
|
-
type:
|
|
145
|
+
type: TokenType;
|
|
146
146
|
isNative: boolean;
|
|
147
147
|
price: number | null;
|
|
148
148
|
updatedAt: number | null;
|
|
@@ -180,7 +180,7 @@ export declare const UniswapController: Elysia<"uniswap", {
|
|
|
180
180
|
campaignId: string;
|
|
181
181
|
campaignStatus: {
|
|
182
182
|
computedUntil: number;
|
|
183
|
-
details: import("@prisma/client/runtime/
|
|
183
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
184
184
|
error: string;
|
|
185
185
|
processingStarted: number;
|
|
186
186
|
status: import("@package/databases").RunStatus;
|
|
@@ -203,7 +203,7 @@ export declare const UniswapController: Elysia<"uniswap", {
|
|
|
203
203
|
id: string;
|
|
204
204
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
205
205
|
opportunityId: string;
|
|
206
|
-
params: import("@prisma/client/runtime/
|
|
206
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
207
207
|
program: ({
|
|
208
208
|
description: string;
|
|
209
209
|
icon: string;
|
|
@@ -458,7 +458,7 @@ export declare const UniswapController: Elysia<"uniswap", {
|
|
|
458
458
|
campaignId: string;
|
|
459
459
|
campaignStatus: {
|
|
460
460
|
computedUntil: number;
|
|
461
|
-
details: import("@prisma/client/runtime/
|
|
461
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
462
462
|
error: string;
|
|
463
463
|
processingStarted: number;
|
|
464
464
|
status: import("@package/databases").RunStatus;
|
|
@@ -481,7 +481,7 @@ export declare const UniswapController: Elysia<"uniswap", {
|
|
|
481
481
|
id: string;
|
|
482
482
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
483
483
|
opportunityId: string;
|
|
484
|
-
params: import("@prisma/client/runtime/
|
|
484
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
485
485
|
program: ({
|
|
486
486
|
description: string;
|
|
487
487
|
icon: string;
|
|
@@ -8,7 +8,7 @@ export declare abstract class UniswapRepository {
|
|
|
8
8
|
recipient: string;
|
|
9
9
|
nodesSourceId: string;
|
|
10
10
|
creationBlockNumber: number;
|
|
11
|
-
metadata: import("@prisma/client/runtime/
|
|
11
|
+
metadata: import("@prisma/client/runtime/library").JsonValue;
|
|
12
12
|
}[]>;
|
|
13
13
|
}
|
|
14
14
|
export declare abstract class EkuboRepository {
|
|
@@ -19,6 +19,6 @@ export declare abstract class EkuboRepository {
|
|
|
19
19
|
recipient: string;
|
|
20
20
|
nodesSourceId: string;
|
|
21
21
|
creationBlockNumber: number;
|
|
22
|
-
metadata: import("@prisma/client/runtime/
|
|
22
|
+
metadata: import("@prisma/client/runtime/library").JsonValue;
|
|
23
23
|
}[]>;
|
|
24
24
|
}
|
|
@@ -151,7 +151,7 @@ export declare abstract class UniswapService {
|
|
|
151
151
|
campaignId: string;
|
|
152
152
|
campaignStatus: {
|
|
153
153
|
computedUntil: number;
|
|
154
|
-
details: import("@prisma/client/runtime/
|
|
154
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
155
155
|
error: string;
|
|
156
156
|
processingStarted: number;
|
|
157
157
|
status: import("@package/databases").RunStatus;
|
|
@@ -174,7 +174,7 @@ export declare abstract class UniswapService {
|
|
|
174
174
|
id: string;
|
|
175
175
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
176
176
|
opportunityId: string;
|
|
177
|
-
params: import("@prisma/client/runtime/
|
|
177
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
178
178
|
program: ({
|
|
179
179
|
description: string;
|
|
180
180
|
icon: string;
|
|
@@ -233,7 +233,7 @@ export declare const UserController: Elysia<"/users", {
|
|
|
233
233
|
campaignStatus: {
|
|
234
234
|
status: import("@package/databases").RunStatus;
|
|
235
235
|
error: string;
|
|
236
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
236
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
237
237
|
delay: number;
|
|
238
238
|
computedUntil: number;
|
|
239
239
|
processingStarted: number;
|
|
@@ -345,7 +345,7 @@ export declare const UserController: Elysia<"/users", {
|
|
|
345
345
|
campaignStatus: {
|
|
346
346
|
status: import("@package/databases").RunStatus;
|
|
347
347
|
error: string;
|
|
348
|
-
details: string | number | boolean | import("@prisma/client/runtime/
|
|
348
|
+
details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
|
|
349
349
|
delay: number;
|
|
350
350
|
computedUntil: number;
|
|
351
351
|
processingStarted: number;
|
|
@@ -553,7 +553,7 @@ export declare const UserController: Elysia<"/users", {
|
|
|
553
553
|
campaignId: string;
|
|
554
554
|
campaignStatus: {
|
|
555
555
|
computedUntil: number;
|
|
556
|
-
details: import("@prisma/client/runtime/
|
|
556
|
+
details: import("@prisma/client/runtime/library").JsonValue;
|
|
557
557
|
error: string;
|
|
558
558
|
processingStarted: number;
|
|
559
559
|
status: import("@package/databases").RunStatus;
|
|
@@ -576,7 +576,7 @@ export declare const UserController: Elysia<"/users", {
|
|
|
576
576
|
id: string;
|
|
577
577
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
578
578
|
opportunityId: string;
|
|
579
|
-
params: import("@prisma/client/runtime/
|
|
579
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
580
580
|
program: ({
|
|
581
581
|
description: string;
|
|
582
582
|
icon: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DistributionType } from "@package/databases/api";
|
|
1
2
|
export declare const parseDistributionType: (params: import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | ((import("@package/sdk").BaseCampaignParameters & ({
|
|
2
3
|
poolId: string;
|
|
3
4
|
poolManager: string;
|
|
@@ -35,4 +36,4 @@ export declare const parseDistributionType: (params: import("@package/sdk").Base
|
|
|
35
36
|
underlyingToken: string;
|
|
36
37
|
symbolUnderlyingToken: string;
|
|
37
38
|
decimalsUnderlyingToken: number;
|
|
38
|
-
})) =>
|
|
39
|
+
})) => DistributionType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ALL_CAMPAIGNS_FOR_CHAIN_AFTER: (chainId: number, after: number) => import("@prisma/client/runtime/
|
|
1
|
+
export declare const ALL_CAMPAIGNS_FOR_CHAIN_AFTER: (chainId: number, after: number) => import("@prisma/client/runtime/library").Sql;
|
package/package.json
CHANGED