@merkl/api 0.20.0 → 0.20.2
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/database/api/.generated/drizzle/schema.d.ts +28 -28
- package/dist/database/api/.generated/drizzle/schema.js +11 -11
- package/dist/database/api/.generated/drizzle/schema.ts +11 -11
- package/dist/database/api/.generated/edge.js +5 -5
- package/dist/database/api/.generated/index-browser.js +2 -2
- package/dist/database/api/.generated/index.d.ts +151 -154
- package/dist/database/api/.generated/index.js +5 -5
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +11 -11
- package/dist/database/api/.generated/wasm.js +2 -2
- package/dist/src/eden/index.d.ts +2088 -667
- package/dist/src/engine/opportunityMetadata/implementations/Clamm.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Clamm.js +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Dolomite.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Dolomite.js +2 -0
- package/dist/src/engine/opportunityMetadata/implementations/Erc20.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Erc20.js +2 -0
- package/dist/src/engine/opportunityMetadata/implementations/Euler.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Euler.js +2 -0
- package/dist/src/engine/opportunityMetadata/implementations/Hyperdrive.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Hyperdrive.js +2 -0
- package/dist/src/engine/opportunityMetadata/implementations/Morpho.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Morpho.js +2 -0
- package/dist/src/engine/opportunityMetadata/implementations/Radiant.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Radiant.js +2 -0
- package/dist/src/engine/opportunityMetadata/implementations/Silo.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/Silo.js +2 -0
- package/dist/src/engine/opportunityMetadata/implementations/UniswapV4.d.ts +1 -0
- package/dist/src/engine/opportunityMetadata/implementations/UniswapV4.js +2 -0
- package/dist/src/index.d.ts +380 -95
- package/dist/src/jobs/reward-breakdowns.js +0 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +5 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +9 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.service.js +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +374 -95
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.js +2 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +8 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +14 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +1 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -4
- package/dist/src/modules/v4/reward/reward.repository.js +0 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +10 -4
- package/dist/src/modules/v4/reward/reward.service.js +1 -1
- package/dist/src/modules/v4/router.d.ts +380 -95
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +2 -1
@@ -34,6 +34,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
34
34
|
name?: string | undefined;
|
35
35
|
tags?: string[] | undefined;
|
36
36
|
depositUrl?: string | undefined;
|
37
|
+
explorerAddress?: string | undefined;
|
37
38
|
protocols?: string[] | undefined;
|
38
39
|
mainProtocol?: string | undefined;
|
39
40
|
type: string;
|
@@ -62,6 +63,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
62
63
|
action: import("@db/api").$Enums.OpportunityAction;
|
63
64
|
chainId: number;
|
64
65
|
depositUrl: string | null;
|
66
|
+
explorerAddress: string | null;
|
65
67
|
mainProtocolId: string | null;
|
66
68
|
tvl: number;
|
67
69
|
apr: number;
|
@@ -110,6 +112,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
110
112
|
})[];
|
111
113
|
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
112
114
|
depositUrl: any;
|
115
|
+
explorerAddress: string | undefined;
|
113
116
|
tags: string[];
|
114
117
|
};
|
115
118
|
};
|
@@ -146,44 +149,136 @@ export declare const v4: Elysia<"/v4", false, {
|
|
146
149
|
};
|
147
150
|
headers: unknown;
|
148
151
|
response: {
|
149
|
-
200: {
|
150
|
-
|
151
|
-
|
152
|
+
200: ({
|
153
|
+
protocol?: {
|
154
|
+
id: string;
|
155
|
+
name: string;
|
156
|
+
url: string;
|
157
|
+
description: string;
|
158
|
+
tags: string[];
|
159
|
+
icon: string;
|
160
|
+
} | null | undefined;
|
161
|
+
depositUrl?: string | undefined;
|
162
|
+
explorerAddress?: string | undefined;
|
163
|
+
aprRecord?: {
|
164
|
+
timestamp: string | bigint;
|
152
165
|
cumulated: number;
|
153
|
-
timestamp: bigint;
|
154
166
|
breakdowns: {
|
155
167
|
id: number;
|
156
|
-
type:
|
157
|
-
uuid: string;
|
168
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
158
169
|
identifier: string;
|
159
170
|
value: number;
|
160
171
|
aprRecordId: string;
|
161
172
|
}[];
|
162
|
-
};
|
163
|
-
tvlRecord
|
164
|
-
id: string;
|
173
|
+
} | undefined;
|
174
|
+
tvlRecord?: {
|
165
175
|
total: number;
|
166
|
-
timestamp: bigint;
|
176
|
+
timestamp: string | bigint;
|
167
177
|
breakdowns: {
|
168
178
|
id: number;
|
169
|
-
type:
|
170
|
-
uuid: string;
|
179
|
+
type: "TOKEN" | "PROTOCOL";
|
171
180
|
identifier: string;
|
172
181
|
value: number;
|
173
182
|
tvlRecordId: string;
|
174
183
|
}[];
|
175
|
-
};
|
176
|
-
rewardsRecord
|
184
|
+
} | undefined;
|
185
|
+
rewardsRecord?: {
|
177
186
|
id: string;
|
178
187
|
total: number;
|
179
|
-
timestamp: bigint;
|
188
|
+
timestamp: string | bigint;
|
180
189
|
breakdowns: {
|
181
190
|
id: number;
|
182
|
-
|
191
|
+
token: {
|
192
|
+
price?: number | null | undefined;
|
193
|
+
symbol: string;
|
194
|
+
id: string;
|
195
|
+
name: string | null;
|
196
|
+
icon: string;
|
197
|
+
address: string;
|
198
|
+
chainId: number;
|
199
|
+
decimals: number;
|
200
|
+
verified: boolean;
|
201
|
+
isTest: boolean;
|
202
|
+
};
|
183
203
|
value: number;
|
184
204
|
campaignId: string;
|
205
|
+
amount: string | bigint;
|
185
206
|
dailyRewardsRecordId: string;
|
207
|
+
}[];
|
208
|
+
} | undefined;
|
209
|
+
id: string;
|
210
|
+
name: string;
|
211
|
+
type: string;
|
212
|
+
status: string;
|
213
|
+
tokens: {
|
214
|
+
price?: number | null | undefined;
|
215
|
+
symbol: string;
|
216
|
+
id: string;
|
217
|
+
name: string | null;
|
218
|
+
icon: string;
|
219
|
+
address: string;
|
220
|
+
chainId: number;
|
221
|
+
decimals: number;
|
222
|
+
verified: boolean;
|
223
|
+
isTest: boolean;
|
224
|
+
}[];
|
225
|
+
tags: string[];
|
226
|
+
identifier: string;
|
227
|
+
chain: {
|
228
|
+
id: number;
|
229
|
+
name: string;
|
230
|
+
icon: string;
|
231
|
+
};
|
232
|
+
action: string;
|
233
|
+
chainId: number;
|
234
|
+
tvl: number;
|
235
|
+
apr: number;
|
236
|
+
dailyRewards: number;
|
237
|
+
} | null)[];
|
238
|
+
} | {
|
239
|
+
200: never;
|
240
|
+
} | {
|
241
|
+
200: (Response | ({
|
242
|
+
protocol?: {
|
243
|
+
id: string;
|
244
|
+
name: string;
|
245
|
+
url: string;
|
246
|
+
description: string;
|
247
|
+
tags: string[];
|
248
|
+
icon: string;
|
249
|
+
} | null | undefined;
|
250
|
+
depositUrl?: string | undefined;
|
251
|
+
explorerAddress?: string | undefined;
|
252
|
+
aprRecord?: {
|
253
|
+
timestamp: string | bigint;
|
254
|
+
cumulated: number;
|
255
|
+
breakdowns: {
|
256
|
+
id: number;
|
257
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
258
|
+
identifier: string;
|
259
|
+
value: number;
|
260
|
+
aprRecordId: string;
|
261
|
+
}[];
|
262
|
+
} | undefined;
|
263
|
+
tvlRecord?: {
|
264
|
+
total: number;
|
265
|
+
timestamp: string | bigint;
|
266
|
+
breakdowns: {
|
267
|
+
id: number;
|
268
|
+
type: "TOKEN" | "PROTOCOL";
|
269
|
+
identifier: string;
|
270
|
+
value: number;
|
271
|
+
tvlRecordId: string;
|
272
|
+
}[];
|
273
|
+
} | undefined;
|
274
|
+
rewardsRecord?: {
|
275
|
+
id: string;
|
276
|
+
total: number;
|
277
|
+
timestamp: string | bigint;
|
278
|
+
breakdowns: {
|
279
|
+
id: number;
|
186
280
|
token: {
|
281
|
+
price?: number | null | undefined;
|
187
282
|
symbol: string;
|
188
283
|
id: string;
|
189
284
|
name: string | null;
|
@@ -191,26 +286,107 @@ export declare const v4: Elysia<"/v4", false, {
|
|
191
286
|
address: string;
|
192
287
|
chainId: number;
|
193
288
|
decimals: number;
|
194
|
-
displaySymbol: string;
|
195
289
|
verified: boolean;
|
196
290
|
isTest: boolean;
|
197
|
-
isPoint: boolean;
|
198
|
-
isNative: boolean;
|
199
|
-
price: number | null;
|
200
291
|
};
|
201
|
-
|
292
|
+
value: number;
|
293
|
+
campaignId: string;
|
294
|
+
amount: string | bigint;
|
295
|
+
dailyRewardsRecordId: string;
|
202
296
|
}[];
|
297
|
+
} | undefined;
|
298
|
+
id: string;
|
299
|
+
name: string;
|
300
|
+
type: string;
|
301
|
+
status: string;
|
302
|
+
tokens: {
|
303
|
+
price?: number | null | undefined;
|
304
|
+
symbol: string;
|
305
|
+
id: string;
|
306
|
+
name: string | null;
|
307
|
+
icon: string;
|
308
|
+
address: string;
|
309
|
+
chainId: number;
|
310
|
+
decimals: number;
|
311
|
+
verified: boolean;
|
312
|
+
isTest: boolean;
|
313
|
+
}[];
|
314
|
+
tags: string[];
|
315
|
+
identifier: string;
|
316
|
+
chain: {
|
317
|
+
id: number;
|
318
|
+
name: string;
|
319
|
+
icon: string;
|
203
320
|
};
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
321
|
+
action: string;
|
322
|
+
chainId: number;
|
323
|
+
tvl: number;
|
324
|
+
apr: number;
|
325
|
+
dailyRewards: number;
|
326
|
+
} | null)[] | {
|
327
|
+
200: ({
|
328
|
+
protocol?: {
|
329
|
+
id: string;
|
208
330
|
name: string;
|
331
|
+
url: string;
|
332
|
+
description: string;
|
333
|
+
tags: string[];
|
209
334
|
icon: string;
|
210
|
-
};
|
211
|
-
|
212
|
-
|
213
|
-
|
335
|
+
} | null | undefined;
|
336
|
+
depositUrl?: string | undefined;
|
337
|
+
explorerAddress?: string | undefined;
|
338
|
+
aprRecord?: {
|
339
|
+
timestamp: string | bigint;
|
340
|
+
cumulated: number;
|
341
|
+
breakdowns: {
|
342
|
+
id: number;
|
343
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
344
|
+
identifier: string;
|
345
|
+
value: number;
|
346
|
+
aprRecordId: string;
|
347
|
+
}[];
|
348
|
+
} | undefined;
|
349
|
+
tvlRecord?: {
|
350
|
+
total: number;
|
351
|
+
timestamp: string | bigint;
|
352
|
+
breakdowns: {
|
353
|
+
id: number;
|
354
|
+
type: "TOKEN" | "PROTOCOL";
|
355
|
+
identifier: string;
|
356
|
+
value: number;
|
357
|
+
tvlRecordId: string;
|
358
|
+
}[];
|
359
|
+
} | undefined;
|
360
|
+
rewardsRecord?: {
|
361
|
+
id: string;
|
362
|
+
total: number;
|
363
|
+
timestamp: string | bigint;
|
364
|
+
breakdowns: {
|
365
|
+
id: number;
|
366
|
+
token: {
|
367
|
+
price?: number | null | undefined;
|
368
|
+
symbol: string;
|
369
|
+
id: string;
|
370
|
+
name: string | null;
|
371
|
+
icon: string;
|
372
|
+
address: string;
|
373
|
+
chainId: number;
|
374
|
+
decimals: number;
|
375
|
+
verified: boolean;
|
376
|
+
isTest: boolean;
|
377
|
+
};
|
378
|
+
value: number;
|
379
|
+
campaignId: string;
|
380
|
+
amount: string | bigint;
|
381
|
+
dailyRewardsRecordId: string;
|
382
|
+
}[];
|
383
|
+
} | undefined;
|
384
|
+
id: string;
|
385
|
+
name: string;
|
386
|
+
type: string;
|
387
|
+
status: string;
|
388
|
+
tokens: {
|
389
|
+
price?: number | null | undefined;
|
214
390
|
symbol: string;
|
215
391
|
id: string;
|
216
392
|
name: string | null;
|
@@ -220,59 +396,83 @@ export declare const v4: Elysia<"/v4", false, {
|
|
220
396
|
decimals: number;
|
221
397
|
verified: boolean;
|
222
398
|
isTest: boolean;
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
};
|
228
|
-
distributionChain: {
|
399
|
+
}[];
|
400
|
+
tags: string[];
|
401
|
+
identifier: string;
|
402
|
+
chain: {
|
229
403
|
id: number;
|
230
404
|
name: string;
|
231
405
|
icon: string;
|
232
|
-
} | undefined;
|
233
|
-
campaignStatus: {
|
234
|
-
computedUntil: number;
|
235
|
-
processingStarted: number;
|
236
|
-
error: string;
|
237
|
-
status: import("@db/api").$Enums.RunStatus;
|
238
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
239
|
-
campaignId: string;
|
240
|
-
} | undefined;
|
241
|
-
creatorAddress: string;
|
242
|
-
creator: {
|
243
|
-
tags: string[];
|
244
|
-
address: string;
|
245
|
-
creatorId: string | null;
|
246
406
|
};
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
407
|
+
action: string;
|
408
|
+
chainId: number;
|
409
|
+
tvl: number;
|
410
|
+
apr: number;
|
411
|
+
dailyRewards: number;
|
412
|
+
} | null)[];
|
413
|
+
}) & ({
|
414
|
+
protocol?: {
|
415
|
+
id: string;
|
416
|
+
name: string;
|
417
|
+
url: string;
|
418
|
+
description: string;
|
419
|
+
tags: string[];
|
420
|
+
icon: string;
|
421
|
+
} | null | undefined;
|
422
|
+
depositUrl?: string | undefined;
|
423
|
+
explorerAddress?: string | undefined;
|
424
|
+
aprRecord?: {
|
425
|
+
timestamp: string | bigint;
|
426
|
+
cumulated: number;
|
427
|
+
breakdowns: {
|
428
|
+
id: number;
|
429
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
254
430
|
identifier: string;
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
431
|
+
value: number;
|
432
|
+
aprRecordId: string;
|
433
|
+
}[];
|
434
|
+
} | undefined;
|
435
|
+
tvlRecord?: {
|
436
|
+
total: number;
|
437
|
+
timestamp: string | bigint;
|
438
|
+
breakdowns: {
|
439
|
+
id: number;
|
440
|
+
type: "TOKEN" | "PROTOCOL";
|
441
|
+
identifier: string;
|
442
|
+
value: number;
|
443
|
+
tvlRecordId: string;
|
444
|
+
}[];
|
445
|
+
} | undefined;
|
446
|
+
rewardsRecord?: {
|
263
447
|
id: string;
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
448
|
+
total: number;
|
449
|
+
timestamp: string | bigint;
|
450
|
+
breakdowns: {
|
451
|
+
id: number;
|
452
|
+
token: {
|
453
|
+
price?: number | null | undefined;
|
454
|
+
symbol: string;
|
455
|
+
id: string;
|
456
|
+
name: string | null;
|
457
|
+
icon: string;
|
458
|
+
address: string;
|
459
|
+
chainId: number;
|
460
|
+
decimals: number;
|
461
|
+
verified: boolean;
|
462
|
+
isTest: boolean;
|
463
|
+
};
|
464
|
+
value: number;
|
465
|
+
campaignId: string;
|
466
|
+
amount: string | bigint;
|
467
|
+
dailyRewardsRecordId: string;
|
468
|
+
}[];
|
469
|
+
} | undefined;
|
273
470
|
id: string;
|
274
|
-
|
275
|
-
|
471
|
+
name: string;
|
472
|
+
type: string;
|
473
|
+
status: string;
|
474
|
+
tokens: {
|
475
|
+
price?: number | null | undefined;
|
276
476
|
symbol: string;
|
277
477
|
id: string;
|
278
478
|
name: string | null;
|
@@ -282,34 +482,109 @@ export declare const v4: Elysia<"/v4", false, {
|
|
282
482
|
decimals: number;
|
283
483
|
verified: boolean;
|
284
484
|
isTest: boolean;
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
price?: number | null | undefined;
|
289
|
-
})[];
|
485
|
+
}[];
|
486
|
+
tags: string[];
|
487
|
+
identifier: string;
|
290
488
|
chain: {
|
291
489
|
id: number;
|
292
490
|
name: string;
|
293
491
|
icon: string;
|
294
492
|
};
|
295
|
-
|
296
|
-
id: string;
|
297
|
-
name: string;
|
298
|
-
url: string;
|
299
|
-
description: string;
|
300
|
-
tags: string[];
|
301
|
-
icon: string;
|
302
|
-
} | undefined;
|
303
|
-
name: string;
|
304
|
-
type: string;
|
305
|
-
status: import("@db/api").$Enums.Status;
|
306
|
-
tags: string[];
|
307
|
-
identifier: string;
|
308
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
493
|
+
action: string;
|
309
494
|
chainId: number;
|
310
495
|
tvl: number;
|
496
|
+
apr: number;
|
311
497
|
dailyRewards: number;
|
312
|
-
}[];
|
498
|
+
} | null)[];
|
499
|
+
} | {
|
500
|
+
200: {
|
501
|
+
200: ({
|
502
|
+
protocol?: {
|
503
|
+
id: string;
|
504
|
+
name: string;
|
505
|
+
url: string;
|
506
|
+
description: string;
|
507
|
+
tags: string[];
|
508
|
+
icon: string;
|
509
|
+
} | null | undefined;
|
510
|
+
depositUrl?: string | undefined;
|
511
|
+
explorerAddress?: string | undefined;
|
512
|
+
aprRecord?: {
|
513
|
+
timestamp: string | bigint;
|
514
|
+
cumulated: number;
|
515
|
+
breakdowns: {
|
516
|
+
id: number;
|
517
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
518
|
+
identifier: string;
|
519
|
+
value: number;
|
520
|
+
aprRecordId: string;
|
521
|
+
}[];
|
522
|
+
} | undefined;
|
523
|
+
tvlRecord?: {
|
524
|
+
total: number;
|
525
|
+
timestamp: string | bigint;
|
526
|
+
breakdowns: {
|
527
|
+
id: number;
|
528
|
+
type: "TOKEN" | "PROTOCOL";
|
529
|
+
identifier: string;
|
530
|
+
value: number;
|
531
|
+
tvlRecordId: string;
|
532
|
+
}[];
|
533
|
+
} | undefined;
|
534
|
+
rewardsRecord?: {
|
535
|
+
id: string;
|
536
|
+
total: number;
|
537
|
+
timestamp: string | bigint;
|
538
|
+
breakdowns: {
|
539
|
+
id: number;
|
540
|
+
token: {
|
541
|
+
price?: number | null | undefined;
|
542
|
+
symbol: string;
|
543
|
+
id: string;
|
544
|
+
name: string | null;
|
545
|
+
icon: string;
|
546
|
+
address: string;
|
547
|
+
chainId: number;
|
548
|
+
decimals: number;
|
549
|
+
verified: boolean;
|
550
|
+
isTest: boolean;
|
551
|
+
};
|
552
|
+
value: number;
|
553
|
+
campaignId: string;
|
554
|
+
amount: string | bigint;
|
555
|
+
dailyRewardsRecordId: string;
|
556
|
+
}[];
|
557
|
+
} | undefined;
|
558
|
+
id: string;
|
559
|
+
name: string;
|
560
|
+
type: string;
|
561
|
+
status: string;
|
562
|
+
tokens: {
|
563
|
+
price?: number | null | undefined;
|
564
|
+
symbol: string;
|
565
|
+
id: string;
|
566
|
+
name: string | null;
|
567
|
+
icon: string;
|
568
|
+
address: string;
|
569
|
+
chainId: number;
|
570
|
+
decimals: number;
|
571
|
+
verified: boolean;
|
572
|
+
isTest: boolean;
|
573
|
+
}[];
|
574
|
+
tags: string[];
|
575
|
+
identifier: string;
|
576
|
+
chain: {
|
577
|
+
id: number;
|
578
|
+
name: string;
|
579
|
+
icon: string;
|
580
|
+
};
|
581
|
+
action: string;
|
582
|
+
chainId: number;
|
583
|
+
tvl: number;
|
584
|
+
apr: number;
|
585
|
+
dailyRewards: number;
|
586
|
+
} | null)[];
|
587
|
+
};
|
313
588
|
};
|
314
589
|
};
|
315
590
|
};
|
@@ -373,6 +648,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
373
648
|
icon: string;
|
374
649
|
} | null | undefined;
|
375
650
|
depositUrl?: string | undefined;
|
651
|
+
explorerAddress?: string | undefined;
|
376
652
|
aprRecord?: {
|
377
653
|
timestamp: string | bigint;
|
378
654
|
cumulated: number;
|
@@ -503,6 +779,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
503
779
|
icon: string;
|
504
780
|
} | null | undefined;
|
505
781
|
depositUrl?: string | undefined;
|
782
|
+
explorerAddress?: string | undefined;
|
506
783
|
aprRecord?: {
|
507
784
|
timestamp: string | bigint;
|
508
785
|
cumulated: number;
|
@@ -667,6 +944,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
667
944
|
icon: string;
|
668
945
|
} | null | undefined;
|
669
946
|
depositUrl?: string | undefined;
|
947
|
+
explorerAddress?: string | undefined;
|
670
948
|
aprRecord?: {
|
671
949
|
timestamp: string | bigint;
|
672
950
|
cumulated: number;
|
@@ -961,6 +1239,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
961
1239
|
action: import("@db/api").$Enums.OpportunityAction;
|
962
1240
|
chainId: number;
|
963
1241
|
depositUrl: string | null;
|
1242
|
+
explorerAddress: string | null;
|
964
1243
|
mainProtocolId: string | null;
|
965
1244
|
tvl: number;
|
966
1245
|
apr: number;
|
@@ -1183,6 +1462,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1183
1462
|
})[];
|
1184
1463
|
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
1185
1464
|
depositUrl: any;
|
1465
|
+
explorerAddress: string | undefined;
|
1186
1466
|
tags: string[];
|
1187
1467
|
};
|
1188
1468
|
};
|
@@ -1274,6 +1554,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1274
1554
|
action: import("@db/api").$Enums.OpportunityAction;
|
1275
1555
|
chainId: number;
|
1276
1556
|
depositUrl: string | null;
|
1557
|
+
explorerAddress: string | null;
|
1277
1558
|
mainProtocolId: string | null;
|
1278
1559
|
tvl: number;
|
1279
1560
|
apr: number;
|
@@ -1356,6 +1637,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1356
1637
|
action: import("@db/api").$Enums.OpportunityAction;
|
1357
1638
|
chainId: number;
|
1358
1639
|
depositUrl: string | null;
|
1640
|
+
explorerAddress: string | null;
|
1359
1641
|
mainProtocolId: string | null;
|
1360
1642
|
tvl: number;
|
1361
1643
|
apr: number;
|
@@ -1539,6 +1821,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1539
1821
|
action: import("@db/api").$Enums.OpportunityAction;
|
1540
1822
|
chainId: number;
|
1541
1823
|
depositUrl: string | null;
|
1824
|
+
explorerAddress: string | null;
|
1542
1825
|
mainProtocolId: string | null;
|
1543
1826
|
tvl: number;
|
1544
1827
|
apr: number;
|
@@ -3222,6 +3505,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3222
3505
|
action: import("@db/api").$Enums.OpportunityAction;
|
3223
3506
|
chainId: number;
|
3224
3507
|
depositUrl: string | null;
|
3508
|
+
explorerAddress: string | null;
|
3225
3509
|
mainProtocolId: string | null;
|
3226
3510
|
tvl: number;
|
3227
3511
|
apr: number;
|
@@ -3339,6 +3623,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3339
3623
|
action: import("@db/api").$Enums.OpportunityAction;
|
3340
3624
|
chainId: number;
|
3341
3625
|
depositUrl: string | null;
|
3626
|
+
explorerAddress: string | null;
|
3342
3627
|
mainProtocolId: string | null;
|
3343
3628
|
tvl: number;
|
3344
3629
|
apr: number;
|
@@ -184,6 +184,7 @@ export declare const UserController: Elysia<"/users", false, {
|
|
184
184
|
action: import("@db/api").$Enums.OpportunityAction;
|
185
185
|
chainId: number;
|
186
186
|
depositUrl: string | null;
|
187
|
+
explorerAddress: string | null;
|
187
188
|
mainProtocolId: string | null;
|
188
189
|
tvl: number;
|
189
190
|
apr: number;
|
@@ -301,6 +302,7 @@ export declare const UserController: Elysia<"/users", false, {
|
|
301
302
|
action: import("@db/api").$Enums.OpportunityAction;
|
302
303
|
chainId: number;
|
303
304
|
depositUrl: string | null;
|
305
|
+
explorerAddress: string | null;
|
304
306
|
mainProtocolId: string | null;
|
305
307
|
tvl: number;
|
306
308
|
apr: number;
|