@merkl/api 1.0.42 → 1.0.44
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 +1590 -1518
- package/dist/src/index.d.ts +842 -848
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -2
- package/dist/src/modules/v4/accounting/accounting.model.d.ts +4 -4
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +303 -315
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +83 -2
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +90 -7
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -0
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +2 -0
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +2 -0
- package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -2
- package/dist/src/modules/v4/creator/creator.model.d.ts +2 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +627 -627
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +36 -4
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +4 -4
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +18 -18
- package/dist/src/modules/v4/reward/reward.model.d.ts +6 -6
- package/dist/src/modules/v4/router.d.ts +842 -848
- package/dist/src/modules/v4/token/token.controller.d.ts +4 -4
- package/dist/src/modules/v4/token/token.model.d.ts +2 -2
- package/dist/src/modules/v4/token/token.repository.d.ts +16 -0
- package/dist/src/modules/v4/token/token.service.d.ts +1 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
- package/dist/src/modules/v4/user/user.model.d.ts +2 -2
- package/dist/src/utils/pagination.d.ts +11 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -24,324 +24,38 @@ export declare const v4: Elysia<"/v4", {
|
|
24
24
|
} & {
|
25
25
|
v4: {
|
26
26
|
opportunities: {
|
27
|
-
|
28
|
-
body: unknown;
|
29
|
-
params: {};
|
30
|
-
query: {
|
31
|
-
sort?: string | undefined;
|
32
|
-
name?: string | undefined;
|
33
|
-
tokens?: string | undefined;
|
34
|
-
campaignId?: string | undefined;
|
35
|
-
status?: string | undefined;
|
36
|
-
chainId?: string | undefined;
|
37
|
-
campaigns?: boolean | undefined;
|
38
|
-
items?: number | undefined;
|
39
|
-
point?: boolean | undefined;
|
40
|
-
order?: string | undefined;
|
41
|
-
action?: string | undefined;
|
42
|
-
type?: string | undefined;
|
43
|
-
search?: string | undefined;
|
44
|
-
creatorAddress?: string | undefined;
|
45
|
-
mainProtocolId?: string | undefined;
|
46
|
-
identifier?: string | undefined;
|
47
|
-
tags?: string | undefined;
|
48
|
-
page?: number | undefined;
|
49
|
-
test?: boolean | undefined;
|
50
|
-
excludeSubCampaigns?: boolean | undefined;
|
51
|
-
minimumTvl?: number | undefined;
|
52
|
-
maximumTvl?: number | undefined;
|
53
|
-
minimumApr?: number | undefined;
|
54
|
-
maximumApr?: number | undefined;
|
55
|
-
rewardTokenSymbol?: string | undefined;
|
56
|
-
};
|
57
|
-
headers: unknown;
|
58
|
-
response: {
|
59
|
-
200: ({
|
60
|
-
protocol?: {
|
61
|
-
dailyRewards?: number | undefined;
|
62
|
-
numberOfLiveCampaigns?: number | undefined;
|
63
|
-
opportunityLiveTags?: string[] | undefined;
|
64
|
-
name: string;
|
65
|
-
description: string;
|
66
|
-
id: string;
|
67
|
-
url: string;
|
68
|
-
icon: string;
|
69
|
-
tags: string[];
|
70
|
-
} | null | undefined;
|
71
|
-
depositUrl?: string | undefined;
|
72
|
-
explorerAddress?: string | undefined;
|
73
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
74
|
-
aprRecord?: {
|
75
|
-
timestamp: string | bigint;
|
76
|
-
cumulated: number;
|
77
|
-
breakdowns: {
|
78
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
79
|
-
value: number;
|
80
|
-
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
81
|
-
identifier: string;
|
82
|
-
}[];
|
83
|
-
} | undefined;
|
84
|
-
tvlRecord?: {
|
85
|
-
timestamp: string | bigint;
|
86
|
-
total: number;
|
87
|
-
breakdowns: {
|
88
|
-
value: number;
|
89
|
-
type: "TOKEN" | "PROTOCOL";
|
90
|
-
identifier: string;
|
91
|
-
}[];
|
92
|
-
} | undefined;
|
93
|
-
rewardsRecord?: {
|
94
|
-
timestamp: string | bigint;
|
95
|
-
total: number;
|
96
|
-
breakdowns: {
|
97
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
98
|
-
token: {
|
99
|
-
price?: number | null | undefined;
|
100
|
-
symbol: string;
|
101
|
-
name: string | null;
|
102
|
-
decimals: number;
|
103
|
-
address: string;
|
104
|
-
id: string;
|
105
|
-
chainId: number;
|
106
|
-
icon: string;
|
107
|
-
isNative: boolean;
|
108
|
-
isPoint: boolean;
|
109
|
-
isPreTGE: boolean;
|
110
|
-
isTest: boolean;
|
111
|
-
verified: boolean;
|
112
|
-
};
|
113
|
-
campaignId: string;
|
114
|
-
value: number;
|
115
|
-
amount: string | bigint;
|
116
|
-
}[];
|
117
|
-
} | undefined;
|
118
|
-
name: string;
|
119
|
-
apr: number;
|
120
|
-
tokens: {
|
121
|
-
price?: number | null | undefined;
|
122
|
-
symbol: string;
|
123
|
-
name: string | null;
|
124
|
-
decimals: number;
|
125
|
-
address: string;
|
126
|
-
id: string;
|
127
|
-
chainId: number;
|
128
|
-
icon: string;
|
129
|
-
isNative: boolean;
|
130
|
-
isPoint: boolean;
|
131
|
-
isPreTGE: boolean;
|
132
|
-
isTest: boolean;
|
133
|
-
verified: boolean;
|
134
|
-
}[];
|
135
|
-
tvl: number;
|
136
|
-
description: string;
|
137
|
-
id: string;
|
138
|
-
status: string;
|
139
|
-
chainId: number;
|
140
|
-
action: string;
|
141
|
-
type: string;
|
142
|
-
howToSteps: string[];
|
143
|
-
identifier: string;
|
144
|
-
dailyRewards: number;
|
145
|
-
tags: string[];
|
146
|
-
lastCampaignCreatedAt: string;
|
147
|
-
chain: {
|
148
|
-
explorers?: {
|
149
|
-
chainId: number;
|
150
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
151
|
-
url: string;
|
152
|
-
}[] | undefined;
|
153
|
-
name: string;
|
154
|
-
id: number;
|
155
|
-
icon: string;
|
156
|
-
};
|
157
|
-
} | null)[];
|
158
|
-
422: {
|
159
|
-
type: "validation";
|
160
|
-
on: string;
|
161
|
-
summary?: string;
|
162
|
-
message?: string;
|
163
|
-
found?: unknown;
|
164
|
-
property?: string;
|
165
|
-
expected?: string;
|
166
|
-
};
|
167
|
-
};
|
168
|
-
};
|
169
|
-
};
|
170
|
-
} & {
|
171
|
-
opportunities: {
|
172
|
-
count: {
|
173
|
-
get: {
|
174
|
-
body: unknown;
|
175
|
-
params: {};
|
176
|
-
query: {
|
177
|
-
sort?: string | undefined;
|
178
|
-
name?: string | undefined;
|
179
|
-
tokens?: string | undefined;
|
180
|
-
campaignId?: string | undefined;
|
181
|
-
status?: string | undefined;
|
182
|
-
chainId?: string | undefined;
|
183
|
-
campaigns?: boolean | undefined;
|
184
|
-
items?: number | undefined;
|
185
|
-
point?: boolean | undefined;
|
186
|
-
order?: string | undefined;
|
187
|
-
action?: string | undefined;
|
188
|
-
type?: string | undefined;
|
189
|
-
search?: string | undefined;
|
190
|
-
creatorAddress?: string | undefined;
|
191
|
-
mainProtocolId?: string | undefined;
|
192
|
-
identifier?: string | undefined;
|
193
|
-
tags?: string | undefined;
|
194
|
-
page?: number | undefined;
|
195
|
-
test?: boolean | undefined;
|
196
|
-
excludeSubCampaigns?: boolean | undefined;
|
197
|
-
minimumTvl?: number | undefined;
|
198
|
-
maximumTvl?: number | undefined;
|
199
|
-
minimumApr?: number | undefined;
|
200
|
-
maximumApr?: number | undefined;
|
201
|
-
rewardTokenSymbol?: string | undefined;
|
202
|
-
};
|
203
|
-
headers: unknown;
|
204
|
-
response: {
|
205
|
-
200: number;
|
206
|
-
422: {
|
207
|
-
type: "validation";
|
208
|
-
on: string;
|
209
|
-
summary?: string;
|
210
|
-
message?: string;
|
211
|
-
found?: unknown;
|
212
|
-
property?: string;
|
213
|
-
expected?: string;
|
214
|
-
};
|
215
|
-
};
|
216
|
-
};
|
217
|
-
};
|
218
|
-
};
|
219
|
-
} & {
|
220
|
-
opportunities: {
|
221
|
-
bins: {
|
222
|
-
apr: {
|
223
|
-
get: {
|
224
|
-
body: unknown;
|
225
|
-
params: {};
|
226
|
-
query: {
|
227
|
-
sort?: string | undefined;
|
228
|
-
name?: string | undefined;
|
229
|
-
tokens?: string | undefined;
|
230
|
-
campaignId?: string | undefined;
|
231
|
-
status?: string | undefined;
|
232
|
-
chainId?: string | undefined;
|
233
|
-
campaigns?: boolean | undefined;
|
234
|
-
items?: number | undefined;
|
235
|
-
point?: boolean | undefined;
|
236
|
-
order?: string | undefined;
|
237
|
-
action?: string | undefined;
|
238
|
-
type?: string | undefined;
|
239
|
-
search?: string | undefined;
|
240
|
-
creatorAddress?: string | undefined;
|
241
|
-
mainProtocolId?: string | undefined;
|
242
|
-
identifier?: string | undefined;
|
243
|
-
tags?: string | undefined;
|
244
|
-
page?: number | undefined;
|
245
|
-
test?: boolean | undefined;
|
246
|
-
excludeSubCampaigns?: boolean | undefined;
|
247
|
-
minimumTvl?: number | undefined;
|
248
|
-
maximumTvl?: number | undefined;
|
249
|
-
minimumApr?: number | undefined;
|
250
|
-
maximumApr?: number | undefined;
|
251
|
-
rewardTokenSymbol?: string | undefined;
|
252
|
-
};
|
253
|
-
headers: unknown;
|
254
|
-
response: {
|
255
|
-
200: {
|
256
|
-
min: number;
|
257
|
-
max: number;
|
258
|
-
overThreshold: number;
|
259
|
-
binWidth: number;
|
260
|
-
bins: any[];
|
261
|
-
};
|
262
|
-
422: {
|
263
|
-
type: "validation";
|
264
|
-
on: string;
|
265
|
-
summary?: string;
|
266
|
-
message?: string;
|
267
|
-
found?: unknown;
|
268
|
-
property?: string;
|
269
|
-
expected?: string;
|
270
|
-
};
|
271
|
-
};
|
272
|
-
};
|
273
|
-
};
|
274
|
-
};
|
275
|
-
};
|
276
|
-
} & {
|
277
|
-
opportunities: {
|
278
|
-
bins: {
|
279
|
-
tvl: {
|
280
|
-
get: {
|
281
|
-
body: unknown;
|
282
|
-
params: {};
|
283
|
-
query: {
|
284
|
-
sort?: string | undefined;
|
285
|
-
name?: string | undefined;
|
286
|
-
tokens?: string | undefined;
|
287
|
-
campaignId?: string | undefined;
|
288
|
-
status?: string | undefined;
|
289
|
-
chainId?: string | undefined;
|
290
|
-
campaigns?: boolean | undefined;
|
291
|
-
items?: number | undefined;
|
292
|
-
point?: boolean | undefined;
|
293
|
-
order?: string | undefined;
|
294
|
-
action?: string | undefined;
|
295
|
-
type?: string | undefined;
|
296
|
-
search?: string | undefined;
|
297
|
-
creatorAddress?: string | undefined;
|
298
|
-
mainProtocolId?: string | undefined;
|
299
|
-
identifier?: string | undefined;
|
300
|
-
tags?: string | undefined;
|
301
|
-
page?: number | undefined;
|
302
|
-
test?: boolean | undefined;
|
303
|
-
excludeSubCampaigns?: boolean | undefined;
|
304
|
-
minimumTvl?: number | undefined;
|
305
|
-
maximumTvl?: number | undefined;
|
306
|
-
minimumApr?: number | undefined;
|
307
|
-
maximumApr?: number | undefined;
|
308
|
-
rewardTokenSymbol?: string | undefined;
|
309
|
-
};
|
310
|
-
headers: unknown;
|
311
|
-
response: {
|
312
|
-
200: {
|
313
|
-
min: number;
|
314
|
-
max: number;
|
315
|
-
binWidth: number;
|
316
|
-
bins: any[];
|
317
|
-
};
|
318
|
-
422: {
|
319
|
-
type: "validation";
|
320
|
-
on: string;
|
321
|
-
summary?: string;
|
322
|
-
message?: string;
|
323
|
-
found?: unknown;
|
324
|
-
property?: string;
|
325
|
-
expected?: string;
|
326
|
-
};
|
327
|
-
};
|
328
|
-
};
|
329
|
-
};
|
330
|
-
};
|
331
|
-
};
|
332
|
-
} & {
|
333
|
-
opportunities: {
|
334
|
-
":id": {
|
27
|
+
campaigns: {
|
335
28
|
get: {
|
336
29
|
body: unknown;
|
337
|
-
params: {
|
338
|
-
id: string;
|
339
|
-
};
|
30
|
+
params: {};
|
340
31
|
query: {
|
341
|
-
|
32
|
+
campaignId?: string | undefined;
|
33
|
+
id?: string | undefined;
|
34
|
+
tokenAddress?: string | undefined;
|
35
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
36
|
+
chainId?: number | undefined;
|
37
|
+
startTimestamp?: string | undefined;
|
342
38
|
point?: boolean | undefined;
|
39
|
+
tokenSymbol?: string | undefined;
|
40
|
+
type?: string | undefined;
|
41
|
+
endTimestamp?: string | undefined;
|
42
|
+
opportunityId?: string | undefined;
|
43
|
+
creatorAddress?: string | undefined;
|
44
|
+
mainProtocolId?: string | undefined;
|
45
|
+
subType?: number | undefined;
|
46
|
+
rootCampaignId?: string | undefined;
|
47
|
+
parentCampaignId?: string | undefined;
|
48
|
+
creatorId?: string | undefined;
|
49
|
+
mainParameter?: string | undefined;
|
343
50
|
test?: boolean | undefined;
|
51
|
+
creatorTag?: string | undefined;
|
52
|
+
distributionChainIds?: number[] | undefined;
|
53
|
+
types?: string[] | undefined;
|
54
|
+
withOpportunity?: boolean | undefined;
|
55
|
+
createdAfter?: Date | null | undefined;
|
344
56
|
excludeSubCampaigns?: boolean | undefined;
|
57
|
+
items: number;
|
58
|
+
page: number;
|
345
59
|
};
|
346
60
|
headers: unknown;
|
347
61
|
response: {
|
@@ -426,6 +140,74 @@ export declare const v4: Elysia<"/v4", {
|
|
426
140
|
id: string;
|
427
141
|
status: string;
|
428
142
|
chainId: number;
|
143
|
+
campaigns: {
|
144
|
+
description?: string | undefined;
|
145
|
+
creator?: {
|
146
|
+
tags?: string[] | undefined;
|
147
|
+
creatorId?: string | null | undefined;
|
148
|
+
address: string;
|
149
|
+
} | undefined;
|
150
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
151
|
+
rootCampaignId?: string | undefined;
|
152
|
+
parentCampaignId?: string | undefined;
|
153
|
+
campaignStatus?: {
|
154
|
+
error?: string | undefined;
|
155
|
+
details?: any;
|
156
|
+
campaignId: string;
|
157
|
+
status: string;
|
158
|
+
computedUntil: string | number;
|
159
|
+
processingStarted: string | number;
|
160
|
+
} | undefined;
|
161
|
+
distributionChain?: {
|
162
|
+
explorers?: {
|
163
|
+
chainId: number;
|
164
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
165
|
+
url: string;
|
166
|
+
}[] | undefined;
|
167
|
+
name: string;
|
168
|
+
id: number;
|
169
|
+
icon: string;
|
170
|
+
} | undefined;
|
171
|
+
rewardToken: {
|
172
|
+
price?: number | null | undefined;
|
173
|
+
symbol: string;
|
174
|
+
name: string | null;
|
175
|
+
decimals: number;
|
176
|
+
address: string;
|
177
|
+
id: string;
|
178
|
+
chainId: number;
|
179
|
+
icon: string;
|
180
|
+
isNative: boolean;
|
181
|
+
isPoint: boolean;
|
182
|
+
isPreTGE: boolean;
|
183
|
+
isTest: boolean;
|
184
|
+
verified: boolean;
|
185
|
+
};
|
186
|
+
campaignId: string;
|
187
|
+
id: string;
|
188
|
+
params: any;
|
189
|
+
amount: string;
|
190
|
+
startTimestamp: string | number;
|
191
|
+
type: string;
|
192
|
+
computeChainId: number;
|
193
|
+
distributionChainId: number;
|
194
|
+
endTimestamp: string | number;
|
195
|
+
opportunityId: string;
|
196
|
+
creatorAddress: string;
|
197
|
+
subType: number | null;
|
198
|
+
rewardTokenId: string;
|
199
|
+
createdAt: string;
|
200
|
+
chain: {
|
201
|
+
explorers?: {
|
202
|
+
chainId: number;
|
203
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
204
|
+
url: string;
|
205
|
+
}[] | undefined;
|
206
|
+
name: string;
|
207
|
+
id: number;
|
208
|
+
icon: string;
|
209
|
+
};
|
210
|
+
}[];
|
429
211
|
action: string;
|
430
212
|
type: string;
|
431
213
|
howToSteps: string[];
|
@@ -443,7 +225,7 @@ export declare const v4: Elysia<"/v4", {
|
|
443
225
|
id: number;
|
444
226
|
icon: string;
|
445
227
|
};
|
446
|
-
};
|
228
|
+
}[];
|
447
229
|
readonly 500: {
|
448
230
|
info: string;
|
449
231
|
code: string;
|
@@ -468,37 +250,16 @@ export declare const v4: Elysia<"/v4", {
|
|
468
250
|
};
|
469
251
|
} & {
|
470
252
|
opportunities: {
|
471
|
-
|
253
|
+
":id": {
|
472
254
|
get: {
|
473
255
|
body: unknown;
|
474
|
-
params: {
|
256
|
+
params: {
|
257
|
+
id: string;
|
258
|
+
};
|
475
259
|
query: {
|
476
|
-
|
477
|
-
id?: string | undefined;
|
478
|
-
tokenAddress?: string | undefined;
|
479
|
-
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
480
|
-
chainId?: number | undefined;
|
481
|
-
startTimestamp?: string | undefined;
|
482
|
-
items?: number | undefined;
|
260
|
+
campaigns?: boolean | undefined;
|
483
261
|
point?: boolean | undefined;
|
484
|
-
tokenSymbol?: string | undefined;
|
485
|
-
type?: string | undefined;
|
486
|
-
endTimestamp?: string | undefined;
|
487
|
-
opportunityId?: string | undefined;
|
488
|
-
creatorAddress?: string | undefined;
|
489
|
-
mainProtocolId?: string | undefined;
|
490
|
-
subType?: number | undefined;
|
491
|
-
rootCampaignId?: string | undefined;
|
492
|
-
parentCampaignId?: string | undefined;
|
493
|
-
creatorId?: string | undefined;
|
494
|
-
mainParameter?: string | undefined;
|
495
|
-
page?: number | undefined;
|
496
262
|
test?: boolean | undefined;
|
497
|
-
creatorTag?: string | undefined;
|
498
|
-
distributionChainIds?: number[] | undefined;
|
499
|
-
types?: string[] | undefined;
|
500
|
-
withOpportunity?: boolean | undefined;
|
501
|
-
createdAfter?: Date | null | undefined;
|
502
263
|
excludeSubCampaigns?: boolean | undefined;
|
503
264
|
};
|
504
265
|
headers: unknown;
|
@@ -552,106 +313,38 @@ export declare const v4: Elysia<"/v4", {
|
|
552
313
|
chainId: number;
|
553
314
|
icon: string;
|
554
315
|
isNative: boolean;
|
555
|
-
isPoint: boolean;
|
556
|
-
isPreTGE: boolean;
|
557
|
-
isTest: boolean;
|
558
|
-
verified: boolean;
|
559
|
-
};
|
560
|
-
campaignId: string;
|
561
|
-
value: number;
|
562
|
-
amount: string | bigint;
|
563
|
-
}[];
|
564
|
-
} | undefined;
|
565
|
-
name: string;
|
566
|
-
apr: number;
|
567
|
-
tokens: {
|
568
|
-
price?: number | null | undefined;
|
569
|
-
symbol: string;
|
570
|
-
name: string | null;
|
571
|
-
decimals: number;
|
572
|
-
address: string;
|
573
|
-
id: string;
|
574
|
-
chainId: number;
|
575
|
-
icon: string;
|
576
|
-
isNative: boolean;
|
577
|
-
isPoint: boolean;
|
578
|
-
isPreTGE: boolean;
|
579
|
-
isTest: boolean;
|
580
|
-
verified: boolean;
|
581
|
-
}[];
|
582
|
-
tvl: number;
|
583
|
-
description: string;
|
584
|
-
id: string;
|
585
|
-
status: string;
|
586
|
-
chainId: number;
|
587
|
-
campaigns: {
|
588
|
-
description?: string | undefined;
|
589
|
-
creator?: {
|
590
|
-
tags?: string[] | undefined;
|
591
|
-
creatorId?: string | null | undefined;
|
592
|
-
address: string;
|
593
|
-
} | undefined;
|
594
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
595
|
-
rootCampaignId?: string | undefined;
|
596
|
-
parentCampaignId?: string | undefined;
|
597
|
-
campaignStatus?: {
|
598
|
-
error?: string | undefined;
|
599
|
-
details?: any;
|
600
|
-
campaignId: string;
|
601
|
-
status: string;
|
602
|
-
computedUntil: string | number;
|
603
|
-
processingStarted: string | number;
|
604
|
-
} | undefined;
|
605
|
-
distributionChain?: {
|
606
|
-
explorers?: {
|
607
|
-
chainId: number;
|
608
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
609
|
-
url: string;
|
610
|
-
}[] | undefined;
|
611
|
-
name: string;
|
612
|
-
id: number;
|
613
|
-
icon: string;
|
614
|
-
} | undefined;
|
615
|
-
rewardToken: {
|
616
|
-
price?: number | null | undefined;
|
617
|
-
symbol: string;
|
618
|
-
name: string | null;
|
619
|
-
decimals: number;
|
620
|
-
address: string;
|
621
|
-
id: string;
|
622
|
-
chainId: number;
|
623
|
-
icon: string;
|
624
|
-
isNative: boolean;
|
625
|
-
isPoint: boolean;
|
626
|
-
isPreTGE: boolean;
|
627
|
-
isTest: boolean;
|
628
|
-
verified: boolean;
|
629
|
-
};
|
630
|
-
campaignId: string;
|
631
|
-
id: string;
|
632
|
-
params: any;
|
633
|
-
amount: string;
|
634
|
-
startTimestamp: string | number;
|
635
|
-
type: string;
|
636
|
-
computeChainId: number;
|
637
|
-
distributionChainId: number;
|
638
|
-
endTimestamp: string | number;
|
639
|
-
opportunityId: string;
|
640
|
-
creatorAddress: string;
|
641
|
-
subType: number | null;
|
642
|
-
rewardTokenId: string;
|
643
|
-
createdAt: string;
|
644
|
-
chain: {
|
645
|
-
explorers?: {
|
646
|
-
chainId: number;
|
647
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
648
|
-
url: string;
|
649
|
-
}[] | undefined;
|
650
|
-
name: string;
|
651
|
-
id: number;
|
652
|
-
icon: string;
|
653
|
-
};
|
316
|
+
isPoint: boolean;
|
317
|
+
isPreTGE: boolean;
|
318
|
+
isTest: boolean;
|
319
|
+
verified: boolean;
|
320
|
+
};
|
321
|
+
campaignId: string;
|
322
|
+
value: number;
|
323
|
+
amount: string | bigint;
|
324
|
+
}[];
|
325
|
+
} | undefined;
|
326
|
+
name: string;
|
327
|
+
apr: number;
|
328
|
+
tokens: {
|
329
|
+
price?: number | null | undefined;
|
330
|
+
symbol: string;
|
331
|
+
name: string | null;
|
332
|
+
decimals: number;
|
333
|
+
address: string;
|
334
|
+
id: string;
|
335
|
+
chainId: number;
|
336
|
+
icon: string;
|
337
|
+
isNative: boolean;
|
338
|
+
isPoint: boolean;
|
339
|
+
isPreTGE: boolean;
|
340
|
+
isTest: boolean;
|
341
|
+
verified: boolean;
|
654
342
|
}[];
|
343
|
+
tvl: number;
|
344
|
+
description: string;
|
345
|
+
id: string;
|
346
|
+
status: string;
|
347
|
+
chainId: number;
|
655
348
|
action: string;
|
656
349
|
type: string;
|
657
350
|
howToSteps: string[];
|
@@ -669,7 +362,7 @@ export declare const v4: Elysia<"/v4", {
|
|
669
362
|
id: number;
|
670
363
|
icon: string;
|
671
364
|
};
|
672
|
-
}
|
365
|
+
};
|
673
366
|
readonly 500: {
|
674
367
|
info: string;
|
675
368
|
code: string;
|
@@ -876,14 +569,321 @@ export declare const v4: Elysia<"/v4", {
|
|
876
569
|
icon: string;
|
877
570
|
};
|
878
571
|
};
|
879
|
-
readonly 500: {
|
880
|
-
info: string;
|
881
|
-
code: string;
|
882
|
-
httpCode: number;
|
572
|
+
readonly 500: {
|
573
|
+
info: string;
|
574
|
+
code: string;
|
575
|
+
httpCode: number;
|
576
|
+
};
|
577
|
+
readonly 404: {
|
578
|
+
name: string;
|
579
|
+
message: string;
|
580
|
+
};
|
581
|
+
422: {
|
582
|
+
type: "validation";
|
583
|
+
on: string;
|
584
|
+
summary?: string;
|
585
|
+
message?: string;
|
586
|
+
found?: unknown;
|
587
|
+
property?: string;
|
588
|
+
expected?: string;
|
589
|
+
};
|
590
|
+
};
|
591
|
+
};
|
592
|
+
};
|
593
|
+
};
|
594
|
+
};
|
595
|
+
} & {
|
596
|
+
opportunities: {
|
597
|
+
get: {
|
598
|
+
body: unknown;
|
599
|
+
params: {};
|
600
|
+
query: {
|
601
|
+
sort?: string | undefined;
|
602
|
+
name?: string | undefined;
|
603
|
+
tokens?: string | undefined;
|
604
|
+
campaignId?: string | undefined;
|
605
|
+
status?: string | undefined;
|
606
|
+
chainId?: string | undefined;
|
607
|
+
campaigns?: boolean | undefined;
|
608
|
+
point?: boolean | undefined;
|
609
|
+
order?: string | undefined;
|
610
|
+
action?: string | undefined;
|
611
|
+
type?: string | undefined;
|
612
|
+
search?: string | undefined;
|
613
|
+
creatorAddress?: string | undefined;
|
614
|
+
mainProtocolId?: string | undefined;
|
615
|
+
identifier?: string | undefined;
|
616
|
+
tags?: string | undefined;
|
617
|
+
test?: boolean | undefined;
|
618
|
+
excludeSubCampaigns?: boolean | undefined;
|
619
|
+
minimumTvl?: number | undefined;
|
620
|
+
maximumTvl?: number | undefined;
|
621
|
+
minimumApr?: number | undefined;
|
622
|
+
maximumApr?: number | undefined;
|
623
|
+
rewardTokenSymbol?: string | undefined;
|
624
|
+
items: number;
|
625
|
+
page: number;
|
626
|
+
};
|
627
|
+
headers: unknown;
|
628
|
+
response: {
|
629
|
+
200: ({
|
630
|
+
protocol?: {
|
631
|
+
dailyRewards?: number | undefined;
|
632
|
+
numberOfLiveCampaigns?: number | undefined;
|
633
|
+
opportunityLiveTags?: string[] | undefined;
|
634
|
+
name: string;
|
635
|
+
description: string;
|
636
|
+
id: string;
|
637
|
+
url: string;
|
638
|
+
icon: string;
|
639
|
+
tags: string[];
|
640
|
+
} | null | undefined;
|
641
|
+
depositUrl?: string | undefined;
|
642
|
+
explorerAddress?: string | undefined;
|
643
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
644
|
+
aprRecord?: {
|
645
|
+
timestamp: string | bigint;
|
646
|
+
cumulated: number;
|
647
|
+
breakdowns: {
|
648
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
649
|
+
value: number;
|
650
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
651
|
+
identifier: string;
|
652
|
+
}[];
|
653
|
+
} | undefined;
|
654
|
+
tvlRecord?: {
|
655
|
+
timestamp: string | bigint;
|
656
|
+
total: number;
|
657
|
+
breakdowns: {
|
658
|
+
value: number;
|
659
|
+
type: "TOKEN" | "PROTOCOL";
|
660
|
+
identifier: string;
|
661
|
+
}[];
|
662
|
+
} | undefined;
|
663
|
+
rewardsRecord?: {
|
664
|
+
timestamp: string | bigint;
|
665
|
+
total: number;
|
666
|
+
breakdowns: {
|
667
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
668
|
+
token: {
|
669
|
+
price?: number | null | undefined;
|
670
|
+
symbol: string;
|
671
|
+
name: string | null;
|
672
|
+
decimals: number;
|
673
|
+
address: string;
|
674
|
+
id: string;
|
675
|
+
chainId: number;
|
676
|
+
icon: string;
|
677
|
+
isNative: boolean;
|
678
|
+
isPoint: boolean;
|
679
|
+
isPreTGE: boolean;
|
680
|
+
isTest: boolean;
|
681
|
+
verified: boolean;
|
682
|
+
};
|
683
|
+
campaignId: string;
|
684
|
+
value: number;
|
685
|
+
amount: string | bigint;
|
686
|
+
}[];
|
687
|
+
} | undefined;
|
688
|
+
name: string;
|
689
|
+
apr: number;
|
690
|
+
tokens: {
|
691
|
+
price?: number | null | undefined;
|
692
|
+
symbol: string;
|
693
|
+
name: string | null;
|
694
|
+
decimals: number;
|
695
|
+
address: string;
|
696
|
+
id: string;
|
697
|
+
chainId: number;
|
698
|
+
icon: string;
|
699
|
+
isNative: boolean;
|
700
|
+
isPoint: boolean;
|
701
|
+
isPreTGE: boolean;
|
702
|
+
isTest: boolean;
|
703
|
+
verified: boolean;
|
704
|
+
}[];
|
705
|
+
tvl: number;
|
706
|
+
description: string;
|
707
|
+
id: string;
|
708
|
+
status: string;
|
709
|
+
chainId: number;
|
710
|
+
action: string;
|
711
|
+
type: string;
|
712
|
+
howToSteps: string[];
|
713
|
+
identifier: string;
|
714
|
+
dailyRewards: number;
|
715
|
+
tags: string[];
|
716
|
+
lastCampaignCreatedAt: string;
|
717
|
+
chain: {
|
718
|
+
explorers?: {
|
719
|
+
chainId: number;
|
720
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
721
|
+
url: string;
|
722
|
+
}[] | undefined;
|
723
|
+
name: string;
|
724
|
+
id: number;
|
725
|
+
icon: string;
|
726
|
+
};
|
727
|
+
} | null)[];
|
728
|
+
422: {
|
729
|
+
type: "validation";
|
730
|
+
on: string;
|
731
|
+
summary?: string;
|
732
|
+
message?: string;
|
733
|
+
found?: unknown;
|
734
|
+
property?: string;
|
735
|
+
expected?: string;
|
736
|
+
};
|
737
|
+
};
|
738
|
+
};
|
739
|
+
};
|
740
|
+
} & {
|
741
|
+
opportunities: {
|
742
|
+
count: {
|
743
|
+
get: {
|
744
|
+
body: unknown;
|
745
|
+
params: {};
|
746
|
+
query: {
|
747
|
+
sort?: string | undefined;
|
748
|
+
name?: string | undefined;
|
749
|
+
tokens?: string | undefined;
|
750
|
+
campaignId?: string | undefined;
|
751
|
+
status?: string | undefined;
|
752
|
+
chainId?: string | undefined;
|
753
|
+
campaigns?: boolean | undefined;
|
754
|
+
point?: boolean | undefined;
|
755
|
+
order?: string | undefined;
|
756
|
+
action?: string | undefined;
|
757
|
+
type?: string | undefined;
|
758
|
+
search?: string | undefined;
|
759
|
+
creatorAddress?: string | undefined;
|
760
|
+
mainProtocolId?: string | undefined;
|
761
|
+
identifier?: string | undefined;
|
762
|
+
tags?: string | undefined;
|
763
|
+
test?: boolean | undefined;
|
764
|
+
excludeSubCampaigns?: boolean | undefined;
|
765
|
+
minimumTvl?: number | undefined;
|
766
|
+
maximumTvl?: number | undefined;
|
767
|
+
minimumApr?: number | undefined;
|
768
|
+
maximumApr?: number | undefined;
|
769
|
+
rewardTokenSymbol?: string | undefined;
|
770
|
+
items: number;
|
771
|
+
page: number;
|
772
|
+
};
|
773
|
+
headers: unknown;
|
774
|
+
response: {
|
775
|
+
200: number;
|
776
|
+
422: {
|
777
|
+
type: "validation";
|
778
|
+
on: string;
|
779
|
+
summary?: string;
|
780
|
+
message?: string;
|
781
|
+
found?: unknown;
|
782
|
+
property?: string;
|
783
|
+
expected?: string;
|
784
|
+
};
|
785
|
+
};
|
786
|
+
};
|
787
|
+
};
|
788
|
+
};
|
789
|
+
} & {
|
790
|
+
opportunities: {
|
791
|
+
bins: {
|
792
|
+
apr: {
|
793
|
+
get: {
|
794
|
+
body: unknown;
|
795
|
+
params: {};
|
796
|
+
query: {
|
797
|
+
sort?: string | undefined;
|
798
|
+
name?: string | undefined;
|
799
|
+
tokens?: string | undefined;
|
800
|
+
campaignId?: string | undefined;
|
801
|
+
status?: string | undefined;
|
802
|
+
chainId?: string | undefined;
|
803
|
+
campaigns?: boolean | undefined;
|
804
|
+
point?: boolean | undefined;
|
805
|
+
order?: string | undefined;
|
806
|
+
action?: string | undefined;
|
807
|
+
type?: string | undefined;
|
808
|
+
search?: string | undefined;
|
809
|
+
creatorAddress?: string | undefined;
|
810
|
+
mainProtocolId?: string | undefined;
|
811
|
+
identifier?: string | undefined;
|
812
|
+
tags?: string | undefined;
|
813
|
+
test?: boolean | undefined;
|
814
|
+
excludeSubCampaigns?: boolean | undefined;
|
815
|
+
minimumTvl?: number | undefined;
|
816
|
+
maximumTvl?: number | undefined;
|
817
|
+
minimumApr?: number | undefined;
|
818
|
+
maximumApr?: number | undefined;
|
819
|
+
rewardTokenSymbol?: string | undefined;
|
820
|
+
items: number;
|
821
|
+
page: number;
|
822
|
+
};
|
823
|
+
headers: unknown;
|
824
|
+
response: {
|
825
|
+
200: {
|
826
|
+
min: number;
|
827
|
+
max: number;
|
828
|
+
overThreshold: number;
|
829
|
+
binWidth: number;
|
830
|
+
bins: any[];
|
831
|
+
};
|
832
|
+
422: {
|
833
|
+
type: "validation";
|
834
|
+
on: string;
|
835
|
+
summary?: string;
|
836
|
+
message?: string;
|
837
|
+
found?: unknown;
|
838
|
+
property?: string;
|
839
|
+
expected?: string;
|
883
840
|
};
|
884
|
-
|
885
|
-
|
886
|
-
|
841
|
+
};
|
842
|
+
};
|
843
|
+
};
|
844
|
+
};
|
845
|
+
};
|
846
|
+
} & {
|
847
|
+
opportunities: {
|
848
|
+
bins: {
|
849
|
+
tvl: {
|
850
|
+
get: {
|
851
|
+
body: unknown;
|
852
|
+
params: {};
|
853
|
+
query: {
|
854
|
+
sort?: string | undefined;
|
855
|
+
name?: string | undefined;
|
856
|
+
tokens?: string | undefined;
|
857
|
+
campaignId?: string | undefined;
|
858
|
+
status?: string | undefined;
|
859
|
+
chainId?: string | undefined;
|
860
|
+
campaigns?: boolean | undefined;
|
861
|
+
point?: boolean | undefined;
|
862
|
+
order?: string | undefined;
|
863
|
+
action?: string | undefined;
|
864
|
+
type?: string | undefined;
|
865
|
+
search?: string | undefined;
|
866
|
+
creatorAddress?: string | undefined;
|
867
|
+
mainProtocolId?: string | undefined;
|
868
|
+
identifier?: string | undefined;
|
869
|
+
tags?: string | undefined;
|
870
|
+
test?: boolean | undefined;
|
871
|
+
excludeSubCampaigns?: boolean | undefined;
|
872
|
+
minimumTvl?: number | undefined;
|
873
|
+
maximumTvl?: number | undefined;
|
874
|
+
minimumApr?: number | undefined;
|
875
|
+
maximumApr?: number | undefined;
|
876
|
+
rewardTokenSymbol?: string | undefined;
|
877
|
+
items: number;
|
878
|
+
page: number;
|
879
|
+
};
|
880
|
+
headers: unknown;
|
881
|
+
response: {
|
882
|
+
200: {
|
883
|
+
min: number;
|
884
|
+
max: number;
|
885
|
+
binWidth: number;
|
886
|
+
bins: any[];
|
887
887
|
};
|
888
888
|
422: {
|
889
889
|
type: "validation";
|
@@ -916,7 +916,6 @@ export declare const v4: Elysia<"/v4", {
|
|
916
916
|
status?: string | undefined;
|
917
917
|
chainId?: string | undefined;
|
918
918
|
campaigns?: boolean | undefined;
|
919
|
-
items?: number | undefined;
|
920
919
|
point?: boolean | undefined;
|
921
920
|
order?: string | undefined;
|
922
921
|
action?: string | undefined;
|
@@ -926,7 +925,6 @@ export declare const v4: Elysia<"/v4", {
|
|
926
925
|
mainProtocolId?: string | undefined;
|
927
926
|
identifier?: string | undefined;
|
928
927
|
tags?: string | undefined;
|
929
|
-
page?: number | undefined;
|
930
928
|
test?: boolean | undefined;
|
931
929
|
excludeSubCampaigns?: boolean | undefined;
|
932
930
|
minimumTvl?: number | undefined;
|
@@ -934,6 +932,8 @@ export declare const v4: Elysia<"/v4", {
|
|
934
932
|
minimumApr?: number | undefined;
|
935
933
|
maximumApr?: number | undefined;
|
936
934
|
rewardTokenSymbol?: string | undefined;
|
935
|
+
items: number;
|
936
|
+
page: number;
|
937
937
|
};
|
938
938
|
headers: unknown;
|
939
939
|
response: {
|
@@ -972,7 +972,6 @@ export declare const v4: Elysia<"/v4", {
|
|
972
972
|
status?: string | undefined;
|
973
973
|
chainId?: string | undefined;
|
974
974
|
campaigns?: boolean | undefined;
|
975
|
-
items?: number | undefined;
|
976
975
|
point?: boolean | undefined;
|
977
976
|
order?: string | undefined;
|
978
977
|
action?: string | undefined;
|
@@ -982,7 +981,6 @@ export declare const v4: Elysia<"/v4", {
|
|
982
981
|
mainProtocolId?: string | undefined;
|
983
982
|
identifier?: string | undefined;
|
984
983
|
tags?: string | undefined;
|
985
|
-
page?: number | undefined;
|
986
984
|
test?: boolean | undefined;
|
987
985
|
excludeSubCampaigns?: boolean | undefined;
|
988
986
|
minimumTvl?: number | undefined;
|
@@ -990,6 +988,8 @@ export declare const v4: Elysia<"/v4", {
|
|
990
988
|
minimumApr?: number | undefined;
|
991
989
|
maximumApr?: number | undefined;
|
992
990
|
rewardTokenSymbol?: string | undefined;
|
991
|
+
items: number;
|
992
|
+
page: number;
|
993
993
|
};
|
994
994
|
headers: unknown;
|
995
995
|
response: {
|
@@ -1029,7 +1029,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1029
1029
|
status?: string | undefined;
|
1030
1030
|
chainId?: string | undefined;
|
1031
1031
|
campaigns?: boolean | undefined;
|
1032
|
-
items?: number | undefined;
|
1033
1032
|
point?: boolean | undefined;
|
1034
1033
|
order?: string | undefined;
|
1035
1034
|
action?: string | undefined;
|
@@ -1039,7 +1038,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1039
1038
|
mainProtocolId?: string | undefined;
|
1040
1039
|
identifier?: string | undefined;
|
1041
1040
|
tags?: string | undefined;
|
1042
|
-
page?: number | undefined;
|
1043
1041
|
test?: boolean | undefined;
|
1044
1042
|
excludeSubCampaigns?: boolean | undefined;
|
1045
1043
|
minimumTvl?: number | undefined;
|
@@ -1047,6 +1045,8 @@ export declare const v4: Elysia<"/v4", {
|
|
1047
1045
|
minimumApr?: number | undefined;
|
1048
1046
|
maximumApr?: number | undefined;
|
1049
1047
|
rewardTokenSymbol?: string | undefined;
|
1048
|
+
items: number;
|
1049
|
+
page: number;
|
1050
1050
|
};
|
1051
1051
|
headers: unknown;
|
1052
1052
|
response: {
|
@@ -1527,190 +1527,62 @@ export declare const v4: Elysia<"/v4", {
|
|
1527
1527
|
isPoint: boolean;
|
1528
1528
|
isPreTGE: boolean;
|
1529
1529
|
isTest: boolean;
|
1530
|
-
verified: boolean;
|
1531
|
-
} & {
|
1532
|
-
price?: number | null | undefined;
|
1533
|
-
isTokenWrapper?: boolean | undefined;
|
1534
|
-
tokenWrapperAddress?: string | undefined;
|
1535
|
-
})[];
|
1536
|
-
mainProtocol: "splice" | "curve" | "morpho" | "compound" | "silo" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1537
|
-
description: string;
|
1538
|
-
howToSteps: string[];
|
1539
|
-
depositUrl: string | undefined;
|
1540
|
-
explorerAddress: string | undefined;
|
1541
|
-
tags: string[];
|
1542
|
-
} | {
|
1543
|
-
Tokens: {
|
1544
|
-
symbol: string;
|
1545
|
-
name: string | null;
|
1546
|
-
decimals: number;
|
1547
|
-
price: number | null;
|
1548
|
-
address: string;
|
1549
|
-
id: string;
|
1550
|
-
chainId: number;
|
1551
|
-
icon: string;
|
1552
|
-
isNative: boolean;
|
1553
|
-
isPoint: boolean;
|
1554
|
-
isPreTGE: boolean;
|
1555
|
-
isTest: boolean;
|
1556
|
-
verified: boolean;
|
1557
|
-
displaySymbol: string;
|
1558
|
-
}[];
|
1559
|
-
Protocols: {
|
1560
|
-
name: string;
|
1561
|
-
description: string;
|
1562
|
-
id: string;
|
1563
|
-
url: string;
|
1564
|
-
icon: string;
|
1565
|
-
tags: string[];
|
1566
|
-
}[];
|
1567
|
-
name: string;
|
1568
|
-
apr: number;
|
1569
|
-
tvl: number;
|
1570
|
-
description: string;
|
1571
|
-
id: string;
|
1572
|
-
status: import("@package/databases").Status;
|
1573
|
-
chainId: number;
|
1574
|
-
action: import("@package/databases").OpportunityAction;
|
1575
|
-
type: string;
|
1576
|
-
depositUrl: string | null;
|
1577
|
-
explorerAddress: string | null;
|
1578
|
-
howToSteps: string[];
|
1579
|
-
mainProtocolId: string | null;
|
1580
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1581
|
-
identifier: string;
|
1582
|
-
dailyRewards: number;
|
1583
|
-
tags: string[];
|
1584
|
-
lastCampaignCreatedAt: Date;
|
1585
|
-
} | undefined;
|
1586
|
-
422: {
|
1587
|
-
type: "validation";
|
1588
|
-
on: string;
|
1589
|
-
summary?: string;
|
1590
|
-
message?: string;
|
1591
|
-
found?: unknown;
|
1592
|
-
property?: string;
|
1593
|
-
expected?: string;
|
1594
|
-
};
|
1595
|
-
};
|
1596
|
-
};
|
1597
|
-
};
|
1598
|
-
} & {
|
1599
|
-
opportunity: {
|
1600
|
-
patch: {
|
1601
|
-
body: {
|
1602
|
-
opportunityIdentifier?: string | undefined;
|
1603
|
-
campaignId: string;
|
1604
|
-
distributionChain: number;
|
1605
|
-
};
|
1606
|
-
params: {};
|
1607
|
-
query: unknown;
|
1608
|
-
headers: {
|
1609
|
-
authorization: string;
|
1610
|
-
};
|
1611
|
-
response: {
|
1612
|
-
200: string;
|
1613
|
-
422: {
|
1614
|
-
type: "validation";
|
1615
|
-
on: string;
|
1616
|
-
summary?: string;
|
1617
|
-
message?: string;
|
1618
|
-
found?: unknown;
|
1619
|
-
property?: string;
|
1620
|
-
expected?: string;
|
1621
|
-
};
|
1622
|
-
};
|
1623
|
-
};
|
1624
|
-
};
|
1625
|
-
} & {
|
1626
|
-
creator: {
|
1627
|
-
patch: {
|
1628
|
-
body: {
|
1629
|
-
campaignId: string;
|
1630
|
-
creatorAddress: string;
|
1631
|
-
distributionChain: number;
|
1632
|
-
};
|
1633
|
-
params: {};
|
1634
|
-
query: unknown;
|
1635
|
-
headers: {
|
1636
|
-
authorization: string;
|
1637
|
-
};
|
1638
|
-
response: {
|
1639
|
-
200: void;
|
1640
|
-
422: {
|
1641
|
-
type: "validation";
|
1642
|
-
on: string;
|
1643
|
-
summary?: string;
|
1644
|
-
message?: string;
|
1645
|
-
found?: unknown;
|
1646
|
-
property?: string;
|
1647
|
-
expected?: string;
|
1648
|
-
};
|
1649
|
-
};
|
1650
|
-
};
|
1651
|
-
};
|
1652
|
-
} & {
|
1653
|
-
"remove-override": {
|
1654
|
-
patch: {
|
1655
|
-
body: {
|
1656
|
-
campaignId: string;
|
1657
|
-
distributionChain: number;
|
1658
|
-
field: "opportunityId" | "creatorAddress";
|
1659
|
-
};
|
1660
|
-
params: {};
|
1661
|
-
query: unknown;
|
1662
|
-
headers: {
|
1663
|
-
authorization: string;
|
1664
|
-
};
|
1665
|
-
response: {
|
1666
|
-
200: void;
|
1667
|
-
422: {
|
1668
|
-
type: "validation";
|
1669
|
-
on: string;
|
1670
|
-
summary?: string;
|
1671
|
-
message?: string;
|
1672
|
-
found?: unknown;
|
1673
|
-
property?: string;
|
1674
|
-
expected?: string;
|
1675
|
-
};
|
1676
|
-
};
|
1677
|
-
};
|
1678
|
-
};
|
1679
|
-
} & {
|
1680
|
-
metadata: {
|
1681
|
-
patch: {
|
1682
|
-
body: {
|
1683
|
-
campaignId: string;
|
1684
|
-
url: string;
|
1685
|
-
distributionChain: number;
|
1686
|
-
};
|
1687
|
-
params: {};
|
1688
|
-
query: unknown;
|
1689
|
-
headers: {
|
1690
|
-
authorization: string;
|
1691
|
-
};
|
1692
|
-
response: {
|
1693
|
-
200: {
|
1694
|
-
campaignId: string;
|
1695
|
-
description: string | null;
|
1530
|
+
verified: boolean;
|
1531
|
+
} & {
|
1532
|
+
price?: number | null | undefined;
|
1533
|
+
isTokenWrapper?: boolean | undefined;
|
1534
|
+
tokenWrapperAddress?: string | undefined;
|
1535
|
+
})[];
|
1536
|
+
mainProtocol: "splice" | "curve" | "morpho" | "compound" | "silo" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1537
|
+
description: string;
|
1538
|
+
howToSteps: string[];
|
1539
|
+
depositUrl: string | undefined;
|
1540
|
+
explorerAddress: string | undefined;
|
1541
|
+
tags: string[];
|
1542
|
+
} | {
|
1543
|
+
Tokens: {
|
1544
|
+
symbol: string;
|
1545
|
+
name: string | null;
|
1546
|
+
decimals: number;
|
1547
|
+
price: number | null;
|
1548
|
+
address: string;
|
1549
|
+
id: string;
|
1550
|
+
chainId: number;
|
1551
|
+
icon: string;
|
1552
|
+
isNative: boolean;
|
1553
|
+
isPoint: boolean;
|
1554
|
+
isPreTGE: boolean;
|
1555
|
+
isTest: boolean;
|
1556
|
+
verified: boolean;
|
1557
|
+
displaySymbol: string;
|
1558
|
+
}[];
|
1559
|
+
Protocols: {
|
1560
|
+
name: string;
|
1561
|
+
description: string;
|
1562
|
+
id: string;
|
1563
|
+
url: string;
|
1564
|
+
icon: string;
|
1565
|
+
tags: string[];
|
1566
|
+
}[];
|
1567
|
+
name: string;
|
1568
|
+
apr: number;
|
1569
|
+
tvl: number;
|
1570
|
+
description: string;
|
1696
1571
|
id: string;
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1572
|
+
status: import("@package/databases").Status;
|
1573
|
+
chainId: number;
|
1574
|
+
action: import("@package/databases").OpportunityAction;
|
1700
1575
|
type: string;
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
rootCampaignId: string | null;
|
1712
|
-
parentCampaignId: string | null;
|
1713
|
-
};
|
1576
|
+
depositUrl: string | null;
|
1577
|
+
explorerAddress: string | null;
|
1578
|
+
howToSteps: string[];
|
1579
|
+
mainProtocolId: string | null;
|
1580
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1581
|
+
identifier: string;
|
1582
|
+
dailyRewards: number;
|
1583
|
+
tags: string[];
|
1584
|
+
lastCampaignCreatedAt: Date;
|
1585
|
+
} | undefined;
|
1714
1586
|
422: {
|
1715
1587
|
type: "validation";
|
1716
1588
|
on: string;
|
@@ -1723,148 +1595,9 @@ export declare const v4: Elysia<"/v4", {
|
|
1723
1595
|
};
|
1724
1596
|
};
|
1725
1597
|
};
|
1726
|
-
}
|
1727
|
-
|
1728
|
-
|
1729
|
-
put: {
|
1730
|
-
body: unknown;
|
1731
|
-
params: {
|
1732
|
-
opportunityId: string;
|
1733
|
-
};
|
1734
|
-
query: unknown;
|
1735
|
-
headers: {
|
1736
|
-
authorization: string;
|
1737
|
-
};
|
1738
|
-
response: {
|
1739
|
-
200: unknown[];
|
1740
|
-
422: {
|
1741
|
-
type: "validation";
|
1742
|
-
on: string;
|
1743
|
-
summary?: string;
|
1744
|
-
message?: string;
|
1745
|
-
found?: unknown;
|
1746
|
-
property?: string;
|
1747
|
-
expected?: string;
|
1748
|
-
};
|
1749
|
-
};
|
1750
|
-
};
|
1751
|
-
};
|
1752
|
-
};
|
1753
|
-
} & {
|
1754
|
-
get: {
|
1755
|
-
body: unknown;
|
1756
|
-
params: {};
|
1757
|
-
query: {
|
1758
|
-
campaignId?: string | undefined;
|
1759
|
-
id?: string | undefined;
|
1760
|
-
tokenAddress?: string | undefined;
|
1761
|
-
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1762
|
-
chainId?: number | undefined;
|
1763
|
-
startTimestamp?: string | undefined;
|
1764
|
-
items?: number | undefined;
|
1765
|
-
point?: boolean | undefined;
|
1766
|
-
tokenSymbol?: string | undefined;
|
1767
|
-
type?: string | undefined;
|
1768
|
-
endTimestamp?: string | undefined;
|
1769
|
-
opportunityId?: string | undefined;
|
1770
|
-
creatorAddress?: string | undefined;
|
1771
|
-
mainProtocolId?: string | undefined;
|
1772
|
-
subType?: number | undefined;
|
1773
|
-
rootCampaignId?: string | undefined;
|
1774
|
-
parentCampaignId?: string | undefined;
|
1775
|
-
creatorId?: string | undefined;
|
1776
|
-
mainParameter?: string | undefined;
|
1777
|
-
page?: number | undefined;
|
1778
|
-
test?: boolean | undefined;
|
1779
|
-
creatorTag?: string | undefined;
|
1780
|
-
distributionChainIds?: number[] | undefined;
|
1781
|
-
types?: string[] | undefined;
|
1782
|
-
withOpportunity?: boolean | undefined;
|
1783
|
-
createdAfter?: Date | null | undefined;
|
1784
|
-
excludeSubCampaigns?: boolean | undefined;
|
1785
|
-
};
|
1786
|
-
headers: unknown;
|
1787
|
-
response: {
|
1788
|
-
200: {
|
1789
|
-
description?: string | undefined;
|
1790
|
-
creator?: {
|
1791
|
-
tags?: string[] | undefined;
|
1792
|
-
creatorId?: string | null | undefined;
|
1793
|
-
address: string;
|
1794
|
-
} | undefined;
|
1795
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
1796
|
-
rootCampaignId?: string | undefined;
|
1797
|
-
parentCampaignId?: string | undefined;
|
1798
|
-
campaignStatus?: {
|
1799
|
-
error?: string | undefined;
|
1800
|
-
details?: any;
|
1801
|
-
campaignId: string;
|
1802
|
-
status: string;
|
1803
|
-
computedUntil: string | number;
|
1804
|
-
processingStarted: string | number;
|
1805
|
-
} | undefined;
|
1806
|
-
distributionChain?: {
|
1807
|
-
explorers?: {
|
1808
|
-
chainId: number;
|
1809
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
1810
|
-
url: string;
|
1811
|
-
}[] | undefined;
|
1812
|
-
name: string;
|
1813
|
-
id: number;
|
1814
|
-
icon: string;
|
1815
|
-
} | undefined;
|
1816
|
-
rewardToken: {
|
1817
|
-
price?: number | null | undefined;
|
1818
|
-
symbol: string;
|
1819
|
-
name: string | null;
|
1820
|
-
decimals: number;
|
1821
|
-
address: string;
|
1822
|
-
id: string;
|
1823
|
-
chainId: number;
|
1824
|
-
icon: string;
|
1825
|
-
isNative: boolean;
|
1826
|
-
isPoint: boolean;
|
1827
|
-
isPreTGE: boolean;
|
1828
|
-
isTest: boolean;
|
1829
|
-
verified: boolean;
|
1830
|
-
};
|
1831
|
-
campaignId: string;
|
1832
|
-
id: string;
|
1833
|
-
params: any;
|
1834
|
-
amount: string;
|
1835
|
-
startTimestamp: string | number;
|
1836
|
-
type: string;
|
1837
|
-
computeChainId: number;
|
1838
|
-
distributionChainId: number;
|
1839
|
-
endTimestamp: string | number;
|
1840
|
-
opportunityId: string;
|
1841
|
-
creatorAddress: string;
|
1842
|
-
subType: number | null;
|
1843
|
-
rewardTokenId: string;
|
1844
|
-
createdAt: string;
|
1845
|
-
chain: {
|
1846
|
-
explorers?: {
|
1847
|
-
chainId: number;
|
1848
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
1849
|
-
url: string;
|
1850
|
-
}[] | undefined;
|
1851
|
-
name: string;
|
1852
|
-
id: number;
|
1853
|
-
icon: string;
|
1854
|
-
};
|
1855
|
-
}[];
|
1856
|
-
422: {
|
1857
|
-
type: "validation";
|
1858
|
-
on: string;
|
1859
|
-
summary?: string;
|
1860
|
-
message?: string;
|
1861
|
-
found?: unknown;
|
1862
|
-
property?: string;
|
1863
|
-
expected?: string;
|
1864
|
-
};
|
1865
|
-
};
|
1866
|
-
};
|
1867
|
-
} & {
|
1598
|
+
};
|
1599
|
+
} & {
|
1600
|
+
campaigns: {
|
1868
1601
|
":id": {
|
1869
1602
|
get: {
|
1870
1603
|
body: unknown;
|
@@ -1954,7 +1687,9 @@ export declare const v4: Elysia<"/v4", {
|
|
1954
1687
|
};
|
1955
1688
|
};
|
1956
1689
|
};
|
1957
|
-
}
|
1690
|
+
};
|
1691
|
+
} & {
|
1692
|
+
campaigns: {
|
1958
1693
|
":id": {
|
1959
1694
|
metrics: {
|
1960
1695
|
get: {
|
@@ -1997,7 +1732,40 @@ export declare const v4: Elysia<"/v4", {
|
|
1997
1732
|
};
|
1998
1733
|
};
|
1999
1734
|
};
|
2000
|
-
}
|
1735
|
+
};
|
1736
|
+
} & {
|
1737
|
+
campaigns: {
|
1738
|
+
"campaigns-to-process": {
|
1739
|
+
engine: {
|
1740
|
+
post: {
|
1741
|
+
body: unknown;
|
1742
|
+
params: {};
|
1743
|
+
query: {
|
1744
|
+
chainId: number;
|
1745
|
+
};
|
1746
|
+
headers: {
|
1747
|
+
authorization: string;
|
1748
|
+
};
|
1749
|
+
response: {
|
1750
|
+
200: {
|
1751
|
+
campaignId: string;
|
1752
|
+
};
|
1753
|
+
422: {
|
1754
|
+
type: "validation";
|
1755
|
+
on: string;
|
1756
|
+
summary?: string;
|
1757
|
+
message?: string;
|
1758
|
+
found?: unknown;
|
1759
|
+
property?: string;
|
1760
|
+
expected?: string;
|
1761
|
+
};
|
1762
|
+
};
|
1763
|
+
};
|
1764
|
+
};
|
1765
|
+
};
|
1766
|
+
};
|
1767
|
+
} & {
|
1768
|
+
campaigns: {
|
2001
1769
|
"campaigns-to-process": {
|
2002
1770
|
get: {
|
2003
1771
|
body: unknown;
|
@@ -2028,7 +1796,9 @@ export declare const v4: Elysia<"/v4", {
|
|
2028
1796
|
};
|
2029
1797
|
};
|
2030
1798
|
};
|
2031
|
-
}
|
1799
|
+
};
|
1800
|
+
} & {
|
1801
|
+
campaigns: {
|
2032
1802
|
"campaigns-to-process": {
|
2033
1803
|
count: {
|
2034
1804
|
get: {
|
@@ -2053,7 +1823,9 @@ export declare const v4: Elysia<"/v4", {
|
|
2053
1823
|
};
|
2054
1824
|
};
|
2055
1825
|
};
|
2056
|
-
}
|
1826
|
+
};
|
1827
|
+
} & {
|
1828
|
+
campaigns: {
|
2057
1829
|
"campaigns-to-process": {
|
2058
1830
|
next: {
|
2059
1831
|
get: {
|
@@ -2080,35 +1852,6 @@ export declare const v4: Elysia<"/v4", {
|
|
2080
1852
|
};
|
2081
1853
|
};
|
2082
1854
|
};
|
2083
|
-
} & {
|
2084
|
-
"campaigns-to-process": {
|
2085
|
-
engine: {
|
2086
|
-
post: {
|
2087
|
-
body: unknown;
|
2088
|
-
params: {};
|
2089
|
-
query: {
|
2090
|
-
chainId: number;
|
2091
|
-
};
|
2092
|
-
headers: {
|
2093
|
-
authorization: string;
|
2094
|
-
};
|
2095
|
-
response: {
|
2096
|
-
200: {
|
2097
|
-
campaignId: string;
|
2098
|
-
};
|
2099
|
-
422: {
|
2100
|
-
type: "validation";
|
2101
|
-
on: string;
|
2102
|
-
summary?: string;
|
2103
|
-
message?: string;
|
2104
|
-
found?: unknown;
|
2105
|
-
property?: string;
|
2106
|
-
expected?: string;
|
2107
|
-
};
|
2108
|
-
};
|
2109
|
-
};
|
2110
|
-
};
|
2111
|
-
};
|
2112
1855
|
};
|
2113
1856
|
} & {
|
2114
1857
|
campaigns: {
|
@@ -2148,7 +1891,6 @@ export declare const v4: Elysia<"/v4", {
|
|
2148
1891
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
2149
1892
|
chainId?: number | undefined;
|
2150
1893
|
startTimestamp?: string | undefined;
|
2151
|
-
items?: number | undefined;
|
2152
1894
|
point?: boolean | undefined;
|
2153
1895
|
tokenSymbol?: string | undefined;
|
2154
1896
|
type?: string | undefined;
|
@@ -2161,7 +1903,6 @@ export declare const v4: Elysia<"/v4", {
|
|
2161
1903
|
parentCampaignId?: string | undefined;
|
2162
1904
|
creatorId?: string | undefined;
|
2163
1905
|
mainParameter?: string | undefined;
|
2164
|
-
page?: number | undefined;
|
2165
1906
|
test?: boolean | undefined;
|
2166
1907
|
creatorTag?: string | undefined;
|
2167
1908
|
distributionChainIds?: number[] | undefined;
|
@@ -2169,6 +1910,8 @@ export declare const v4: Elysia<"/v4", {
|
|
2169
1910
|
withOpportunity?: boolean | undefined;
|
2170
1911
|
createdAfter?: Date | null | undefined;
|
2171
1912
|
excludeSubCampaigns?: boolean | undefined;
|
1913
|
+
items: number;
|
1914
|
+
page: number;
|
2172
1915
|
};
|
2173
1916
|
headers: unknown;
|
2174
1917
|
response: {
|
@@ -2265,7 +2008,6 @@ export declare const v4: Elysia<"/v4", {
|
|
2265
2008
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
2266
2009
|
chainId?: number | undefined;
|
2267
2010
|
startTimestamp?: string | undefined;
|
2268
|
-
items?: number | undefined;
|
2269
2011
|
point?: boolean | undefined;
|
2270
2012
|
tokenSymbol?: string | undefined;
|
2271
2013
|
type?: string | undefined;
|
@@ -2278,7 +2020,6 @@ export declare const v4: Elysia<"/v4", {
|
|
2278
2020
|
parentCampaignId?: string | undefined;
|
2279
2021
|
creatorId?: string | undefined;
|
2280
2022
|
mainParameter?: string | undefined;
|
2281
|
-
page?: number | undefined;
|
2282
2023
|
test?: boolean | undefined;
|
2283
2024
|
creatorTag?: string | undefined;
|
2284
2025
|
distributionChainIds?: number[] | undefined;
|
@@ -2286,6 +2027,8 @@ export declare const v4: Elysia<"/v4", {
|
|
2286
2027
|
withOpportunity?: boolean | undefined;
|
2287
2028
|
createdAfter?: Date | null | undefined;
|
2288
2029
|
excludeSubCampaigns?: boolean | undefined;
|
2030
|
+
items: number;
|
2031
|
+
page: number;
|
2289
2032
|
};
|
2290
2033
|
headers: unknown;
|
2291
2034
|
response: {
|
@@ -2309,7 +2052,35 @@ export declare const v4: Elysia<"/v4", {
|
|
2309
2052
|
get: {
|
2310
2053
|
body: unknown;
|
2311
2054
|
params: {};
|
2312
|
-
query:
|
2055
|
+
query: {
|
2056
|
+
campaignId?: string | undefined;
|
2057
|
+
id?: string | undefined;
|
2058
|
+
tokenAddress?: string | undefined;
|
2059
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
2060
|
+
chainId?: number | undefined;
|
2061
|
+
startTimestamp?: string | undefined;
|
2062
|
+
point?: boolean | undefined;
|
2063
|
+
tokenSymbol?: string | undefined;
|
2064
|
+
type?: string | undefined;
|
2065
|
+
endTimestamp?: string | undefined;
|
2066
|
+
opportunityId?: string | undefined;
|
2067
|
+
creatorAddress?: string | undefined;
|
2068
|
+
mainProtocolId?: string | undefined;
|
2069
|
+
subType?: number | undefined;
|
2070
|
+
rootCampaignId?: string | undefined;
|
2071
|
+
parentCampaignId?: string | undefined;
|
2072
|
+
creatorId?: string | undefined;
|
2073
|
+
mainParameter?: string | undefined;
|
2074
|
+
test?: boolean | undefined;
|
2075
|
+
creatorTag?: string | undefined;
|
2076
|
+
distributionChainIds?: number[] | undefined;
|
2077
|
+
types?: string[] | undefined;
|
2078
|
+
withOpportunity?: boolean | undefined;
|
2079
|
+
createdAfter?: Date | null | undefined;
|
2080
|
+
excludeSubCampaigns?: boolean | undefined;
|
2081
|
+
items: number;
|
2082
|
+
page: number;
|
2083
|
+
};
|
2313
2084
|
headers: {
|
2314
2085
|
authorization: string;
|
2315
2086
|
};
|
@@ -2337,7 +2108,35 @@ export declare const v4: Elysia<"/v4", {
|
|
2337
2108
|
get: {
|
2338
2109
|
body: unknown;
|
2339
2110
|
params: {};
|
2340
|
-
query:
|
2111
|
+
query: {
|
2112
|
+
campaignId?: string | undefined;
|
2113
|
+
id?: string | undefined;
|
2114
|
+
tokenAddress?: string | undefined;
|
2115
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
2116
|
+
chainId?: number | undefined;
|
2117
|
+
startTimestamp?: string | undefined;
|
2118
|
+
point?: boolean | undefined;
|
2119
|
+
tokenSymbol?: string | undefined;
|
2120
|
+
type?: string | undefined;
|
2121
|
+
endTimestamp?: string | undefined;
|
2122
|
+
opportunityId?: string | undefined;
|
2123
|
+
creatorAddress?: string | undefined;
|
2124
|
+
mainProtocolId?: string | undefined;
|
2125
|
+
subType?: number | undefined;
|
2126
|
+
rootCampaignId?: string | undefined;
|
2127
|
+
parentCampaignId?: string | undefined;
|
2128
|
+
creatorId?: string | undefined;
|
2129
|
+
mainParameter?: string | undefined;
|
2130
|
+
test?: boolean | undefined;
|
2131
|
+
creatorTag?: string | undefined;
|
2132
|
+
distributionChainIds?: number[] | undefined;
|
2133
|
+
types?: string[] | undefined;
|
2134
|
+
withOpportunity?: boolean | undefined;
|
2135
|
+
createdAfter?: Date | null | undefined;
|
2136
|
+
excludeSubCampaigns?: boolean | undefined;
|
2137
|
+
items: number;
|
2138
|
+
page: number;
|
2139
|
+
};
|
2341
2140
|
headers: {
|
2342
2141
|
authorization: string;
|
2343
2142
|
};
|
@@ -2366,7 +2165,35 @@ export declare const v4: Elysia<"/v4", {
|
|
2366
2165
|
get: {
|
2367
2166
|
body: unknown;
|
2368
2167
|
params: {};
|
2369
|
-
query:
|
2168
|
+
query: {
|
2169
|
+
campaignId?: string | undefined;
|
2170
|
+
id?: string | undefined;
|
2171
|
+
tokenAddress?: string | undefined;
|
2172
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
2173
|
+
chainId?: number | undefined;
|
2174
|
+
startTimestamp?: string | undefined;
|
2175
|
+
point?: boolean | undefined;
|
2176
|
+
tokenSymbol?: string | undefined;
|
2177
|
+
type?: string | undefined;
|
2178
|
+
endTimestamp?: string | undefined;
|
2179
|
+
opportunityId?: string | undefined;
|
2180
|
+
creatorAddress?: string | undefined;
|
2181
|
+
mainProtocolId?: string | undefined;
|
2182
|
+
subType?: number | undefined;
|
2183
|
+
rootCampaignId?: string | undefined;
|
2184
|
+
parentCampaignId?: string | undefined;
|
2185
|
+
creatorId?: string | undefined;
|
2186
|
+
mainParameter?: string | undefined;
|
2187
|
+
test?: boolean | undefined;
|
2188
|
+
creatorTag?: string | undefined;
|
2189
|
+
distributionChainIds?: number[] | undefined;
|
2190
|
+
types?: string[] | undefined;
|
2191
|
+
withOpportunity?: boolean | undefined;
|
2192
|
+
createdAfter?: Date | null | undefined;
|
2193
|
+
excludeSubCampaigns?: boolean | undefined;
|
2194
|
+
items: number;
|
2195
|
+
page: number;
|
2196
|
+
};
|
2370
2197
|
headers: {
|
2371
2198
|
authorization: string;
|
2372
2199
|
};
|
@@ -2388,6 +2215,171 @@ export declare const v4: Elysia<"/v4", {
|
|
2388
2215
|
};
|
2389
2216
|
};
|
2390
2217
|
};
|
2218
|
+
} & {
|
2219
|
+
campaigns: {
|
2220
|
+
opportunity: {
|
2221
|
+
patch: {
|
2222
|
+
body: {
|
2223
|
+
opportunityIdentifier?: string | undefined;
|
2224
|
+
campaignId: string;
|
2225
|
+
distributionChain: number;
|
2226
|
+
};
|
2227
|
+
params: {};
|
2228
|
+
query: unknown;
|
2229
|
+
headers: {
|
2230
|
+
authorization: string;
|
2231
|
+
};
|
2232
|
+
response: {
|
2233
|
+
200: string;
|
2234
|
+
422: {
|
2235
|
+
type: "validation";
|
2236
|
+
on: string;
|
2237
|
+
summary?: string;
|
2238
|
+
message?: string;
|
2239
|
+
found?: unknown;
|
2240
|
+
property?: string;
|
2241
|
+
expected?: string;
|
2242
|
+
};
|
2243
|
+
};
|
2244
|
+
};
|
2245
|
+
};
|
2246
|
+
};
|
2247
|
+
} & {
|
2248
|
+
campaigns: {
|
2249
|
+
creator: {
|
2250
|
+
patch: {
|
2251
|
+
body: {
|
2252
|
+
campaignId: string;
|
2253
|
+
creatorAddress: string;
|
2254
|
+
distributionChain: number;
|
2255
|
+
};
|
2256
|
+
params: {};
|
2257
|
+
query: unknown;
|
2258
|
+
headers: {
|
2259
|
+
authorization: string;
|
2260
|
+
};
|
2261
|
+
response: {
|
2262
|
+
200: void;
|
2263
|
+
422: {
|
2264
|
+
type: "validation";
|
2265
|
+
on: string;
|
2266
|
+
summary?: string;
|
2267
|
+
message?: string;
|
2268
|
+
found?: unknown;
|
2269
|
+
property?: string;
|
2270
|
+
expected?: string;
|
2271
|
+
};
|
2272
|
+
};
|
2273
|
+
};
|
2274
|
+
};
|
2275
|
+
};
|
2276
|
+
} & {
|
2277
|
+
campaigns: {
|
2278
|
+
"remove-override": {
|
2279
|
+
patch: {
|
2280
|
+
body: {
|
2281
|
+
campaignId: string;
|
2282
|
+
distributionChain: number;
|
2283
|
+
field: "opportunityId" | "creatorAddress";
|
2284
|
+
};
|
2285
|
+
params: {};
|
2286
|
+
query: unknown;
|
2287
|
+
headers: {
|
2288
|
+
authorization: string;
|
2289
|
+
};
|
2290
|
+
response: {
|
2291
|
+
200: void;
|
2292
|
+
422: {
|
2293
|
+
type: "validation";
|
2294
|
+
on: string;
|
2295
|
+
summary?: string;
|
2296
|
+
message?: string;
|
2297
|
+
found?: unknown;
|
2298
|
+
property?: string;
|
2299
|
+
expected?: string;
|
2300
|
+
};
|
2301
|
+
};
|
2302
|
+
};
|
2303
|
+
};
|
2304
|
+
};
|
2305
|
+
} & {
|
2306
|
+
campaigns: {
|
2307
|
+
metadata: {
|
2308
|
+
patch: {
|
2309
|
+
body: {
|
2310
|
+
campaignId: string;
|
2311
|
+
url: string;
|
2312
|
+
distributionChain: number;
|
2313
|
+
};
|
2314
|
+
params: {};
|
2315
|
+
query: unknown;
|
2316
|
+
headers: {
|
2317
|
+
authorization: string;
|
2318
|
+
};
|
2319
|
+
response: {
|
2320
|
+
200: {
|
2321
|
+
campaignId: string;
|
2322
|
+
description: string | null;
|
2323
|
+
id: string;
|
2324
|
+
params: import("@prisma/client/runtime/library").JsonValue;
|
2325
|
+
amount: string;
|
2326
|
+
startTimestamp: bigint;
|
2327
|
+
type: string;
|
2328
|
+
computeChainId: number;
|
2329
|
+
distributionChainId: number;
|
2330
|
+
endTimestamp: bigint;
|
2331
|
+
opportunityId: string;
|
2332
|
+
creatorAddress: string;
|
2333
|
+
distributionType: import("@package/databases").DistributionType;
|
2334
|
+
subType: number | null;
|
2335
|
+
rewardTokenId: string;
|
2336
|
+
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
2337
|
+
createdAt: Date;
|
2338
|
+
rootCampaignId: string | null;
|
2339
|
+
parentCampaignId: string | null;
|
2340
|
+
};
|
2341
|
+
422: {
|
2342
|
+
type: "validation";
|
2343
|
+
on: string;
|
2344
|
+
summary?: string;
|
2345
|
+
message?: string;
|
2346
|
+
found?: unknown;
|
2347
|
+
property?: string;
|
2348
|
+
expected?: string;
|
2349
|
+
};
|
2350
|
+
};
|
2351
|
+
};
|
2352
|
+
};
|
2353
|
+
};
|
2354
|
+
} & {
|
2355
|
+
campaigns: {
|
2356
|
+
tvls: {
|
2357
|
+
":opportunityId": {
|
2358
|
+
put: {
|
2359
|
+
body: unknown;
|
2360
|
+
params: {
|
2361
|
+
opportunityId: string;
|
2362
|
+
};
|
2363
|
+
query: unknown;
|
2364
|
+
headers: {
|
2365
|
+
authorization: string;
|
2366
|
+
};
|
2367
|
+
response: {
|
2368
|
+
200: unknown[];
|
2369
|
+
422: {
|
2370
|
+
type: "validation";
|
2371
|
+
on: string;
|
2372
|
+
summary?: string;
|
2373
|
+
message?: string;
|
2374
|
+
found?: unknown;
|
2375
|
+
property?: string;
|
2376
|
+
expected?: string;
|
2377
|
+
};
|
2378
|
+
};
|
2379
|
+
};
|
2380
|
+
};
|
2381
|
+
};
|
2382
|
+
};
|
2391
2383
|
};
|
2392
2384
|
} & {
|
2393
2385
|
v4: {
|
@@ -2941,11 +2933,11 @@ export declare const v4: Elysia<"/v4", {
|
|
2941
2933
|
name?: string | undefined;
|
2942
2934
|
ids?: string[] | undefined;
|
2943
2935
|
id?: string | undefined;
|
2944
|
-
items?: number | undefined;
|
2945
2936
|
tags?: string[] | undefined;
|
2946
|
-
page?: number | undefined;
|
2947
2937
|
test?: boolean | undefined;
|
2948
2938
|
opportunityTag?: string | undefined;
|
2939
|
+
items: number;
|
2940
|
+
page: number;
|
2949
2941
|
};
|
2950
2942
|
headers: unknown;
|
2951
2943
|
response: {
|
@@ -2980,11 +2972,11 @@ export declare const v4: Elysia<"/v4", {
|
|
2980
2972
|
name?: string | undefined;
|
2981
2973
|
ids?: string[] | undefined;
|
2982
2974
|
id?: string | undefined;
|
2983
|
-
items?: number | undefined;
|
2984
2975
|
tags?: string[] | undefined;
|
2985
|
-
page?: number | undefined;
|
2986
2976
|
test?: boolean | undefined;
|
2987
2977
|
opportunityTag?: string | undefined;
|
2978
|
+
items: number;
|
2979
|
+
page: number;
|
2988
2980
|
};
|
2989
2981
|
headers: unknown;
|
2990
2982
|
response: {
|
@@ -3453,15 +3445,15 @@ export declare const v4: Elysia<"/v4", {
|
|
3453
3445
|
address?: string | undefined;
|
3454
3446
|
id?: string[] | undefined;
|
3455
3447
|
chainId?: number | undefined;
|
3456
|
-
items?: number | undefined;
|
3457
3448
|
isNative?: boolean | undefined;
|
3458
3449
|
verified?: boolean | undefined;
|
3459
3450
|
search?: string | undefined;
|
3460
3451
|
displaySymbol?: string | undefined;
|
3461
|
-
page?: number | undefined;
|
3462
3452
|
test?: boolean | undefined;
|
3463
3453
|
missingIcons?: boolean | undefined;
|
3464
3454
|
missingPrice?: boolean | undefined;
|
3455
|
+
items: number;
|
3456
|
+
page: number;
|
3465
3457
|
};
|
3466
3458
|
headers: unknown;
|
3467
3459
|
response: {
|
@@ -3505,15 +3497,15 @@ export declare const v4: Elysia<"/v4", {
|
|
3505
3497
|
address?: string | undefined;
|
3506
3498
|
id?: string[] | undefined;
|
3507
3499
|
chainId?: number | undefined;
|
3508
|
-
items?: number | undefined;
|
3509
3500
|
isNative?: boolean | undefined;
|
3510
3501
|
verified?: boolean | undefined;
|
3511
3502
|
search?: string | undefined;
|
3512
3503
|
displaySymbol?: string | undefined;
|
3513
|
-
page?: number | undefined;
|
3514
3504
|
test?: boolean | undefined;
|
3515
3505
|
missingIcons?: boolean | undefined;
|
3516
3506
|
missingPrice?: boolean | undefined;
|
3507
|
+
items: number;
|
3508
|
+
page: number;
|
3517
3509
|
};
|
3518
3510
|
headers: unknown;
|
3519
3511
|
response: {
|
@@ -3704,10 +3696,10 @@ export declare const v4: Elysia<"/v4", {
|
|
3704
3696
|
body: unknown;
|
3705
3697
|
params: {};
|
3706
3698
|
query: {
|
3707
|
-
items?: number | undefined;
|
3708
|
-
page?: number | undefined;
|
3709
3699
|
campaignId: string;
|
3710
3700
|
chainId: number;
|
3701
|
+
items: number;
|
3702
|
+
page: number;
|
3711
3703
|
};
|
3712
3704
|
headers: unknown;
|
3713
3705
|
response: {
|
@@ -3729,10 +3721,10 @@ export declare const v4: Elysia<"/v4", {
|
|
3729
3721
|
body: unknown;
|
3730
3722
|
params: {};
|
3731
3723
|
query: {
|
3732
|
-
items?: number | undefined;
|
3733
|
-
page?: number | undefined;
|
3734
3724
|
campaignId: string;
|
3735
3725
|
chainId: number;
|
3726
|
+
items: number;
|
3727
|
+
page: number;
|
3736
3728
|
};
|
3737
3729
|
headers: unknown;
|
3738
3730
|
response: {
|
@@ -3758,10 +3750,10 @@ export declare const v4: Elysia<"/v4", {
|
|
3758
3750
|
body: unknown;
|
3759
3751
|
params: {};
|
3760
3752
|
query: {
|
3761
|
-
items?: number | undefined;
|
3762
|
-
page?: number | undefined;
|
3763
3753
|
campaignId: string;
|
3764
3754
|
chainId: number;
|
3755
|
+
items: number;
|
3756
|
+
page: number;
|
3765
3757
|
};
|
3766
3758
|
headers: unknown;
|
3767
3759
|
response: {
|
@@ -3791,8 +3783,8 @@ export declare const v4: Elysia<"/v4", {
|
|
3791
3783
|
campaignId: string;
|
3792
3784
|
};
|
3793
3785
|
query: {
|
3794
|
-
items
|
3795
|
-
page
|
3786
|
+
items: number;
|
3787
|
+
page: number;
|
3796
3788
|
};
|
3797
3789
|
headers: unknown;
|
3798
3790
|
response: {
|
@@ -3827,8 +3819,8 @@ export declare const v4: Elysia<"/v4", {
|
|
3827
3819
|
campaignId: string;
|
3828
3820
|
};
|
3829
3821
|
query: {
|
3830
|
-
items
|
3831
|
-
page
|
3822
|
+
items: number;
|
3823
|
+
page: number;
|
3832
3824
|
};
|
3833
3825
|
headers: unknown;
|
3834
3826
|
response: {
|
@@ -3862,8 +3854,8 @@ export declare const v4: Elysia<"/v4", {
|
|
3862
3854
|
campaignId: string;
|
3863
3855
|
};
|
3864
3856
|
query: {
|
3865
|
-
items
|
3866
|
-
page
|
3857
|
+
items: number;
|
3858
|
+
page: number;
|
3867
3859
|
};
|
3868
3860
|
headers: unknown;
|
3869
3861
|
response: {
|
@@ -3891,11 +3883,11 @@ export declare const v4: Elysia<"/v4", {
|
|
3891
3883
|
params: {};
|
3892
3884
|
query: {
|
3893
3885
|
recipient?: string | undefined;
|
3894
|
-
items?: number | undefined;
|
3895
|
-
page?: number | undefined;
|
3896
3886
|
campaignIds?: string[] | undefined;
|
3897
3887
|
address: string;
|
3898
3888
|
chainId: number;
|
3889
|
+
items: number;
|
3890
|
+
page: number;
|
3899
3891
|
};
|
3900
3892
|
headers: unknown;
|
3901
3893
|
response: {
|
@@ -3925,11 +3917,11 @@ export declare const v4: Elysia<"/v4", {
|
|
3925
3917
|
params: {};
|
3926
3918
|
query: {
|
3927
3919
|
recipient?: string | undefined;
|
3928
|
-
items?: number | undefined;
|
3929
|
-
page?: number | undefined;
|
3930
3920
|
campaignIds?: string[] | undefined;
|
3931
3921
|
address: string;
|
3932
3922
|
chainId: number;
|
3923
|
+
items: number;
|
3924
|
+
page: number;
|
3933
3925
|
};
|
3934
3926
|
headers: unknown;
|
3935
3927
|
response: {
|
@@ -3958,11 +3950,11 @@ export declare const v4: Elysia<"/v4", {
|
|
3958
3950
|
params: {};
|
3959
3951
|
query: {
|
3960
3952
|
recipient?: string | undefined;
|
3961
|
-
items?: number | undefined;
|
3962
|
-
page?: number | undefined;
|
3963
3953
|
campaignIds?: string[] | undefined;
|
3964
3954
|
address: string;
|
3965
3955
|
chainId: number;
|
3956
|
+
items: number;
|
3957
|
+
page: number;
|
3966
3958
|
};
|
3967
3959
|
headers: unknown;
|
3968
3960
|
response: {
|
@@ -4862,9 +4854,9 @@ export declare const v4: Elysia<"/v4", {
|
|
4862
4854
|
params: {};
|
4863
4855
|
query: {
|
4864
4856
|
address?: string | undefined;
|
4865
|
-
items?: number | undefined;
|
4866
4857
|
tags?: string[] | undefined;
|
4867
|
-
|
4858
|
+
items: number;
|
4859
|
+
page: number;
|
4868
4860
|
};
|
4869
4861
|
headers: unknown;
|
4870
4862
|
response: {
|
@@ -5371,8 +5363,8 @@ export declare const v4: Elysia<"/v4", {
|
|
5371
5363
|
body: unknown;
|
5372
5364
|
params: {};
|
5373
5365
|
query: {
|
5374
|
-
items
|
5375
|
-
page
|
5366
|
+
items: number;
|
5367
|
+
page: number;
|
5376
5368
|
};
|
5377
5369
|
headers: {
|
5378
5370
|
authorization: string;
|
@@ -7147,6 +7139,8 @@ export declare const v4: Elysia<"/v4", {
|
|
7147
7139
|
headers: unknown;
|
7148
7140
|
response: {
|
7149
7141
|
200: {
|
7142
|
+
apr: number | null;
|
7143
|
+
tvl: number | null;
|
7150
7144
|
averageBoost: number | null;
|
7151
7145
|
totalDistributedInUSD: number | null;
|
7152
7146
|
forfeitingBoost: number | null;
|
@@ -7311,8 +7305,8 @@ export declare const v4: Elysia<"/v4", {
|
|
7311
7305
|
query: {
|
7312
7306
|
address?: string | undefined;
|
7313
7307
|
id?: string | undefined;
|
7314
|
-
items
|
7315
|
-
page
|
7308
|
+
items: number;
|
7309
|
+
page: number;
|
7316
7310
|
};
|
7317
7311
|
headers: unknown;
|
7318
7312
|
response: {
|