@merkl/api 1.0.66 → 1.0.68
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 +424 -422
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/index.d.ts +210 -209
- 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 +41 -41
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +179 -193
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +49 -62
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +44 -44
- package/dist/src/modules/v4/creator/creator.controller.d.ts +12 -12
- package/dist/src/modules/v4/creator/creator.repository.d.ts +6 -6
- package/dist/src/modules/v4/creator/creator.service.d.ts +12 -12
- package/dist/src/modules/v4/node/node.controller.d.ts +2 -1
- package/dist/src/modules/v4/node/node.repository.d.ts +1 -18
- package/dist/src/modules/v4/node/node.service.d.ts +1 -18
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +80 -80
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +13 -13
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +192 -192
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +54 -54
- package/dist/src/modules/v4/price/price.controller.d.ts +4 -4
- package/dist/src/modules/v4/price/price.repository.d.ts +5 -5
- package/dist/src/modules/v4/price/price.service.d.ts +4 -4
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +23 -1
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +9 -1
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +6 -6
- package/dist/src/modules/v4/reward/reward.repository.d.ts +11 -11
- package/dist/src/modules/v4/reward/reward.service.d.ts +67 -67
- package/dist/src/modules/v4/router.d.ts +210 -209
- package/dist/src/modules/v4/status/status.controller.d.ts +14 -14
- package/dist/src/modules/v4/status/status.repository.d.ts +20 -20
- package/dist/src/modules/v4/status/status.service.d.ts +16 -16
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -10
- package/dist/src/modules/v4/user/user.controller.d.ts +11 -11
- package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -157,7 +157,7 @@ export declare const StatusController: Elysia<"/campaign-status", {
|
|
157
157
|
campaignId: string;
|
158
158
|
error: string;
|
159
159
|
status: import("@package/databases").RunStatus;
|
160
|
-
details: import("@prisma/client/runtime/
|
160
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
161
161
|
computedUntil: bigint;
|
162
162
|
processingStarted: bigint;
|
163
163
|
}[];
|
@@ -186,14 +186,14 @@ export declare const StatusController: Elysia<"/campaign-status", {
|
|
186
186
|
campaignId: string;
|
187
187
|
error: string;
|
188
188
|
status: import("@package/databases").RunStatus;
|
189
|
-
details: import("@prisma/client/runtime/
|
189
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
190
190
|
computedUntil: bigint;
|
191
191
|
processingStarted: bigint;
|
192
192
|
}[] | {
|
193
193
|
campaignId: string;
|
194
194
|
error: string;
|
195
195
|
status: import("@package/databases").RunStatus;
|
196
|
-
details: import("@prisma/client/runtime/
|
196
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
197
197
|
computedUntil: bigint;
|
198
198
|
processingStarted: bigint;
|
199
199
|
};
|
@@ -230,24 +230,24 @@ export declare const StatusController: Elysia<"/campaign-status", {
|
|
230
230
|
computeChainId: number;
|
231
231
|
distributionChainId: number;
|
232
232
|
endTimestamp: bigint;
|
233
|
-
RewardToken: {
|
234
|
-
symbol: string;
|
235
|
-
address: string;
|
236
|
-
isTest: boolean;
|
237
|
-
};
|
238
|
-
Opportunity: {
|
239
|
-
name: string;
|
240
|
-
type: string;
|
241
|
-
identifier: string;
|
242
|
-
};
|
243
233
|
CampaignStatus: {
|
244
234
|
campaignId: string;
|
245
235
|
error: string;
|
246
236
|
status: import("@package/databases").RunStatus;
|
247
|
-
details: import("@prisma/client/runtime/
|
237
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
248
238
|
computedUntil: bigint;
|
249
239
|
processingStarted: bigint;
|
250
240
|
}[];
|
241
|
+
Opportunity: {
|
242
|
+
name: string;
|
243
|
+
type: string;
|
244
|
+
identifier: string;
|
245
|
+
};
|
246
|
+
RewardToken: {
|
247
|
+
symbol: string;
|
248
|
+
address: string;
|
249
|
+
isTest: boolean;
|
250
|
+
};
|
251
251
|
}[];
|
252
252
|
422: {
|
253
253
|
type: "validation";
|
@@ -7,7 +7,7 @@ export declare abstract class StatusRepository {
|
|
7
7
|
campaignId: string;
|
8
8
|
error: string;
|
9
9
|
status: import("@package/databases").RunStatus;
|
10
|
-
details: import("@prisma/client/runtime/
|
10
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
11
11
|
computedUntil: bigint;
|
12
12
|
processingStarted: bigint;
|
13
13
|
}[]>;
|
@@ -15,7 +15,7 @@ export declare abstract class StatusRepository {
|
|
15
15
|
campaignId: string;
|
16
16
|
error: string;
|
17
17
|
status: import("@package/databases").RunStatus;
|
18
|
-
details: import("@prisma/client/runtime/
|
18
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
19
19
|
computedUntil: bigint;
|
20
20
|
processingStarted: bigint;
|
21
21
|
}[]>;
|
@@ -23,7 +23,7 @@ export declare abstract class StatusRepository {
|
|
23
23
|
campaignId: string;
|
24
24
|
error: string;
|
25
25
|
status: import("@package/databases").RunStatus;
|
26
|
-
details: import("@prisma/client/runtime/
|
26
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
27
27
|
computedUntil: bigint;
|
28
28
|
processingStarted: bigint;
|
29
29
|
}>;
|
@@ -31,7 +31,7 @@ export declare abstract class StatusRepository {
|
|
31
31
|
campaignId: string;
|
32
32
|
error: string;
|
33
33
|
status: import("@package/databases").RunStatus;
|
34
|
-
details: import("@prisma/client/runtime/
|
34
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
35
35
|
computedUntil: bigint;
|
36
36
|
processingStarted: bigint;
|
37
37
|
} | null>;
|
@@ -39,7 +39,7 @@ export declare abstract class StatusRepository {
|
|
39
39
|
campaignId: string;
|
40
40
|
error: string;
|
41
41
|
status: import("@package/databases").RunStatus;
|
42
|
-
details: import("@prisma/client/runtime/
|
42
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
43
43
|
computedUntil: bigint;
|
44
44
|
processingStarted: bigint;
|
45
45
|
}>;
|
@@ -47,7 +47,7 @@ export declare abstract class StatusRepository {
|
|
47
47
|
campaignId: string;
|
48
48
|
error: string;
|
49
49
|
status: import("@package/databases").RunStatus;
|
50
|
-
details: import("@prisma/client/runtime/
|
50
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
51
51
|
computedUntil: bigint;
|
52
52
|
processingStarted: bigint;
|
53
53
|
}>;
|
@@ -55,7 +55,7 @@ export declare abstract class StatusRepository {
|
|
55
55
|
campaignId: string;
|
56
56
|
error: string;
|
57
57
|
status: import("@package/databases").RunStatus;
|
58
|
-
details: import("@prisma/client/runtime/
|
58
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
59
59
|
computedUntil: bigint;
|
60
60
|
processingStarted: bigint;
|
61
61
|
}>;
|
@@ -64,7 +64,7 @@ export declare abstract class StatusRepository {
|
|
64
64
|
campaignId: string;
|
65
65
|
error: string;
|
66
66
|
status: import("@package/databases").RunStatus;
|
67
|
-
details: import("@prisma/client/runtime/
|
67
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
68
68
|
computedUntil: bigint;
|
69
69
|
processingStarted: bigint;
|
70
70
|
}>;
|
@@ -72,7 +72,7 @@ export declare abstract class StatusRepository {
|
|
72
72
|
campaignId: string;
|
73
73
|
error: string;
|
74
74
|
status: import("@package/databases").RunStatus;
|
75
|
-
details: import("@prisma/client/runtime/
|
75
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
76
76
|
computedUntil: bigint;
|
77
77
|
processingStarted: bigint;
|
78
78
|
}>;
|
@@ -82,23 +82,23 @@ export declare abstract class StatusRepository {
|
|
82
82
|
computeChainId: number;
|
83
83
|
distributionChainId: number;
|
84
84
|
endTimestamp: bigint;
|
85
|
-
RewardToken: {
|
86
|
-
symbol: string;
|
87
|
-
address: string;
|
88
|
-
isTest: boolean;
|
89
|
-
};
|
90
|
-
Opportunity: {
|
91
|
-
name: string;
|
92
|
-
type: string;
|
93
|
-
identifier: string;
|
94
|
-
};
|
95
85
|
CampaignStatus: {
|
96
86
|
campaignId: string;
|
97
87
|
error: string;
|
98
88
|
status: import("@package/databases").RunStatus;
|
99
|
-
details: import("@prisma/client/runtime/
|
89
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
100
90
|
computedUntil: bigint;
|
101
91
|
processingStarted: bigint;
|
102
92
|
}[];
|
93
|
+
Opportunity: {
|
94
|
+
name: string;
|
95
|
+
type: string;
|
96
|
+
identifier: string;
|
97
|
+
};
|
98
|
+
RewardToken: {
|
99
|
+
symbol: string;
|
100
|
+
address: string;
|
101
|
+
isTest: boolean;
|
102
|
+
};
|
103
103
|
}[]>;
|
104
104
|
}
|
@@ -8,13 +8,13 @@ export declare abstract class StatusService {
|
|
8
8
|
campaignId: string;
|
9
9
|
error: string;
|
10
10
|
status: import("@package/databases").RunStatus;
|
11
|
-
details: import("@prisma/client/runtime/
|
11
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
12
12
|
};
|
13
13
|
static findMany(query: QueryCampaignStatus): Promise<{
|
14
14
|
campaignId: string;
|
15
15
|
error: string;
|
16
16
|
status: import("@package/databases").RunStatus;
|
17
|
-
details: import("@prisma/client/runtime/
|
17
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
18
18
|
computedUntil: bigint;
|
19
19
|
processingStarted: bigint;
|
20
20
|
}[]>;
|
@@ -22,7 +22,7 @@ export declare abstract class StatusService {
|
|
22
22
|
campaignId: string;
|
23
23
|
error: string;
|
24
24
|
status: import("@package/databases").RunStatus;
|
25
|
-
details: import("@prisma/client/runtime/
|
25
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
26
26
|
computedUntil: bigint;
|
27
27
|
processingStarted: bigint;
|
28
28
|
}[]>;
|
@@ -30,7 +30,7 @@ export declare abstract class StatusService {
|
|
30
30
|
campaignId: string;
|
31
31
|
error: string;
|
32
32
|
status: import("@package/databases").RunStatus;
|
33
|
-
details: import("@prisma/client/runtime/
|
33
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
34
34
|
computedUntil: bigint;
|
35
35
|
processingStarted: bigint;
|
36
36
|
}>;
|
@@ -38,7 +38,7 @@ export declare abstract class StatusService {
|
|
38
38
|
campaignId: string;
|
39
39
|
error: string;
|
40
40
|
status: import("@package/databases").RunStatus;
|
41
|
-
details: import("@prisma/client/runtime/
|
41
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
42
42
|
computedUntil: bigint;
|
43
43
|
processingStarted: bigint;
|
44
44
|
} | null>;
|
@@ -67,23 +67,23 @@ export declare abstract class StatusService {
|
|
67
67
|
computeChainId: number;
|
68
68
|
distributionChainId: number;
|
69
69
|
endTimestamp: bigint;
|
70
|
-
RewardToken: {
|
71
|
-
symbol: string;
|
72
|
-
address: string;
|
73
|
-
isTest: boolean;
|
74
|
-
};
|
75
|
-
Opportunity: {
|
76
|
-
name: string;
|
77
|
-
type: string;
|
78
|
-
identifier: string;
|
79
|
-
};
|
80
70
|
CampaignStatus: {
|
81
71
|
campaignId: string;
|
82
72
|
error: string;
|
83
73
|
status: import("@package/databases").RunStatus;
|
84
|
-
details: import("@prisma/client/runtime/
|
74
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
85
75
|
computedUntil: bigint;
|
86
76
|
processingStarted: bigint;
|
87
77
|
}[];
|
78
|
+
Opportunity: {
|
79
|
+
name: string;
|
80
|
+
type: string;
|
81
|
+
identifier: string;
|
82
|
+
};
|
83
|
+
RewardToken: {
|
84
|
+
symbol: string;
|
85
|
+
address: string;
|
86
|
+
isTest: boolean;
|
87
|
+
};
|
88
88
|
}[]>;
|
89
89
|
}
|
@@ -7,18 +7,10 @@ export declare abstract class UniswapRepository {
|
|
7
7
|
type: import("@package/databases").LoggedEntityType;
|
8
8
|
fetchAtBlock: number;
|
9
9
|
caughtFromAddress: string;
|
10
|
-
entityData: import("@prisma/client/runtime/
|
10
|
+
entityData: import("@prisma/client/runtime/client").JsonValue;
|
11
11
|
}[]>;
|
12
12
|
static createMany(data: LoggedCreateBody): Promise<import("@package/databases").BatchPayload>;
|
13
13
|
}
|
14
14
|
export declare abstract class EkuboRepository {
|
15
|
-
static getStoredEkuboPools(chainId?: EkuboChainId): Promise<
|
16
|
-
id: string;
|
17
|
-
recipient: string;
|
18
|
-
chainId: number;
|
19
|
-
metadata: import("@prisma/client/runtime/library").JsonValue | null;
|
20
|
-
nodeType: string;
|
21
|
-
nodesSourceId: string;
|
22
|
-
creationBlockNumber: number;
|
23
|
-
}[]>;
|
15
|
+
static getStoredEkuboPools(chainId?: EkuboChainId): Promise<any>;
|
24
16
|
}
|
@@ -216,6 +216,14 @@ export declare const UserController: Elysia<"/users", {
|
|
216
216
|
id: number;
|
217
217
|
icon: string;
|
218
218
|
};
|
219
|
+
Protocols: {
|
220
|
+
name: string;
|
221
|
+
description: string;
|
222
|
+
id: string;
|
223
|
+
url: string;
|
224
|
+
icon: string;
|
225
|
+
tags: string[];
|
226
|
+
}[];
|
219
227
|
Tokens: {
|
220
228
|
symbol: string;
|
221
229
|
name: string | null;
|
@@ -232,14 +240,6 @@ export declare const UserController: Elysia<"/users", {
|
|
232
240
|
verified: boolean;
|
233
241
|
displaySymbol: string;
|
234
242
|
}[];
|
235
|
-
Protocols: {
|
236
|
-
name: string;
|
237
|
-
description: string;
|
238
|
-
id: string;
|
239
|
-
url: string;
|
240
|
-
icon: string;
|
241
|
-
tags: string[];
|
242
|
-
}[];
|
243
243
|
MainProtocol: {
|
244
244
|
name: string;
|
245
245
|
description: string;
|
@@ -259,11 +259,11 @@ export declare const UserController: Elysia<"/users", {
|
|
259
259
|
action: import("@package/databases").OpportunityAction;
|
260
260
|
type: string;
|
261
261
|
depositUrl: string | null;
|
262
|
-
explorerAddress: string | null;
|
263
|
-
howToSteps: string[];
|
264
|
-
mainProtocolId: string | null;
|
265
262
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
266
263
|
identifier: string;
|
264
|
+
howToSteps: string[];
|
265
|
+
explorerAddress: string | null;
|
266
|
+
mainProtocolId: string | null;
|
267
267
|
dailyRewards: number;
|
268
268
|
tags: string[];
|
269
269
|
lastCampaignCreatedAt: Date;
|
@@ -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/client").Sql;
|