@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.
- package/dist/src/eden/index.d.ts +45 -45
- 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 +284 -284
- 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 +2 -2
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +23 -23
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +7 -7
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -6
- 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 +1 -1
- package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +1 -1
- 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/programPayload/subPayloads/aave.d.ts +35 -1
- package/dist/src/modules/v4/programPayload/subPayloads/aave.js.map +1 -1
- 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 +36 -36
- 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
|
@@ -10,8 +10,8 @@ export declare class PriceSourceService {
|
|
|
10
10
|
type: PriceSourceType;
|
|
11
11
|
protected: boolean;
|
|
12
12
|
identifier: string;
|
|
13
|
-
method:
|
|
14
|
-
args: import("@prisma/client/runtime/
|
|
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:
|
|
26
|
-
args: import("@prisma/client/runtime/
|
|
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:
|
|
37
|
-
args: import("@prisma/client/runtime/
|
|
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:
|
|
47
|
-
args: import("@prisma/client/runtime/
|
|
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:
|
|
57
|
-
args: import("@prisma/client/runtime/
|
|
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:
|
|
67
|
-
args: import("@prisma/client/runtime/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
106
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
|
107
107
|
description: string | null;
|
|
108
108
|
dailyRewards: number;
|
|
109
109
|
apr: number;
|