@merkl/api 0.21.19 → 0.21.20
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 +1437 -1415
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.js +1 -18
- package/dist/src/engine/implementations/Clamm/metadata.js +1 -0
- package/dist/src/index.d.ts +968 -960
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +8 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
- package/dist/src/modules/v4/campaign/campaign.model.js +1 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +18 -0
- package/dist/src/modules/v4/campaign/campaign.repository.js +15 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -1
- package/dist/src/modules/v4/campaign/campaign.service.js +9 -4
- package/dist/src/modules/v4/creator/creator.controller.d.ts +3 -2
- package/dist/src/modules/v4/creator/creator.service.d.ts +3 -2
- package/dist/src/modules/v4/creator/creator.service.js +9 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.js +2 -10
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +970 -960
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +32 -46
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +10 -1
- package/dist/src/modules/v4/protocol/protocol.controller.js +4 -15
- package/dist/src/modules/v4/router.d.ts +968 -960
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -103,207 +103,6 @@ declare const eden: {
|
|
103
103
|
opportunities: ((params: {
|
104
104
|
id: string | number;
|
105
105
|
}) => {
|
106
|
-
override: {
|
107
|
-
patch: (body: {
|
108
|
-
name?: string | undefined;
|
109
|
-
description?: string | undefined;
|
110
|
-
action?: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID" | undefined;
|
111
|
-
howToSteps?: string[] | undefined;
|
112
|
-
depositUrl?: string | undefined;
|
113
|
-
explorerAddress?: string | undefined;
|
114
|
-
}, options: {
|
115
|
-
headers: {
|
116
|
-
authorization: string;
|
117
|
-
};
|
118
|
-
query?: Record<string, unknown> | undefined;
|
119
|
-
fetch?: RequestInit | undefined;
|
120
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
121
|
-
200: {
|
122
|
-
status: import("@db/api").$Enums.Status;
|
123
|
-
type: string;
|
124
|
-
name: string;
|
125
|
-
description: string;
|
126
|
-
id: string;
|
127
|
-
tags: string[];
|
128
|
-
identifier: string;
|
129
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
130
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
131
|
-
chainId: number;
|
132
|
-
howToSteps: string[];
|
133
|
-
depositUrl: string | null;
|
134
|
-
explorerAddress: string | null;
|
135
|
-
mainProtocolId: string | null;
|
136
|
-
tvl: number;
|
137
|
-
apr: number;
|
138
|
-
dailyRewards: number;
|
139
|
-
lastCampaignCreatedAt: Date;
|
140
|
-
};
|
141
|
-
}>>;
|
142
|
-
delete: (body: ("name" | "description" | "action" | "howToSteps" | "depositUrl" | "explorerAddress")[], options: {
|
143
|
-
headers: {
|
144
|
-
authorization: string;
|
145
|
-
};
|
146
|
-
query?: Record<string, unknown> | undefined;
|
147
|
-
fetch?: RequestInit | undefined;
|
148
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
149
|
-
200: {
|
150
|
-
Tokens: {
|
151
|
-
symbol: string;
|
152
|
-
name: string | null;
|
153
|
-
id: string;
|
154
|
-
icon: string;
|
155
|
-
address: string;
|
156
|
-
chainId: number;
|
157
|
-
decimals: number;
|
158
|
-
displaySymbol: string;
|
159
|
-
verified: boolean;
|
160
|
-
isTest: boolean;
|
161
|
-
isPoint: boolean;
|
162
|
-
isPreTGE: boolean;
|
163
|
-
isNative: boolean;
|
164
|
-
price: number | null;
|
165
|
-
}[];
|
166
|
-
Protocols: {
|
167
|
-
url: string;
|
168
|
-
name: string;
|
169
|
-
description: string;
|
170
|
-
id: string;
|
171
|
-
tags: string[];
|
172
|
-
icon: string;
|
173
|
-
}[];
|
174
|
-
status: import("@db/api").$Enums.Status;
|
175
|
-
type: string;
|
176
|
-
name: string;
|
177
|
-
description: string;
|
178
|
-
id: string;
|
179
|
-
tags: string[];
|
180
|
-
identifier: string;
|
181
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
182
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
183
|
-
chainId: number;
|
184
|
-
howToSteps: string[];
|
185
|
-
depositUrl: string | null;
|
186
|
-
explorerAddress: string | null;
|
187
|
-
mainProtocolId: string | null;
|
188
|
-
tvl: number;
|
189
|
-
apr: number;
|
190
|
-
dailyRewards: number;
|
191
|
-
lastCampaignCreatedAt: Date;
|
192
|
-
} | {
|
193
|
-
id: string;
|
194
|
-
chainId: number;
|
195
|
-
type: string;
|
196
|
-
identifier: string;
|
197
|
-
name: string;
|
198
|
-
status: "PAST" | "LIVE" | "SOON";
|
199
|
-
action: any;
|
200
|
-
tokens: ({
|
201
|
-
symbol: string;
|
202
|
-
name: string | null;
|
203
|
-
id: string;
|
204
|
-
icon: string;
|
205
|
-
address: string;
|
206
|
-
chainId: number;
|
207
|
-
decimals: number;
|
208
|
-
verified: boolean;
|
209
|
-
isTest: boolean;
|
210
|
-
isPoint: boolean;
|
211
|
-
isPreTGE: boolean;
|
212
|
-
isNative: boolean;
|
213
|
-
} & {
|
214
|
-
price?: number | null | undefined;
|
215
|
-
})[];
|
216
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
217
|
-
description: string;
|
218
|
-
howToSteps: string[];
|
219
|
-
depositUrl: string | undefined;
|
220
|
-
explorerAddress: string | undefined;
|
221
|
-
tags: string[];
|
222
|
-
};
|
223
|
-
}>>;
|
224
|
-
};
|
225
|
-
post: (body: unknown, options: {
|
226
|
-
headers: {
|
227
|
-
authorization: string;
|
228
|
-
};
|
229
|
-
query?: Record<string, unknown> | undefined;
|
230
|
-
fetch?: RequestInit | undefined;
|
231
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
232
|
-
200: {
|
233
|
-
Tokens: {
|
234
|
-
symbol: string;
|
235
|
-
name: string | null;
|
236
|
-
id: string;
|
237
|
-
icon: string;
|
238
|
-
address: string;
|
239
|
-
chainId: number;
|
240
|
-
decimals: number;
|
241
|
-
displaySymbol: string;
|
242
|
-
verified: boolean;
|
243
|
-
isTest: boolean;
|
244
|
-
isPoint: boolean;
|
245
|
-
isPreTGE: boolean;
|
246
|
-
isNative: boolean;
|
247
|
-
price: number | null;
|
248
|
-
}[];
|
249
|
-
Protocols: {
|
250
|
-
url: string;
|
251
|
-
name: string;
|
252
|
-
description: string;
|
253
|
-
id: string;
|
254
|
-
tags: string[];
|
255
|
-
icon: string;
|
256
|
-
}[];
|
257
|
-
status: import("@db/api").$Enums.Status;
|
258
|
-
type: string;
|
259
|
-
name: string;
|
260
|
-
description: string;
|
261
|
-
id: string;
|
262
|
-
tags: string[];
|
263
|
-
identifier: string;
|
264
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
265
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
266
|
-
chainId: number;
|
267
|
-
howToSteps: string[];
|
268
|
-
depositUrl: string | null;
|
269
|
-
explorerAddress: string | null;
|
270
|
-
mainProtocolId: string | null;
|
271
|
-
tvl: number;
|
272
|
-
apr: number;
|
273
|
-
dailyRewards: number;
|
274
|
-
lastCampaignCreatedAt: Date;
|
275
|
-
} | {
|
276
|
-
id: string;
|
277
|
-
chainId: number;
|
278
|
-
type: string;
|
279
|
-
identifier: string;
|
280
|
-
name: string;
|
281
|
-
status: "PAST" | "LIVE" | "SOON";
|
282
|
-
action: any;
|
283
|
-
tokens: ({
|
284
|
-
symbol: string;
|
285
|
-
name: string | null;
|
286
|
-
id: string;
|
287
|
-
icon: string;
|
288
|
-
address: string;
|
289
|
-
chainId: number;
|
290
|
-
decimals: number;
|
291
|
-
verified: boolean;
|
292
|
-
isTest: boolean;
|
293
|
-
isPoint: boolean;
|
294
|
-
isPreTGE: boolean;
|
295
|
-
isNative: boolean;
|
296
|
-
} & {
|
297
|
-
price?: number | null | undefined;
|
298
|
-
})[];
|
299
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
300
|
-
description: string;
|
301
|
-
howToSteps: string[];
|
302
|
-
depositUrl: string | undefined;
|
303
|
-
explorerAddress: string | undefined;
|
304
|
-
tags: string[];
|
305
|
-
};
|
306
|
-
}>>;
|
307
106
|
get: (options: {
|
308
107
|
headers?: Record<string, unknown> | undefined;
|
309
108
|
query: {
|
@@ -580,29 +379,127 @@ declare const eden: {
|
|
580
379
|
};
|
581
380
|
}>>;
|
582
381
|
};
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
tokens: {
|
382
|
+
post: (body: unknown, options: {
|
383
|
+
headers: {
|
384
|
+
authorization: string;
|
385
|
+
};
|
386
|
+
query?: Record<string, unknown> | undefined;
|
387
|
+
fetch?: RequestInit | undefined;
|
388
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
389
|
+
200: {
|
390
|
+
Tokens: {
|
391
|
+
symbol: string;
|
392
|
+
name: string | null;
|
393
|
+
id: string;
|
394
|
+
icon: string;
|
597
395
|
address: string;
|
598
396
|
chainId: number;
|
397
|
+
decimals: number;
|
398
|
+
displaySymbol: string;
|
399
|
+
verified: boolean;
|
400
|
+
isTest: boolean;
|
401
|
+
isPoint: boolean;
|
402
|
+
isPreTGE: boolean;
|
403
|
+
isNative: boolean;
|
404
|
+
price: number | null;
|
405
|
+
}[];
|
406
|
+
Protocols: {
|
407
|
+
url: string;
|
408
|
+
name: string;
|
409
|
+
description: string;
|
410
|
+
id: string;
|
411
|
+
tags: string[];
|
412
|
+
icon: string;
|
599
413
|
}[];
|
414
|
+
status: import("@db/api").$Enums.Status;
|
415
|
+
type: string;
|
416
|
+
name: string;
|
417
|
+
description: string;
|
418
|
+
id: string;
|
419
|
+
tags: string[];
|
600
420
|
identifier: string;
|
601
|
-
action: "
|
421
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
422
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
602
423
|
chainId: number;
|
603
|
-
|
604
|
-
|
605
|
-
|
424
|
+
howToSteps: string[];
|
425
|
+
depositUrl: string | null;
|
426
|
+
explorerAddress: string | null;
|
427
|
+
mainProtocolId: string | null;
|
428
|
+
tvl: number;
|
429
|
+
apr: number;
|
430
|
+
dailyRewards: number;
|
431
|
+
lastCampaignCreatedAt: Date;
|
432
|
+
} | {
|
433
|
+
id: string;
|
434
|
+
chainId: number;
|
435
|
+
type: string;
|
436
|
+
identifier: string;
|
437
|
+
name: string;
|
438
|
+
status: "PAST" | "LIVE" | "SOON";
|
439
|
+
action: any;
|
440
|
+
tokens: ({
|
441
|
+
symbol: string;
|
442
|
+
name: string | null;
|
443
|
+
id: string;
|
444
|
+
icon: string;
|
445
|
+
address: string;
|
446
|
+
chainId: number;
|
447
|
+
decimals: number;
|
448
|
+
verified: boolean;
|
449
|
+
isTest: boolean;
|
450
|
+
isPoint: boolean;
|
451
|
+
isPreTGE: boolean;
|
452
|
+
isNative: boolean;
|
453
|
+
} & {
|
454
|
+
price?: number | null | undefined;
|
455
|
+
})[];
|
456
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
457
|
+
description: string;
|
458
|
+
howToSteps: string[];
|
459
|
+
depositUrl: string | undefined;
|
460
|
+
explorerAddress: string | undefined;
|
461
|
+
tags: string[];
|
462
|
+
};
|
463
|
+
}>>;
|
464
|
+
override: {
|
465
|
+
patch: (body: {
|
466
|
+
name?: string | undefined;
|
467
|
+
description?: string | undefined;
|
468
|
+
action?: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID" | undefined;
|
469
|
+
howToSteps?: string[] | undefined;
|
470
|
+
depositUrl?: string | undefined;
|
471
|
+
explorerAddress?: string | undefined;
|
472
|
+
}, options: {
|
473
|
+
headers: {
|
474
|
+
authorization: string;
|
475
|
+
};
|
476
|
+
query?: Record<string, unknown> | undefined;
|
477
|
+
fetch?: RequestInit | undefined;
|
478
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
479
|
+
200: {
|
480
|
+
status: import("@db/api").$Enums.Status;
|
481
|
+
type: string;
|
482
|
+
name: string;
|
483
|
+
description: string;
|
484
|
+
id: string;
|
485
|
+
tags: string[];
|
486
|
+
identifier: string;
|
487
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
488
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
489
|
+
chainId: number;
|
490
|
+
howToSteps: string[];
|
491
|
+
depositUrl: string | null;
|
492
|
+
explorerAddress: string | null;
|
493
|
+
mainProtocolId: string | null;
|
494
|
+
tvl: number;
|
495
|
+
apr: number;
|
496
|
+
dailyRewards: number;
|
497
|
+
lastCampaignCreatedAt: Date;
|
498
|
+
};
|
499
|
+
}>>;
|
500
|
+
delete: (body: ("name" | "description" | "action" | "howToSteps" | "depositUrl" | "explorerAddress")[], options: {
|
501
|
+
headers: {
|
502
|
+
authorization: string;
|
606
503
|
};
|
607
504
|
query?: Record<string, unknown> | undefined;
|
608
505
|
fetch?: RequestInit | undefined;
|
@@ -650,8 +547,41 @@ declare const eden: {
|
|
650
547
|
apr: number;
|
651
548
|
dailyRewards: number;
|
652
549
|
lastCampaignCreatedAt: Date;
|
550
|
+
} | {
|
551
|
+
id: string;
|
552
|
+
chainId: number;
|
553
|
+
type: string;
|
554
|
+
identifier: string;
|
555
|
+
name: string;
|
556
|
+
status: "PAST" | "LIVE" | "SOON";
|
557
|
+
action: any;
|
558
|
+
tokens: ({
|
559
|
+
symbol: string;
|
560
|
+
name: string | null;
|
561
|
+
id: string;
|
562
|
+
icon: string;
|
563
|
+
address: string;
|
564
|
+
chainId: number;
|
565
|
+
decimals: number;
|
566
|
+
verified: boolean;
|
567
|
+
isTest: boolean;
|
568
|
+
isPoint: boolean;
|
569
|
+
isPreTGE: boolean;
|
570
|
+
isNative: boolean;
|
571
|
+
} & {
|
572
|
+
price?: number | null | undefined;
|
573
|
+
})[];
|
574
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
575
|
+
description: string;
|
576
|
+
howToSteps: string[];
|
577
|
+
depositUrl: string | undefined;
|
578
|
+
explorerAddress: string | undefined;
|
579
|
+
tags: string[];
|
653
580
|
};
|
654
581
|
}>>;
|
582
|
+
};
|
583
|
+
}) & {
|
584
|
+
index: {
|
655
585
|
get: (options: {
|
656
586
|
headers?: Record<string, unknown> | undefined;
|
657
587
|
query: {
|
@@ -859,6 +789,76 @@ declare const eden: {
|
|
859
789
|
dailyRewards: number;
|
860
790
|
}[];
|
861
791
|
}>>;
|
792
|
+
post: (body: {
|
793
|
+
name?: string | undefined;
|
794
|
+
description?: string | undefined;
|
795
|
+
tags?: string[] | undefined;
|
796
|
+
howToSteps?: string[] | undefined;
|
797
|
+
depositUrl?: string | undefined;
|
798
|
+
explorerAddress?: string | undefined;
|
799
|
+
protocols?: string[] | undefined;
|
800
|
+
mainProtocol?: string | undefined;
|
801
|
+
status: "NONE" | "PAST" | "LIVE" | "SOON";
|
802
|
+
type: string;
|
803
|
+
tokens: {
|
804
|
+
address: string;
|
805
|
+
chainId: number;
|
806
|
+
}[];
|
807
|
+
identifier: string;
|
808
|
+
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
809
|
+
chainId: number;
|
810
|
+
}, options: {
|
811
|
+
headers: {
|
812
|
+
authorization: string;
|
813
|
+
};
|
814
|
+
query?: Record<string, unknown> | undefined;
|
815
|
+
fetch?: RequestInit | undefined;
|
816
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
817
|
+
200: {
|
818
|
+
Tokens: {
|
819
|
+
symbol: string;
|
820
|
+
name: string | null;
|
821
|
+
id: string;
|
822
|
+
icon: string;
|
823
|
+
address: string;
|
824
|
+
chainId: number;
|
825
|
+
decimals: number;
|
826
|
+
displaySymbol: string;
|
827
|
+
verified: boolean;
|
828
|
+
isTest: boolean;
|
829
|
+
isPoint: boolean;
|
830
|
+
isPreTGE: boolean;
|
831
|
+
isNative: boolean;
|
832
|
+
price: number | null;
|
833
|
+
}[];
|
834
|
+
Protocols: {
|
835
|
+
url: string;
|
836
|
+
name: string;
|
837
|
+
description: string;
|
838
|
+
id: string;
|
839
|
+
tags: string[];
|
840
|
+
icon: string;
|
841
|
+
}[];
|
842
|
+
status: import("@db/api").$Enums.Status;
|
843
|
+
type: string;
|
844
|
+
name: string;
|
845
|
+
description: string;
|
846
|
+
id: string;
|
847
|
+
tags: string[];
|
848
|
+
identifier: string;
|
849
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
850
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
851
|
+
chainId: number;
|
852
|
+
howToSteps: string[];
|
853
|
+
depositUrl: string | null;
|
854
|
+
explorerAddress: string | null;
|
855
|
+
mainProtocolId: string | null;
|
856
|
+
tvl: number;
|
857
|
+
apr: number;
|
858
|
+
dailyRewards: number;
|
859
|
+
lastCampaignCreatedAt: Date;
|
860
|
+
};
|
861
|
+
}>>;
|
862
862
|
};
|
863
863
|
count: {
|
864
864
|
get: (options: {
|
@@ -972,6 +972,7 @@ declare const eden: {
|
|
972
972
|
query: {
|
973
973
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
974
974
|
type?: string | undefined;
|
975
|
+
id?: string | undefined;
|
975
976
|
items?: number | undefined;
|
976
977
|
subType?: number | undefined;
|
977
978
|
page?: number | undefined;
|
@@ -1372,7 +1373,7 @@ declare const eden: {
|
|
1372
1373
|
timestamp: bigint;
|
1373
1374
|
walletCount: number;
|
1374
1375
|
}[];
|
1375
|
-
tvlInflowPerDollar:
|
1376
|
+
tvlInflowPerDollar: number;
|
1376
1377
|
};
|
1377
1378
|
}>>;
|
1378
1379
|
};
|
@@ -1599,6 +1600,7 @@ declare const eden: {
|
|
1599
1600
|
query: {
|
1600
1601
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1601
1602
|
type?: string | undefined;
|
1603
|
+
id?: string | undefined;
|
1602
1604
|
items?: number | undefined;
|
1603
1605
|
subType?: number | undefined;
|
1604
1606
|
page?: number | undefined;
|
@@ -1771,6 +1773,7 @@ declare const eden: {
|
|
1771
1773
|
query: {
|
1772
1774
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1773
1775
|
type?: string | undefined;
|
1776
|
+
id?: string | undefined;
|
1774
1777
|
items?: number | undefined;
|
1775
1778
|
subType?: number | undefined;
|
1776
1779
|
page?: number | undefined;
|
@@ -1806,6 +1809,7 @@ declare const eden: {
|
|
1806
1809
|
query: {
|
1807
1810
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1808
1811
|
type?: string | undefined;
|
1812
|
+
id?: string | undefined;
|
1809
1813
|
items?: number | undefined;
|
1810
1814
|
subType?: number | undefined;
|
1811
1815
|
page?: number | undefined;
|
@@ -1844,6 +1848,7 @@ declare const eden: {
|
|
1844
1848
|
query: {
|
1845
1849
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1846
1850
|
type?: string | undefined;
|
1851
|
+
id?: string | undefined;
|
1847
1852
|
items?: number | undefined;
|
1848
1853
|
subType?: number | undefined;
|
1849
1854
|
page?: number | undefined;
|
@@ -2192,6 +2197,7 @@ declare const eden: {
|
|
2192
2197
|
query: {
|
2193
2198
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
2194
2199
|
type?: string | undefined;
|
2200
|
+
id?: string | undefined;
|
2195
2201
|
items?: number | undefined;
|
2196
2202
|
subType?: number | undefined;
|
2197
2203
|
page?: number | undefined;
|
@@ -4554,7 +4560,8 @@ declare const eden: {
|
|
4554
4560
|
pastCampaigns: number;
|
4555
4561
|
liveCampaigns: number;
|
4556
4562
|
futureCampaigns: number;
|
4557
|
-
|
4563
|
+
totalTvl: number;
|
4564
|
+
totalWallets: number;
|
4558
4565
|
totalCampaigns: number;
|
4559
4566
|
creatorId: string | null;
|
4560
4567
|
};
|
@@ -4758,7 +4765,7 @@ declare const eden: {
|
|
4758
4765
|
timestamp: bigint;
|
4759
4766
|
walletCount: number;
|
4760
4767
|
}[];
|
4761
|
-
tvlInflowPerDollar:
|
4768
|
+
tvlInflowPerDollar: number;
|
4762
4769
|
};
|
4763
4770
|
}>>;
|
4764
4771
|
}) & {};
|
@@ -5748,120 +5755,291 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5748
5755
|
v4: {
|
5749
5756
|
opportunities: {
|
5750
5757
|
index: {
|
5751
|
-
|
5752
|
-
body:
|
5753
|
-
name?: string | undefined;
|
5754
|
-
description?: string | undefined;
|
5755
|
-
tags?: string[] | undefined;
|
5756
|
-
howToSteps?: string[] | undefined;
|
5757
|
-
depositUrl?: string | undefined;
|
5758
|
-
explorerAddress?: string | undefined;
|
5759
|
-
protocols?: string[] | undefined;
|
5760
|
-
mainProtocol?: string | undefined;
|
5761
|
-
status: "NONE" | "PAST" | "LIVE" | "SOON";
|
5762
|
-
type: string;
|
5763
|
-
tokens: {
|
5764
|
-
address: string;
|
5765
|
-
chainId: number;
|
5766
|
-
}[];
|
5767
|
-
identifier: string;
|
5768
|
-
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
5769
|
-
chainId: number;
|
5770
|
-
};
|
5758
|
+
get: {
|
5759
|
+
body: unknown;
|
5771
5760
|
params: {};
|
5772
|
-
query:
|
5773
|
-
|
5774
|
-
|
5761
|
+
query: {
|
5762
|
+
status?: string | undefined;
|
5763
|
+
search?: string | undefined;
|
5764
|
+
sort?: string | undefined;
|
5765
|
+
type?: string | undefined;
|
5766
|
+
name?: string | undefined;
|
5767
|
+
tokens?: string | undefined;
|
5768
|
+
items?: number | undefined;
|
5769
|
+
tags?: string | undefined;
|
5770
|
+
identifier?: string | undefined;
|
5771
|
+
page?: number | undefined;
|
5772
|
+
action?: string | undefined;
|
5773
|
+
campaignId?: string | undefined;
|
5774
|
+
creatorAddress?: string | undefined;
|
5775
|
+
chainId?: string | undefined;
|
5776
|
+
mainProtocolId?: string | undefined;
|
5777
|
+
campaigns?: boolean | undefined;
|
5778
|
+
point?: boolean | undefined;
|
5779
|
+
rewardTokenSymbol?: string | undefined;
|
5780
|
+
order?: string | undefined;
|
5781
|
+
test?: boolean | undefined;
|
5782
|
+
minimumTvl?: number | undefined;
|
5775
5783
|
};
|
5784
|
+
headers: unknown;
|
5776
5785
|
response: {
|
5777
5786
|
200: {
|
5778
|
-
|
5779
|
-
|
5780
|
-
|
5787
|
+
apr: number;
|
5788
|
+
aprRecord: {
|
5789
|
+
cumulated: number;
|
5790
|
+
timestamp: bigint;
|
5791
|
+
breakdowns: ({
|
5792
|
+
value: number;
|
5793
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5794
|
+
identifier: string;
|
5795
|
+
type: "CAMPAIGN";
|
5796
|
+
} | {
|
5797
|
+
value: number;
|
5798
|
+
identifier: string;
|
5799
|
+
type: import("@db/api").$Enums.AprType;
|
5800
|
+
})[];
|
5801
|
+
};
|
5802
|
+
tvlRecord: {
|
5781
5803
|
id: string;
|
5782
|
-
|
5804
|
+
total: number;
|
5805
|
+
timestamp: bigint;
|
5806
|
+
breakdowns: {
|
5807
|
+
type: import("@db/api").$Enums.TvlType;
|
5808
|
+
identifier: string;
|
5809
|
+
value: number;
|
5810
|
+
}[];
|
5811
|
+
};
|
5812
|
+
rewardsRecord: {
|
5813
|
+
id: string;
|
5814
|
+
total: number;
|
5815
|
+
timestamp: bigint;
|
5816
|
+
breakdowns: {
|
5817
|
+
id: string;
|
5818
|
+
campaignId: string;
|
5819
|
+
dailyRewardsRecordId: string;
|
5820
|
+
token: {
|
5821
|
+
symbol: string;
|
5822
|
+
name: string | null;
|
5823
|
+
id: string;
|
5824
|
+
icon: string;
|
5825
|
+
address: string;
|
5826
|
+
chainId: number;
|
5827
|
+
decimals: number;
|
5828
|
+
displaySymbol: string;
|
5829
|
+
verified: boolean;
|
5830
|
+
isTest: boolean;
|
5831
|
+
isPoint: boolean;
|
5832
|
+
isPreTGE: boolean;
|
5833
|
+
isNative: boolean;
|
5834
|
+
price: number | null;
|
5835
|
+
};
|
5836
|
+
amount: any;
|
5837
|
+
value: number;
|
5838
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5839
|
+
}[];
|
5840
|
+
};
|
5841
|
+
campaigns: {
|
5842
|
+
params: any;
|
5843
|
+
chain: {
|
5844
|
+
name: string;
|
5845
|
+
id: number;
|
5846
|
+
icon: string;
|
5847
|
+
};
|
5848
|
+
endTimestamp: number;
|
5849
|
+
startTimestamp: number;
|
5850
|
+
rewardToken: {
|
5851
|
+
symbol: string;
|
5852
|
+
name: string | null;
|
5853
|
+
id: string;
|
5854
|
+
icon: string;
|
5855
|
+
address: string;
|
5856
|
+
chainId: number;
|
5857
|
+
decimals: number;
|
5858
|
+
verified: boolean;
|
5859
|
+
isTest: boolean;
|
5860
|
+
isPoint: boolean;
|
5861
|
+
isPreTGE: boolean;
|
5862
|
+
isNative: boolean;
|
5863
|
+
} & {
|
5864
|
+
price?: number | null | undefined;
|
5865
|
+
};
|
5866
|
+
distributionChain: {
|
5867
|
+
name: string;
|
5868
|
+
id: number;
|
5869
|
+
icon: string;
|
5870
|
+
} | undefined;
|
5871
|
+
campaignStatus: {
|
5872
|
+
computedUntil: number;
|
5873
|
+
processingStarted: number;
|
5874
|
+
status: import("@db/api").$Enums.RunStatus;
|
5875
|
+
error: string;
|
5876
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
5877
|
+
campaignId: string;
|
5878
|
+
} | undefined;
|
5879
|
+
creatorAddress: string;
|
5880
|
+
creator: {
|
5881
|
+
tags: string[];
|
5882
|
+
address: string;
|
5883
|
+
creatorId: string | null;
|
5884
|
+
};
|
5885
|
+
createdAt: string;
|
5886
|
+
description: string | undefined;
|
5887
|
+
parentCampaignId: string | undefined;
|
5888
|
+
rootCampaignId: string | undefined;
|
5889
|
+
Opportunity: {
|
5890
|
+
status: import("@db/api").$Enums.Status;
|
5891
|
+
type: string;
|
5892
|
+
name: string;
|
5893
|
+
description: string;
|
5894
|
+
id: string;
|
5895
|
+
tags: string[];
|
5896
|
+
identifier: string;
|
5897
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
5898
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5899
|
+
chainId: number;
|
5900
|
+
howToSteps: string[];
|
5901
|
+
depositUrl: string | null;
|
5902
|
+
explorerAddress: string | null;
|
5903
|
+
mainProtocolId: string | null;
|
5904
|
+
tvl: number;
|
5905
|
+
apr: number;
|
5906
|
+
dailyRewards: number;
|
5907
|
+
lastCampaignCreatedAt: Date;
|
5908
|
+
};
|
5909
|
+
type: string;
|
5910
|
+
id: string;
|
5911
|
+
subType: number | null;
|
5912
|
+
computeChainId: number;
|
5913
|
+
distributionChainId: number;
|
5914
|
+
campaignId: string;
|
5915
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5916
|
+
rewardTokenId: string;
|
5917
|
+
amount: string;
|
5918
|
+
opportunityId: string;
|
5919
|
+
}[] | undefined;
|
5920
|
+
id: string;
|
5921
|
+
depositUrl: string | undefined;
|
5922
|
+
explorerAddress: string | undefined;
|
5923
|
+
lastCampaignCreatedAt: string;
|
5924
|
+
tokens: ({
|
5925
|
+
symbol: string;
|
5926
|
+
name: string | null;
|
5927
|
+
id: string;
|
5928
|
+
icon: string;
|
5783
5929
|
address: string;
|
5784
5930
|
chainId: number;
|
5785
5931
|
decimals: number;
|
5786
|
-
displaySymbol: string;
|
5787
5932
|
verified: boolean;
|
5788
5933
|
isTest: boolean;
|
5789
5934
|
isPoint: boolean;
|
5790
5935
|
isPreTGE: boolean;
|
5791
5936
|
isNative: boolean;
|
5792
|
-
|
5793
|
-
|
5794
|
-
|
5937
|
+
} & {
|
5938
|
+
price?: number | null | undefined;
|
5939
|
+
})[];
|
5940
|
+
chain: {
|
5941
|
+
name: string;
|
5942
|
+
id: number;
|
5943
|
+
icon: string;
|
5944
|
+
};
|
5945
|
+
protocol: {
|
5795
5946
|
url: string;
|
5796
5947
|
name: string;
|
5797
5948
|
description: string;
|
5798
5949
|
id: string;
|
5799
5950
|
tags: string[];
|
5800
5951
|
icon: string;
|
5801
|
-
}
|
5952
|
+
} | undefined;
|
5802
5953
|
status: import("@db/api").$Enums.Status;
|
5803
5954
|
type: string;
|
5804
5955
|
name: string;
|
5805
5956
|
description: string;
|
5806
|
-
id: string;
|
5807
5957
|
tags: string[];
|
5808
5958
|
identifier: string;
|
5809
5959
|
action: import("@db/api").$Enums.OpportunityAction;
|
5810
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5811
5960
|
chainId: number;
|
5812
5961
|
howToSteps: string[];
|
5813
|
-
depositUrl: string | null;
|
5814
|
-
explorerAddress: string | null;
|
5815
|
-
mainProtocolId: string | null;
|
5816
5962
|
tvl: number;
|
5817
|
-
apr: number;
|
5818
5963
|
dailyRewards: number;
|
5819
|
-
|
5820
|
-
};
|
5964
|
+
}[];
|
5821
5965
|
};
|
5822
5966
|
};
|
5823
5967
|
};
|
5824
5968
|
};
|
5825
5969
|
} & {
|
5826
5970
|
opportunities: {
|
5827
|
-
|
5828
|
-
|
5829
|
-
|
5830
|
-
|
5971
|
+
count: {
|
5972
|
+
get: {
|
5973
|
+
body: unknown;
|
5974
|
+
params: {};
|
5975
|
+
query: {
|
5976
|
+
status?: string | undefined;
|
5977
|
+
search?: string | undefined;
|
5978
|
+
sort?: string | undefined;
|
5979
|
+
type?: string | undefined;
|
5980
|
+
name?: string | undefined;
|
5981
|
+
tokens?: string | undefined;
|
5982
|
+
items?: number | undefined;
|
5983
|
+
tags?: string | undefined;
|
5984
|
+
identifier?: string | undefined;
|
5985
|
+
page?: number | undefined;
|
5986
|
+
action?: string | undefined;
|
5987
|
+
campaignId?: string | undefined;
|
5988
|
+
creatorAddress?: string | undefined;
|
5989
|
+
chainId?: string | undefined;
|
5990
|
+
mainProtocolId?: string | undefined;
|
5991
|
+
campaigns?: boolean | undefined;
|
5992
|
+
point?: boolean | undefined;
|
5993
|
+
rewardTokenSymbol?: string | undefined;
|
5994
|
+
order?: string | undefined;
|
5995
|
+
test?: boolean | undefined;
|
5996
|
+
minimumTvl?: number | undefined;
|
5997
|
+
};
|
5998
|
+
headers: unknown;
|
5999
|
+
response: {
|
6000
|
+
200: number;
|
6001
|
+
};
|
6002
|
+
};
|
6003
|
+
};
|
6004
|
+
};
|
6005
|
+
} & {
|
6006
|
+
opportunities: {
|
6007
|
+
bins: {
|
6008
|
+
apr: {
|
6009
|
+
get: {
|
6010
|
+
body: unknown;
|
6011
|
+
params: {};
|
6012
|
+
query: {
|
6013
|
+
status?: string | undefined;
|
6014
|
+
search?: string | undefined;
|
6015
|
+
sort?: string | undefined;
|
6016
|
+
type?: string | undefined;
|
5831
6017
|
name?: string | undefined;
|
5832
|
-
|
5833
|
-
|
5834
|
-
|
5835
|
-
|
5836
|
-
|
5837
|
-
|
5838
|
-
|
5839
|
-
|
5840
|
-
|
5841
|
-
|
5842
|
-
|
5843
|
-
|
6018
|
+
tokens?: string | undefined;
|
6019
|
+
items?: number | undefined;
|
6020
|
+
tags?: string | undefined;
|
6021
|
+
identifier?: string | undefined;
|
6022
|
+
page?: number | undefined;
|
6023
|
+
action?: string | undefined;
|
6024
|
+
campaignId?: string | undefined;
|
6025
|
+
creatorAddress?: string | undefined;
|
6026
|
+
chainId?: string | undefined;
|
6027
|
+
mainProtocolId?: string | undefined;
|
6028
|
+
campaigns?: boolean | undefined;
|
6029
|
+
point?: boolean | undefined;
|
6030
|
+
rewardTokenSymbol?: string | undefined;
|
6031
|
+
order?: string | undefined;
|
6032
|
+
test?: boolean | undefined;
|
6033
|
+
minimumTvl?: number | undefined;
|
5844
6034
|
};
|
6035
|
+
headers: unknown;
|
5845
6036
|
response: {
|
5846
6037
|
200: {
|
5847
|
-
|
5848
|
-
|
5849
|
-
|
5850
|
-
|
5851
|
-
|
5852
|
-
tags: string[];
|
5853
|
-
identifier: string;
|
5854
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
5855
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5856
|
-
chainId: number;
|
5857
|
-
howToSteps: string[];
|
5858
|
-
depositUrl: string | null;
|
5859
|
-
explorerAddress: string | null;
|
5860
|
-
mainProtocolId: string | null;
|
5861
|
-
tvl: number;
|
5862
|
-
apr: number;
|
5863
|
-
dailyRewards: number;
|
5864
|
-
lastCampaignCreatedAt: Date;
|
6038
|
+
min: number;
|
6039
|
+
max: number;
|
6040
|
+
overThreshold: number;
|
6041
|
+
binWidth: number;
|
6042
|
+
bins: any[];
|
5865
6043
|
};
|
5866
6044
|
};
|
5867
6045
|
};
|
@@ -5870,91 +6048,41 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5870
6048
|
};
|
5871
6049
|
} & {
|
5872
6050
|
opportunities: {
|
5873
|
-
|
5874
|
-
|
5875
|
-
|
5876
|
-
body:
|
5877
|
-
params: {
|
5878
|
-
|
5879
|
-
|
5880
|
-
|
5881
|
-
|
5882
|
-
|
6051
|
+
bins: {
|
6052
|
+
tvl: {
|
6053
|
+
get: {
|
6054
|
+
body: unknown;
|
6055
|
+
params: {};
|
6056
|
+
query: {
|
6057
|
+
status?: string | undefined;
|
6058
|
+
search?: string | undefined;
|
6059
|
+
sort?: string | undefined;
|
6060
|
+
type?: string | undefined;
|
6061
|
+
name?: string | undefined;
|
6062
|
+
tokens?: string | undefined;
|
6063
|
+
items?: number | undefined;
|
6064
|
+
tags?: string | undefined;
|
6065
|
+
identifier?: string | undefined;
|
6066
|
+
page?: number | undefined;
|
6067
|
+
action?: string | undefined;
|
6068
|
+
campaignId?: string | undefined;
|
6069
|
+
creatorAddress?: string | undefined;
|
6070
|
+
chainId?: string | undefined;
|
6071
|
+
mainProtocolId?: string | undefined;
|
6072
|
+
campaigns?: boolean | undefined;
|
6073
|
+
point?: boolean | undefined;
|
6074
|
+
rewardTokenSymbol?: string | undefined;
|
6075
|
+
order?: string | undefined;
|
6076
|
+
test?: boolean | undefined;
|
6077
|
+
minimumTvl?: number | undefined;
|
5883
6078
|
};
|
6079
|
+
headers: unknown;
|
5884
6080
|
response: {
|
5885
6081
|
200: {
|
5886
|
-
|
5887
|
-
|
5888
|
-
|
5889
|
-
|
5890
|
-
icon: string;
|
5891
|
-
address: string;
|
5892
|
-
chainId: number;
|
5893
|
-
decimals: number;
|
5894
|
-
displaySymbol: string;
|
5895
|
-
verified: boolean;
|
5896
|
-
isTest: boolean;
|
5897
|
-
isPoint: boolean;
|
5898
|
-
isPreTGE: boolean;
|
5899
|
-
isNative: boolean;
|
5900
|
-
price: number | null;
|
5901
|
-
}[];
|
5902
|
-
Protocols: {
|
5903
|
-
url: string;
|
5904
|
-
name: string;
|
5905
|
-
description: string;
|
5906
|
-
id: string;
|
5907
|
-
tags: string[];
|
5908
|
-
icon: string;
|
5909
|
-
}[];
|
5910
|
-
status: import("@db/api").$Enums.Status;
|
5911
|
-
type: string;
|
5912
|
-
name: string;
|
5913
|
-
description: string;
|
5914
|
-
id: string;
|
5915
|
-
tags: string[];
|
5916
|
-
identifier: string;
|
5917
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
5918
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5919
|
-
chainId: number;
|
5920
|
-
howToSteps: string[];
|
5921
|
-
depositUrl: string | null;
|
5922
|
-
explorerAddress: string | null;
|
5923
|
-
mainProtocolId: string | null;
|
5924
|
-
tvl: number;
|
5925
|
-
apr: number;
|
5926
|
-
dailyRewards: number;
|
5927
|
-
lastCampaignCreatedAt: Date;
|
5928
|
-
} | {
|
5929
|
-
id: string;
|
5930
|
-
chainId: number;
|
5931
|
-
type: string;
|
5932
|
-
identifier: string;
|
5933
|
-
name: string;
|
5934
|
-
status: "PAST" | "LIVE" | "SOON";
|
5935
|
-
action: any;
|
5936
|
-
tokens: ({
|
5937
|
-
symbol: string;
|
5938
|
-
name: string | null;
|
5939
|
-
id: string;
|
5940
|
-
icon: string;
|
5941
|
-
address: string;
|
5942
|
-
chainId: number;
|
5943
|
-
decimals: number;
|
5944
|
-
verified: boolean;
|
5945
|
-
isTest: boolean;
|
5946
|
-
isPoint: boolean;
|
5947
|
-
isPreTGE: boolean;
|
5948
|
-
isNative: boolean;
|
5949
|
-
} & {
|
5950
|
-
price?: number | null | undefined;
|
5951
|
-
})[];
|
5952
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
5953
|
-
description: string;
|
5954
|
-
howToSteps: string[];
|
5955
|
-
depositUrl: string | undefined;
|
5956
|
-
explorerAddress: string | undefined;
|
5957
|
-
tags: string[];
|
6082
|
+
min: number;
|
6083
|
+
max: number;
|
6084
|
+
binWidth: number;
|
6085
|
+
bins: any[];
|
5958
6086
|
};
|
5959
6087
|
};
|
5960
6088
|
};
|
@@ -5964,19 +6092,79 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5964
6092
|
} & {
|
5965
6093
|
opportunities: {
|
5966
6094
|
":id": {
|
5967
|
-
|
6095
|
+
get: {
|
5968
6096
|
body: unknown;
|
5969
6097
|
params: {
|
5970
|
-
campaignId?: string | undefined;
|
5971
6098
|
id: string;
|
5972
6099
|
};
|
5973
|
-
query:
|
5974
|
-
|
5975
|
-
|
6100
|
+
query: {
|
6101
|
+
campaigns?: boolean | undefined;
|
6102
|
+
point?: boolean | undefined;
|
6103
|
+
test?: boolean | undefined;
|
5976
6104
|
};
|
6105
|
+
headers: unknown;
|
5977
6106
|
response: {
|
5978
6107
|
200: {
|
5979
|
-
|
6108
|
+
protocol?: {
|
6109
|
+
url: string;
|
6110
|
+
name: string;
|
6111
|
+
description: string;
|
6112
|
+
id: string;
|
6113
|
+
tags: string[];
|
6114
|
+
icon: string;
|
6115
|
+
} | null | undefined;
|
6116
|
+
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;
|
6117
|
+
depositUrl?: string | undefined;
|
6118
|
+
explorerAddress?: string | undefined;
|
6119
|
+
aprRecord?: {
|
6120
|
+
timestamp: string | bigint;
|
6121
|
+
cumulated: number;
|
6122
|
+
breakdowns: {
|
6123
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
6124
|
+
identifier: string;
|
6125
|
+
value: number;
|
6126
|
+
}[];
|
6127
|
+
} | undefined;
|
6128
|
+
tvlRecord?: {
|
6129
|
+
total: number;
|
6130
|
+
timestamp: string | bigint;
|
6131
|
+
breakdowns: {
|
6132
|
+
type: "TOKEN" | "PROTOCOL";
|
6133
|
+
identifier: string;
|
6134
|
+
value: number;
|
6135
|
+
}[];
|
6136
|
+
} | undefined;
|
6137
|
+
rewardsRecord?: {
|
6138
|
+
total: number;
|
6139
|
+
id: string;
|
6140
|
+
timestamp: string | bigint;
|
6141
|
+
breakdowns: {
|
6142
|
+
token: {
|
6143
|
+
price?: number | null | undefined;
|
6144
|
+
symbol: string;
|
6145
|
+
name: string | null;
|
6146
|
+
id: string;
|
6147
|
+
icon: string;
|
6148
|
+
address: string;
|
6149
|
+
chainId: number;
|
6150
|
+
decimals: number;
|
6151
|
+
verified: boolean;
|
6152
|
+
isTest: boolean;
|
6153
|
+
isPoint: boolean;
|
6154
|
+
isPreTGE: boolean;
|
6155
|
+
};
|
6156
|
+
id: string;
|
6157
|
+
value: number;
|
6158
|
+
campaignId: string;
|
6159
|
+
amount: string | bigint;
|
6160
|
+
dailyRewardsRecordId: string;
|
6161
|
+
}[];
|
6162
|
+
} | undefined;
|
6163
|
+
status: string;
|
6164
|
+
type: string;
|
6165
|
+
name: string;
|
6166
|
+
tokens: {
|
6167
|
+
price?: number | null | undefined;
|
5980
6168
|
symbol: string;
|
5981
6169
|
name: string | null;
|
5982
6170
|
id: string;
|
@@ -5984,70 +6172,36 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5984
6172
|
address: string;
|
5985
6173
|
chainId: number;
|
5986
6174
|
decimals: number;
|
5987
|
-
displaySymbol: string;
|
5988
6175
|
verified: boolean;
|
5989
6176
|
isTest: boolean;
|
5990
6177
|
isPoint: boolean;
|
5991
6178
|
isPreTGE: boolean;
|
5992
|
-
isNative: boolean;
|
5993
|
-
price: number | null;
|
5994
|
-
}[];
|
5995
|
-
Protocols: {
|
5996
|
-
url: string;
|
5997
|
-
name: string;
|
5998
|
-
description: string;
|
5999
|
-
id: string;
|
6000
|
-
tags: string[];
|
6001
|
-
icon: string;
|
6002
6179
|
}[];
|
6003
|
-
status: import("@db/api").$Enums.Status;
|
6004
|
-
type: string;
|
6005
|
-
name: string;
|
6006
6180
|
description: string;
|
6007
6181
|
id: string;
|
6008
6182
|
tags: string[];
|
6009
6183
|
identifier: string;
|
6010
|
-
|
6011
|
-
|
6184
|
+
chain: {
|
6185
|
+
name: string;
|
6186
|
+
id: number;
|
6187
|
+
icon: string;
|
6188
|
+
};
|
6189
|
+
action: string;
|
6012
6190
|
chainId: number;
|
6013
6191
|
howToSteps: string[];
|
6014
|
-
depositUrl: string | null;
|
6015
|
-
explorerAddress: string | null;
|
6016
|
-
mainProtocolId: string | null;
|
6017
6192
|
tvl: number;
|
6018
6193
|
apr: number;
|
6019
6194
|
dailyRewards: number;
|
6020
|
-
lastCampaignCreatedAt:
|
6021
|
-
}
|
6022
|
-
|
6023
|
-
|
6024
|
-
type: string;
|
6025
|
-
identifier: string;
|
6195
|
+
lastCampaignCreatedAt: string;
|
6196
|
+
};
|
6197
|
+
readonly 404: {
|
6198
|
+
message: string;
|
6026
6199
|
name: string;
|
6027
|
-
|
6028
|
-
|
6029
|
-
|
6030
|
-
|
6031
|
-
|
6032
|
-
id: string;
|
6033
|
-
icon: string;
|
6034
|
-
address: string;
|
6035
|
-
chainId: number;
|
6036
|
-
decimals: number;
|
6037
|
-
verified: boolean;
|
6038
|
-
isTest: boolean;
|
6039
|
-
isPoint: boolean;
|
6040
|
-
isPreTGE: boolean;
|
6041
|
-
isNative: boolean;
|
6042
|
-
} & {
|
6043
|
-
price?: number | null | undefined;
|
6044
|
-
})[];
|
6045
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
6046
|
-
description: string;
|
6047
|
-
howToSteps: string[];
|
6048
|
-
depositUrl: string | undefined;
|
6049
|
-
explorerAddress: string | undefined;
|
6050
|
-
tags: string[];
|
6200
|
+
};
|
6201
|
+
readonly 500: {
|
6202
|
+
info: string;
|
6203
|
+
code: string;
|
6204
|
+
httpCode: number;
|
6051
6205
|
};
|
6052
6206
|
};
|
6053
6207
|
};
|
@@ -6055,70 +6209,76 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6055
6209
|
};
|
6056
6210
|
} & {
|
6057
6211
|
opportunities: {
|
6058
|
-
|
6212
|
+
campaigns: {
|
6059
6213
|
get: {
|
6060
6214
|
body: unknown;
|
6061
6215
|
params: {};
|
6062
6216
|
query: {
|
6063
|
-
status?:
|
6064
|
-
search?: string | undefined;
|
6065
|
-
sort?: string | undefined;
|
6217
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
6066
6218
|
type?: string | undefined;
|
6067
|
-
|
6068
|
-
tokens?: string | undefined;
|
6219
|
+
id?: string | undefined;
|
6069
6220
|
items?: number | undefined;
|
6070
|
-
|
6071
|
-
identifier?: string | undefined;
|
6221
|
+
subType?: number | undefined;
|
6072
6222
|
page?: number | undefined;
|
6073
|
-
|
6223
|
+
types?: string[] | undefined;
|
6074
6224
|
campaignId?: string | undefined;
|
6225
|
+
opportunityId?: string | undefined;
|
6226
|
+
startTimestamp?: string | undefined;
|
6227
|
+
endTimestamp?: string | undefined;
|
6075
6228
|
creatorAddress?: string | undefined;
|
6076
|
-
|
6077
|
-
|
6078
|
-
|
6229
|
+
rootCampaignId?: string | undefined;
|
6230
|
+
parentCampaignId?: string | undefined;
|
6231
|
+
chainId?: number | undefined;
|
6232
|
+
creatorId?: string | undefined;
|
6233
|
+
mainParameter?: string | undefined;
|
6079
6234
|
point?: boolean | undefined;
|
6080
|
-
|
6081
|
-
order?: string | undefined;
|
6235
|
+
tokenAddress?: string | undefined;
|
6082
6236
|
test?: boolean | undefined;
|
6083
|
-
|
6237
|
+
creatorTag?: string | undefined;
|
6238
|
+
distributionChainIds?: number[] | undefined;
|
6239
|
+
tokenSymbol?: string | undefined;
|
6240
|
+
withOpportunity?: boolean | undefined;
|
6241
|
+
createdAfter?: Date | null | undefined;
|
6084
6242
|
};
|
6085
6243
|
headers: unknown;
|
6086
6244
|
response: {
|
6087
6245
|
200: {
|
6088
|
-
|
6089
|
-
|
6246
|
+
protocol?: {
|
6247
|
+
url: string;
|
6248
|
+
name: string;
|
6249
|
+
description: string;
|
6250
|
+
id: string;
|
6251
|
+
tags: string[];
|
6252
|
+
icon: string;
|
6253
|
+
} | null | undefined;
|
6254
|
+
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;
|
6255
|
+
depositUrl?: string | undefined;
|
6256
|
+
explorerAddress?: string | undefined;
|
6257
|
+
aprRecord?: {
|
6258
|
+
timestamp: string | bigint;
|
6090
6259
|
cumulated: number;
|
6091
|
-
|
6092
|
-
|
6093
|
-
value: number;
|
6094
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
6260
|
+
breakdowns: {
|
6261
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
6095
6262
|
identifier: string;
|
6096
|
-
type: "CAMPAIGN";
|
6097
|
-
} | {
|
6098
6263
|
value: number;
|
6099
|
-
|
6100
|
-
|
6101
|
-
|
6102
|
-
};
|
6103
|
-
tvlRecord: {
|
6104
|
-
id: string;
|
6264
|
+
}[];
|
6265
|
+
} | undefined;
|
6266
|
+
tvlRecord?: {
|
6105
6267
|
total: number;
|
6106
|
-
timestamp: bigint;
|
6268
|
+
timestamp: string | bigint;
|
6107
6269
|
breakdowns: {
|
6108
|
-
type:
|
6270
|
+
type: "TOKEN" | "PROTOCOL";
|
6109
6271
|
identifier: string;
|
6110
6272
|
value: number;
|
6111
6273
|
}[];
|
6112
|
-
};
|
6113
|
-
rewardsRecord
|
6114
|
-
id: string;
|
6274
|
+
} | undefined;
|
6275
|
+
rewardsRecord?: {
|
6115
6276
|
total: number;
|
6116
|
-
|
6277
|
+
id: string;
|
6278
|
+
timestamp: string | bigint;
|
6117
6279
|
breakdowns: {
|
6118
|
-
id: string;
|
6119
|
-
campaignId: string;
|
6120
|
-
dailyRewardsRecordId: string;
|
6121
6280
|
token: {
|
6281
|
+
price?: number | null | undefined;
|
6122
6282
|
symbol: string;
|
6123
6283
|
name: string | null;
|
6124
6284
|
id: string;
|
@@ -6126,29 +6286,94 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6126
6286
|
address: string;
|
6127
6287
|
chainId: number;
|
6128
6288
|
decimals: number;
|
6129
|
-
displaySymbol: string;
|
6130
6289
|
verified: boolean;
|
6131
6290
|
isTest: boolean;
|
6132
6291
|
isPoint: boolean;
|
6133
6292
|
isPreTGE: boolean;
|
6134
|
-
isNative: boolean;
|
6135
|
-
price: number | null;
|
6136
6293
|
};
|
6137
|
-
|
6294
|
+
id: string;
|
6138
6295
|
value: number;
|
6139
|
-
|
6296
|
+
campaignId: string;
|
6297
|
+
amount: string | bigint;
|
6298
|
+
dailyRewardsRecordId: string;
|
6140
6299
|
}[];
|
6300
|
+
} | undefined;
|
6301
|
+
status: string;
|
6302
|
+
type: string;
|
6303
|
+
name: string;
|
6304
|
+
tokens: {
|
6305
|
+
price?: number | null | undefined;
|
6306
|
+
symbol: string;
|
6307
|
+
name: string | null;
|
6308
|
+
id: string;
|
6309
|
+
icon: string;
|
6310
|
+
address: string;
|
6311
|
+
chainId: number;
|
6312
|
+
decimals: number;
|
6313
|
+
verified: boolean;
|
6314
|
+
isTest: boolean;
|
6315
|
+
isPoint: boolean;
|
6316
|
+
isPreTGE: boolean;
|
6317
|
+
}[];
|
6318
|
+
description: string;
|
6319
|
+
id: string;
|
6320
|
+
tags: string[];
|
6321
|
+
identifier: string;
|
6322
|
+
chain: {
|
6323
|
+
name: string;
|
6324
|
+
id: number;
|
6325
|
+
icon: string;
|
6141
6326
|
};
|
6327
|
+
action: string;
|
6328
|
+
chainId: number;
|
6329
|
+
howToSteps: string[];
|
6330
|
+
tvl: number;
|
6331
|
+
apr: number;
|
6332
|
+
dailyRewards: number;
|
6333
|
+
lastCampaignCreatedAt: string;
|
6142
6334
|
campaigns: {
|
6335
|
+
description?: string | undefined;
|
6336
|
+
creator?: {
|
6337
|
+
tags?: string[] | undefined;
|
6338
|
+
creatorId?: string | null | undefined;
|
6339
|
+
address: string;
|
6340
|
+
} | undefined;
|
6341
|
+
rootCampaignId?: string | undefined;
|
6342
|
+
parentCampaignId?: string | undefined;
|
6343
|
+
campaignStatus?: {
|
6344
|
+
error?: string | undefined;
|
6345
|
+
details?: any;
|
6346
|
+
status: string;
|
6347
|
+
campaignId: string;
|
6348
|
+
computedUntil: string | number;
|
6349
|
+
processingStarted: string | number;
|
6350
|
+
} | undefined;
|
6351
|
+
distributionChain?: {
|
6352
|
+
name: string;
|
6353
|
+
id: number;
|
6354
|
+
icon: string;
|
6355
|
+
} | undefined;
|
6356
|
+
type: string;
|
6357
|
+
id: string;
|
6143
6358
|
params: any;
|
6359
|
+
subType: number | null;
|
6144
6360
|
chain: {
|
6145
6361
|
name: string;
|
6146
6362
|
id: number;
|
6147
6363
|
icon: string;
|
6148
6364
|
};
|
6149
|
-
|
6150
|
-
|
6365
|
+
computeChainId: number;
|
6366
|
+
distributionChainId: number;
|
6367
|
+
campaignId: string;
|
6368
|
+
rewardTokenId: string;
|
6369
|
+
amount: string;
|
6370
|
+
opportunityId: string;
|
6371
|
+
startTimestamp: string | number;
|
6372
|
+
endTimestamp: string | number;
|
6373
|
+
creatorAddress: string;
|
6374
|
+
createdAt: string;
|
6151
6375
|
rewardToken: {
|
6376
|
+
price?: number | null | undefined;
|
6152
6377
|
symbol: string;
|
6153
6378
|
name: string | null;
|
6154
6379
|
id: string;
|
@@ -6160,187 +6385,192 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6160
6385
|
isTest: boolean;
|
6161
6386
|
isPoint: boolean;
|
6162
6387
|
isPreTGE: boolean;
|
6163
|
-
isNative: boolean;
|
6164
|
-
} & {
|
6165
|
-
price?: number | null | undefined;
|
6166
6388
|
};
|
6167
|
-
|
6389
|
+
}[];
|
6390
|
+
}[];
|
6391
|
+
readonly 404: {
|
6392
|
+
message: string;
|
6393
|
+
name: string;
|
6394
|
+
};
|
6395
|
+
readonly 500: {
|
6396
|
+
info: string;
|
6397
|
+
code: string;
|
6398
|
+
httpCode: number;
|
6399
|
+
};
|
6400
|
+
};
|
6401
|
+
};
|
6402
|
+
};
|
6403
|
+
};
|
6404
|
+
} & {
|
6405
|
+
opportunities: {
|
6406
|
+
":id": {
|
6407
|
+
campaigns: {
|
6408
|
+
get: {
|
6409
|
+
body: unknown;
|
6410
|
+
params: {
|
6411
|
+
id: string;
|
6412
|
+
};
|
6413
|
+
query: {
|
6414
|
+
campaigns?: boolean | undefined;
|
6415
|
+
point?: boolean | undefined;
|
6416
|
+
test?: boolean | undefined;
|
6417
|
+
};
|
6418
|
+
headers: unknown;
|
6419
|
+
response: {
|
6420
|
+
200: {
|
6421
|
+
protocol?: {
|
6422
|
+
url: string;
|
6168
6423
|
name: string;
|
6169
|
-
|
6424
|
+
description: string;
|
6425
|
+
id: string;
|
6426
|
+
tags: string[];
|
6170
6427
|
icon: string;
|
6428
|
+
} | null | undefined;
|
6429
|
+
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;
|
6430
|
+
depositUrl?: string | undefined;
|
6431
|
+
explorerAddress?: string | undefined;
|
6432
|
+
aprRecord?: {
|
6433
|
+
timestamp: string | bigint;
|
6434
|
+
cumulated: number;
|
6435
|
+
breakdowns: {
|
6436
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
6437
|
+
identifier: string;
|
6438
|
+
value: number;
|
6439
|
+
}[];
|
6171
6440
|
} | undefined;
|
6172
|
-
|
6173
|
-
|
6174
|
-
|
6175
|
-
|
6176
|
-
|
6177
|
-
|
6178
|
-
|
6441
|
+
tvlRecord?: {
|
6442
|
+
total: number;
|
6443
|
+
timestamp: string | bigint;
|
6444
|
+
breakdowns: {
|
6445
|
+
type: "TOKEN" | "PROTOCOL";
|
6446
|
+
identifier: string;
|
6447
|
+
value: number;
|
6448
|
+
}[];
|
6179
6449
|
} | undefined;
|
6180
|
-
|
6181
|
-
|
6182
|
-
tags: string[];
|
6183
|
-
address: string;
|
6184
|
-
creatorId: string | null;
|
6185
|
-
};
|
6186
|
-
createdAt: string;
|
6187
|
-
description: string | undefined;
|
6188
|
-
parentCampaignId: string | undefined;
|
6189
|
-
rootCampaignId: string | undefined;
|
6190
|
-
Opportunity: {
|
6191
|
-
status: import("@db/api").$Enums.Status;
|
6192
|
-
type: string;
|
6193
|
-
name: string;
|
6194
|
-
description: string;
|
6450
|
+
rewardsRecord?: {
|
6451
|
+
total: number;
|
6195
6452
|
id: string;
|
6196
|
-
|
6197
|
-
|
6198
|
-
|
6199
|
-
|
6200
|
-
|
6201
|
-
|
6202
|
-
|
6203
|
-
|
6204
|
-
|
6205
|
-
|
6206
|
-
|
6207
|
-
|
6208
|
-
|
6209
|
-
|
6210
|
-
|
6211
|
-
|
6212
|
-
|
6213
|
-
|
6214
|
-
|
6215
|
-
|
6216
|
-
|
6217
|
-
|
6218
|
-
|
6219
|
-
|
6220
|
-
|
6221
|
-
id: string;
|
6222
|
-
depositUrl: string | undefined;
|
6223
|
-
explorerAddress: string | undefined;
|
6224
|
-
lastCampaignCreatedAt: string;
|
6225
|
-
tokens: ({
|
6226
|
-
symbol: string;
|
6227
|
-
name: string | null;
|
6228
|
-
id: string;
|
6229
|
-
icon: string;
|
6230
|
-
address: string;
|
6231
|
-
chainId: number;
|
6232
|
-
decimals: number;
|
6233
|
-
verified: boolean;
|
6234
|
-
isTest: boolean;
|
6235
|
-
isPoint: boolean;
|
6236
|
-
isPreTGE: boolean;
|
6237
|
-
isNative: boolean;
|
6238
|
-
} & {
|
6239
|
-
price?: number | null | undefined;
|
6240
|
-
})[];
|
6241
|
-
chain: {
|
6242
|
-
name: string;
|
6243
|
-
id: number;
|
6244
|
-
icon: string;
|
6245
|
-
};
|
6246
|
-
protocol: {
|
6247
|
-
url: string;
|
6453
|
+
timestamp: string | bigint;
|
6454
|
+
breakdowns: {
|
6455
|
+
token: {
|
6456
|
+
price?: number | null | undefined;
|
6457
|
+
symbol: string;
|
6458
|
+
name: string | null;
|
6459
|
+
id: string;
|
6460
|
+
icon: string;
|
6461
|
+
address: string;
|
6462
|
+
chainId: number;
|
6463
|
+
decimals: number;
|
6464
|
+
verified: boolean;
|
6465
|
+
isTest: boolean;
|
6466
|
+
isPoint: boolean;
|
6467
|
+
isPreTGE: boolean;
|
6468
|
+
};
|
6469
|
+
id: string;
|
6470
|
+
value: number;
|
6471
|
+
campaignId: string;
|
6472
|
+
amount: string | bigint;
|
6473
|
+
dailyRewardsRecordId: string;
|
6474
|
+
}[];
|
6475
|
+
} | undefined;
|
6476
|
+
status: string;
|
6477
|
+
type: string;
|
6248
6478
|
name: string;
|
6479
|
+
tokens: {
|
6480
|
+
price?: number | null | undefined;
|
6481
|
+
symbol: string;
|
6482
|
+
name: string | null;
|
6483
|
+
id: string;
|
6484
|
+
icon: string;
|
6485
|
+
address: string;
|
6486
|
+
chainId: number;
|
6487
|
+
decimals: number;
|
6488
|
+
verified: boolean;
|
6489
|
+
isTest: boolean;
|
6490
|
+
isPoint: boolean;
|
6491
|
+
isPreTGE: boolean;
|
6492
|
+
}[];
|
6249
6493
|
description: string;
|
6250
6494
|
id: string;
|
6251
6495
|
tags: string[];
|
6252
|
-
|
6253
|
-
|
6254
|
-
|
6255
|
-
|
6256
|
-
|
6257
|
-
|
6258
|
-
|
6259
|
-
|
6260
|
-
|
6261
|
-
|
6262
|
-
|
6263
|
-
|
6264
|
-
|
6265
|
-
|
6266
|
-
|
6267
|
-
|
6268
|
-
|
6269
|
-
|
6270
|
-
|
6271
|
-
|
6272
|
-
|
6273
|
-
|
6274
|
-
|
6275
|
-
|
6276
|
-
|
6277
|
-
|
6278
|
-
|
6279
|
-
|
6280
|
-
|
6281
|
-
|
6282
|
-
|
6283
|
-
|
6284
|
-
|
6285
|
-
|
6286
|
-
|
6287
|
-
|
6288
|
-
|
6289
|
-
|
6290
|
-
|
6291
|
-
|
6292
|
-
|
6293
|
-
|
6294
|
-
|
6295
|
-
|
6296
|
-
|
6297
|
-
|
6298
|
-
|
6299
|
-
|
6300
|
-
|
6301
|
-
|
6302
|
-
|
6303
|
-
|
6304
|
-
|
6305
|
-
|
6306
|
-
|
6307
|
-
|
6308
|
-
|
6309
|
-
|
6310
|
-
|
6311
|
-
|
6312
|
-
|
6313
|
-
|
6314
|
-
|
6315
|
-
|
6316
|
-
|
6317
|
-
|
6318
|
-
|
6319
|
-
|
6320
|
-
|
6321
|
-
|
6322
|
-
|
6323
|
-
|
6324
|
-
|
6325
|
-
|
6326
|
-
|
6327
|
-
|
6328
|
-
|
6329
|
-
|
6330
|
-
point?: boolean | undefined;
|
6331
|
-
rewardTokenSymbol?: string | undefined;
|
6332
|
-
order?: string | undefined;
|
6333
|
-
test?: boolean | undefined;
|
6334
|
-
minimumTvl?: number | undefined;
|
6335
|
-
};
|
6336
|
-
headers: unknown;
|
6337
|
-
response: {
|
6338
|
-
200: {
|
6339
|
-
min: number;
|
6340
|
-
max: number;
|
6341
|
-
overThreshold: number;
|
6342
|
-
binWidth: number;
|
6343
|
-
bins: any[];
|
6496
|
+
identifier: string;
|
6497
|
+
chain: {
|
6498
|
+
name: string;
|
6499
|
+
id: number;
|
6500
|
+
icon: string;
|
6501
|
+
};
|
6502
|
+
action: string;
|
6503
|
+
chainId: number;
|
6504
|
+
howToSteps: string[];
|
6505
|
+
tvl: number;
|
6506
|
+
apr: number;
|
6507
|
+
dailyRewards: number;
|
6508
|
+
lastCampaignCreatedAt: string;
|
6509
|
+
campaigns: {
|
6510
|
+
description?: string | undefined;
|
6511
|
+
creator?: {
|
6512
|
+
tags?: string[] | undefined;
|
6513
|
+
creatorId?: string | null | undefined;
|
6514
|
+
address: string;
|
6515
|
+
} | undefined;
|
6516
|
+
rootCampaignId?: string | undefined;
|
6517
|
+
parentCampaignId?: string | undefined;
|
6518
|
+
campaignStatus?: {
|
6519
|
+
error?: string | undefined;
|
6520
|
+
details?: any;
|
6521
|
+
status: string;
|
6522
|
+
campaignId: string;
|
6523
|
+
computedUntil: string | number;
|
6524
|
+
processingStarted: string | number;
|
6525
|
+
} | undefined;
|
6526
|
+
distributionChain?: {
|
6527
|
+
name: string;
|
6528
|
+
id: number;
|
6529
|
+
icon: string;
|
6530
|
+
} | undefined;
|
6531
|
+
type: string;
|
6532
|
+
id: string;
|
6533
|
+
params: any;
|
6534
|
+
subType: number | null;
|
6535
|
+
chain: {
|
6536
|
+
name: string;
|
6537
|
+
id: number;
|
6538
|
+
icon: string;
|
6539
|
+
};
|
6540
|
+
computeChainId: number;
|
6541
|
+
distributionChainId: number;
|
6542
|
+
campaignId: string;
|
6543
|
+
rewardTokenId: string;
|
6544
|
+
amount: string;
|
6545
|
+
opportunityId: string;
|
6546
|
+
startTimestamp: string | number;
|
6547
|
+
endTimestamp: string | number;
|
6548
|
+
creatorAddress: string;
|
6549
|
+
createdAt: string;
|
6550
|
+
rewardToken: {
|
6551
|
+
price?: number | null | undefined;
|
6552
|
+
symbol: string;
|
6553
|
+
name: string | null;
|
6554
|
+
id: string;
|
6555
|
+
icon: string;
|
6556
|
+
address: string;
|
6557
|
+
chainId: number;
|
6558
|
+
decimals: number;
|
6559
|
+
verified: boolean;
|
6560
|
+
isTest: boolean;
|
6561
|
+
isPoint: boolean;
|
6562
|
+
isPreTGE: boolean;
|
6563
|
+
};
|
6564
|
+
}[];
|
6565
|
+
};
|
6566
|
+
readonly 404: {
|
6567
|
+
message: string;
|
6568
|
+
name: string;
|
6569
|
+
};
|
6570
|
+
readonly 500: {
|
6571
|
+
info: string;
|
6572
|
+
code: string;
|
6573
|
+
httpCode: number;
|
6344
6574
|
};
|
6345
6575
|
};
|
6346
6576
|
};
|
@@ -6349,11 +6579,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6349
6579
|
};
|
6350
6580
|
} & {
|
6351
6581
|
opportunities: {
|
6352
|
-
|
6353
|
-
|
6582
|
+
aggregate: {
|
6583
|
+
":field": {
|
6354
6584
|
get: {
|
6355
6585
|
body: unknown;
|
6356
|
-
params: {
|
6586
|
+
params: {
|
6587
|
+
field: never;
|
6588
|
+
};
|
6357
6589
|
query: {
|
6358
6590
|
status?: string | undefined;
|
6359
6591
|
search?: string | undefined;
|
@@ -6380,10 +6612,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6380
6612
|
headers: unknown;
|
6381
6613
|
response: {
|
6382
6614
|
200: {
|
6383
|
-
|
6384
|
-
max: number;
|
6385
|
-
binWidth: number;
|
6386
|
-
bins: any[];
|
6615
|
+
sum: string;
|
6387
6616
|
};
|
6388
6617
|
};
|
6389
6618
|
};
|
@@ -6392,80 +6621,123 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6392
6621
|
};
|
6393
6622
|
} & {
|
6394
6623
|
opportunities: {
|
6395
|
-
|
6396
|
-
|
6397
|
-
|
6398
|
-
|
6399
|
-
|
6624
|
+
aggregate: {
|
6625
|
+
max: {
|
6626
|
+
":field": {
|
6627
|
+
get: {
|
6628
|
+
body: unknown;
|
6629
|
+
params: {
|
6630
|
+
field: never;
|
6631
|
+
};
|
6632
|
+
query: {
|
6633
|
+
status?: string | undefined;
|
6634
|
+
search?: string | undefined;
|
6635
|
+
sort?: string | undefined;
|
6636
|
+
type?: string | undefined;
|
6637
|
+
name?: string | undefined;
|
6638
|
+
tokens?: string | undefined;
|
6639
|
+
items?: number | undefined;
|
6640
|
+
tags?: string | undefined;
|
6641
|
+
identifier?: string | undefined;
|
6642
|
+
page?: number | undefined;
|
6643
|
+
action?: string | undefined;
|
6644
|
+
campaignId?: string | undefined;
|
6645
|
+
creatorAddress?: string | undefined;
|
6646
|
+
chainId?: string | undefined;
|
6647
|
+
mainProtocolId?: string | undefined;
|
6648
|
+
campaigns?: boolean | undefined;
|
6649
|
+
point?: boolean | undefined;
|
6650
|
+
rewardTokenSymbol?: string | undefined;
|
6651
|
+
order?: string | undefined;
|
6652
|
+
test?: boolean | undefined;
|
6653
|
+
minimumTvl?: number | undefined;
|
6654
|
+
};
|
6655
|
+
headers: unknown;
|
6656
|
+
response: {
|
6657
|
+
200: {
|
6658
|
+
max: string;
|
6659
|
+
};
|
6660
|
+
};
|
6661
|
+
};
|
6400
6662
|
};
|
6401
|
-
|
6402
|
-
|
6403
|
-
|
6404
|
-
|
6663
|
+
};
|
6664
|
+
};
|
6665
|
+
};
|
6666
|
+
} & {
|
6667
|
+
opportunities: {
|
6668
|
+
aggregate: {
|
6669
|
+
min: {
|
6670
|
+
":field": {
|
6671
|
+
get: {
|
6672
|
+
body: unknown;
|
6673
|
+
params: {
|
6674
|
+
field: never;
|
6675
|
+
};
|
6676
|
+
query: {
|
6677
|
+
status?: string | undefined;
|
6678
|
+
search?: string | undefined;
|
6679
|
+
sort?: string | undefined;
|
6680
|
+
type?: string | undefined;
|
6681
|
+
name?: string | undefined;
|
6682
|
+
tokens?: string | undefined;
|
6683
|
+
items?: number | undefined;
|
6684
|
+
tags?: string | undefined;
|
6685
|
+
identifier?: string | undefined;
|
6686
|
+
page?: number | undefined;
|
6687
|
+
action?: string | undefined;
|
6688
|
+
campaignId?: string | undefined;
|
6689
|
+
creatorAddress?: string | undefined;
|
6690
|
+
chainId?: string | undefined;
|
6691
|
+
mainProtocolId?: string | undefined;
|
6692
|
+
campaigns?: boolean | undefined;
|
6693
|
+
point?: boolean | undefined;
|
6694
|
+
rewardTokenSymbol?: string | undefined;
|
6695
|
+
order?: string | undefined;
|
6696
|
+
test?: boolean | undefined;
|
6697
|
+
minimumTvl?: number | undefined;
|
6698
|
+
};
|
6699
|
+
headers: unknown;
|
6700
|
+
response: {
|
6701
|
+
200: {
|
6702
|
+
min: string;
|
6703
|
+
};
|
6704
|
+
};
|
6705
|
+
};
|
6706
|
+
};
|
6707
|
+
};
|
6708
|
+
};
|
6709
|
+
};
|
6710
|
+
} & {
|
6711
|
+
opportunities: {
|
6712
|
+
index: {
|
6713
|
+
post: {
|
6714
|
+
body: {
|
6715
|
+
name?: string | undefined;
|
6716
|
+
description?: string | undefined;
|
6717
|
+
tags?: string[] | undefined;
|
6718
|
+
howToSteps?: string[] | undefined;
|
6719
|
+
depositUrl?: string | undefined;
|
6720
|
+
explorerAddress?: string | undefined;
|
6721
|
+
protocols?: string[] | undefined;
|
6722
|
+
mainProtocol?: string | undefined;
|
6723
|
+
status: "NONE" | "PAST" | "LIVE" | "SOON";
|
6724
|
+
type: string;
|
6725
|
+
tokens: {
|
6726
|
+
address: string;
|
6727
|
+
chainId: number;
|
6728
|
+
}[];
|
6729
|
+
identifier: string;
|
6730
|
+
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
6731
|
+
chainId: number;
|
6732
|
+
};
|
6733
|
+
params: {};
|
6734
|
+
query: unknown;
|
6735
|
+
headers: {
|
6736
|
+
authorization: string;
|
6405
6737
|
};
|
6406
|
-
headers: unknown;
|
6407
6738
|
response: {
|
6408
6739
|
200: {
|
6409
|
-
|
6410
|
-
url: string;
|
6411
|
-
name: string;
|
6412
|
-
description: string;
|
6413
|
-
id: string;
|
6414
|
-
tags: string[];
|
6415
|
-
icon: string;
|
6416
|
-
} | null | undefined;
|
6417
|
-
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;
|
6418
|
-
depositUrl?: string | undefined;
|
6419
|
-
explorerAddress?: string | undefined;
|
6420
|
-
aprRecord?: {
|
6421
|
-
timestamp: string | bigint;
|
6422
|
-
cumulated: number;
|
6423
|
-
breakdowns: {
|
6424
|
-
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
6425
|
-
identifier: string;
|
6426
|
-
value: number;
|
6427
|
-
}[];
|
6428
|
-
} | undefined;
|
6429
|
-
tvlRecord?: {
|
6430
|
-
total: number;
|
6431
|
-
timestamp: string | bigint;
|
6432
|
-
breakdowns: {
|
6433
|
-
type: "TOKEN" | "PROTOCOL";
|
6434
|
-
identifier: string;
|
6435
|
-
value: number;
|
6436
|
-
}[];
|
6437
|
-
} | undefined;
|
6438
|
-
rewardsRecord?: {
|
6439
|
-
total: number;
|
6440
|
-
id: string;
|
6441
|
-
timestamp: string | bigint;
|
6442
|
-
breakdowns: {
|
6443
|
-
token: {
|
6444
|
-
price?: number | null | undefined;
|
6445
|
-
symbol: string;
|
6446
|
-
name: string | null;
|
6447
|
-
id: string;
|
6448
|
-
icon: string;
|
6449
|
-
address: string;
|
6450
|
-
chainId: number;
|
6451
|
-
decimals: number;
|
6452
|
-
verified: boolean;
|
6453
|
-
isTest: boolean;
|
6454
|
-
isPoint: boolean;
|
6455
|
-
isPreTGE: boolean;
|
6456
|
-
};
|
6457
|
-
id: string;
|
6458
|
-
value: number;
|
6459
|
-
campaignId: string;
|
6460
|
-
amount: string | bigint;
|
6461
|
-
dailyRewardsRecordId: string;
|
6462
|
-
}[];
|
6463
|
-
} | undefined;
|
6464
|
-
status: string;
|
6465
|
-
type: string;
|
6466
|
-
name: string;
|
6467
|
-
tokens: {
|
6468
|
-
price?: number | null | undefined;
|
6740
|
+
Tokens: {
|
6469
6741
|
symbol: string;
|
6470
6742
|
name: string | null;
|
6471
6743
|
id: string;
|
@@ -6473,36 +6745,40 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6473
6745
|
address: string;
|
6474
6746
|
chainId: number;
|
6475
6747
|
decimals: number;
|
6748
|
+
displaySymbol: string;
|
6476
6749
|
verified: boolean;
|
6477
6750
|
isTest: boolean;
|
6478
6751
|
isPoint: boolean;
|
6479
6752
|
isPreTGE: boolean;
|
6753
|
+
isNative: boolean;
|
6754
|
+
price: number | null;
|
6755
|
+
}[];
|
6756
|
+
Protocols: {
|
6757
|
+
url: string;
|
6758
|
+
name: string;
|
6759
|
+
description: string;
|
6760
|
+
id: string;
|
6761
|
+
tags: string[];
|
6762
|
+
icon: string;
|
6480
6763
|
}[];
|
6764
|
+
status: import("@db/api").$Enums.Status;
|
6765
|
+
type: string;
|
6766
|
+
name: string;
|
6481
6767
|
description: string;
|
6482
6768
|
id: string;
|
6483
6769
|
tags: string[];
|
6484
6770
|
identifier: string;
|
6485
|
-
|
6486
|
-
|
6487
|
-
id: number;
|
6488
|
-
icon: string;
|
6489
|
-
};
|
6490
|
-
action: string;
|
6771
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
6772
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
6491
6773
|
chainId: number;
|
6492
6774
|
howToSteps: string[];
|
6775
|
+
depositUrl: string | null;
|
6776
|
+
explorerAddress: string | null;
|
6777
|
+
mainProtocolId: string | null;
|
6493
6778
|
tvl: number;
|
6494
6779
|
apr: number;
|
6495
6780
|
dailyRewards: number;
|
6496
|
-
lastCampaignCreatedAt:
|
6497
|
-
};
|
6498
|
-
readonly 404: {
|
6499
|
-
message: string;
|
6500
|
-
name: string;
|
6501
|
-
};
|
6502
|
-
readonly 500: {
|
6503
|
-
info: string;
|
6504
|
-
code: string;
|
6505
|
-
httpCode: number;
|
6781
|
+
lastCampaignCreatedAt: Date;
|
6506
6782
|
};
|
6507
6783
|
};
|
6508
6784
|
};
|
@@ -6510,99 +6786,20 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6510
6786
|
};
|
6511
6787
|
} & {
|
6512
6788
|
opportunities: {
|
6513
|
-
|
6514
|
-
|
6789
|
+
":id": {
|
6790
|
+
post: {
|
6515
6791
|
body: unknown;
|
6516
|
-
params: {
|
6517
|
-
query: {
|
6518
|
-
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
6519
|
-
type?: string | undefined;
|
6520
|
-
items?: number | undefined;
|
6521
|
-
subType?: number | undefined;
|
6522
|
-
page?: number | undefined;
|
6523
|
-
types?: string[] | undefined;
|
6792
|
+
params: {
|
6524
6793
|
campaignId?: string | undefined;
|
6525
|
-
|
6526
|
-
|
6527
|
-
|
6528
|
-
|
6529
|
-
|
6530
|
-
parentCampaignId?: string | undefined;
|
6531
|
-
chainId?: number | undefined;
|
6532
|
-
creatorId?: string | undefined;
|
6533
|
-
mainParameter?: string | undefined;
|
6534
|
-
point?: boolean | undefined;
|
6535
|
-
tokenAddress?: string | undefined;
|
6536
|
-
test?: boolean | undefined;
|
6537
|
-
creatorTag?: string | undefined;
|
6538
|
-
distributionChainIds?: number[] | undefined;
|
6539
|
-
tokenSymbol?: string | undefined;
|
6540
|
-
withOpportunity?: boolean | undefined;
|
6541
|
-
createdAfter?: Date | null | undefined;
|
6794
|
+
id: string;
|
6795
|
+
};
|
6796
|
+
query: unknown;
|
6797
|
+
headers: {
|
6798
|
+
authorization: string;
|
6542
6799
|
};
|
6543
|
-
headers: unknown;
|
6544
6800
|
response: {
|
6545
6801
|
200: {
|
6546
|
-
|
6547
|
-
url: string;
|
6548
|
-
name: string;
|
6549
|
-
description: string;
|
6550
|
-
id: string;
|
6551
|
-
tags: string[];
|
6552
|
-
icon: string;
|
6553
|
-
} | null | undefined;
|
6554
|
-
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;
|
6555
|
-
depositUrl?: string | undefined;
|
6556
|
-
explorerAddress?: string | undefined;
|
6557
|
-
aprRecord?: {
|
6558
|
-
timestamp: string | bigint;
|
6559
|
-
cumulated: number;
|
6560
|
-
breakdowns: {
|
6561
|
-
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
6562
|
-
identifier: string;
|
6563
|
-
value: number;
|
6564
|
-
}[];
|
6565
|
-
} | undefined;
|
6566
|
-
tvlRecord?: {
|
6567
|
-
total: number;
|
6568
|
-
timestamp: string | bigint;
|
6569
|
-
breakdowns: {
|
6570
|
-
type: "TOKEN" | "PROTOCOL";
|
6571
|
-
identifier: string;
|
6572
|
-
value: number;
|
6573
|
-
}[];
|
6574
|
-
} | undefined;
|
6575
|
-
rewardsRecord?: {
|
6576
|
-
total: number;
|
6577
|
-
id: string;
|
6578
|
-
timestamp: string | bigint;
|
6579
|
-
breakdowns: {
|
6580
|
-
token: {
|
6581
|
-
price?: number | null | undefined;
|
6582
|
-
symbol: string;
|
6583
|
-
name: string | null;
|
6584
|
-
id: string;
|
6585
|
-
icon: string;
|
6586
|
-
address: string;
|
6587
|
-
chainId: number;
|
6588
|
-
decimals: number;
|
6589
|
-
verified: boolean;
|
6590
|
-
isTest: boolean;
|
6591
|
-
isPoint: boolean;
|
6592
|
-
isPreTGE: boolean;
|
6593
|
-
};
|
6594
|
-
id: string;
|
6595
|
-
value: number;
|
6596
|
-
campaignId: string;
|
6597
|
-
amount: string | bigint;
|
6598
|
-
dailyRewardsRecordId: string;
|
6599
|
-
}[];
|
6600
|
-
} | undefined;
|
6601
|
-
status: string;
|
6602
|
-
type: string;
|
6603
|
-
name: string;
|
6604
|
-
tokens: {
|
6605
|
-
price?: number | null | undefined;
|
6802
|
+
Tokens: {
|
6606
6803
|
symbol: string;
|
6607
6804
|
name: string | null;
|
6608
6805
|
id: string;
|
@@ -6610,92 +6807,116 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6610
6807
|
address: string;
|
6611
6808
|
chainId: number;
|
6612
6809
|
decimals: number;
|
6810
|
+
displaySymbol: string;
|
6613
6811
|
verified: boolean;
|
6614
6812
|
isTest: boolean;
|
6615
6813
|
isPoint: boolean;
|
6616
6814
|
isPreTGE: boolean;
|
6815
|
+
isNative: boolean;
|
6816
|
+
price: number | null;
|
6817
|
+
}[];
|
6818
|
+
Protocols: {
|
6819
|
+
url: string;
|
6820
|
+
name: string;
|
6821
|
+
description: string;
|
6822
|
+
id: string;
|
6823
|
+
tags: string[];
|
6824
|
+
icon: string;
|
6617
6825
|
}[];
|
6826
|
+
status: import("@db/api").$Enums.Status;
|
6827
|
+
type: string;
|
6828
|
+
name: string;
|
6618
6829
|
description: string;
|
6619
6830
|
id: string;
|
6620
6831
|
tags: string[];
|
6621
6832
|
identifier: string;
|
6622
|
-
|
6623
|
-
|
6624
|
-
id: number;
|
6625
|
-
icon: string;
|
6626
|
-
};
|
6627
|
-
action: string;
|
6833
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
6834
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
6628
6835
|
chainId: number;
|
6629
6836
|
howToSteps: string[];
|
6837
|
+
depositUrl: string | null;
|
6838
|
+
explorerAddress: string | null;
|
6839
|
+
mainProtocolId: string | null;
|
6630
6840
|
tvl: number;
|
6631
6841
|
apr: number;
|
6632
6842
|
dailyRewards: number;
|
6633
|
-
lastCampaignCreatedAt:
|
6634
|
-
|
6635
|
-
|
6636
|
-
|
6637
|
-
|
6638
|
-
|
6639
|
-
address: string;
|
6640
|
-
} | undefined;
|
6641
|
-
rootCampaignId?: string | undefined;
|
6642
|
-
parentCampaignId?: string | undefined;
|
6643
|
-
campaignStatus?: {
|
6644
|
-
error?: string | undefined;
|
6645
|
-
details?: any;
|
6646
|
-
status: string;
|
6647
|
-
campaignId: string;
|
6648
|
-
computedUntil: string | number;
|
6649
|
-
processingStarted: string | number;
|
6650
|
-
} | undefined;
|
6651
|
-
distributionChain?: {
|
6652
|
-
name: string;
|
6653
|
-
id: number;
|
6654
|
-
icon: string;
|
6655
|
-
} | undefined;
|
6656
|
-
type: string;
|
6657
|
-
id: string;
|
6658
|
-
params: any;
|
6659
|
-
subType: number | null;
|
6660
|
-
chain: {
|
6661
|
-
name: string;
|
6662
|
-
id: number;
|
6663
|
-
icon: string;
|
6664
|
-
};
|
6665
|
-
computeChainId: number;
|
6666
|
-
distributionChainId: number;
|
6667
|
-
campaignId: string;
|
6668
|
-
rewardTokenId: string;
|
6669
|
-
amount: string;
|
6670
|
-
opportunityId: string;
|
6671
|
-
startTimestamp: string | number;
|
6672
|
-
endTimestamp: string | number;
|
6673
|
-
creatorAddress: string;
|
6674
|
-
createdAt: string;
|
6675
|
-
rewardToken: {
|
6676
|
-
price?: number | null | undefined;
|
6677
|
-
symbol: string;
|
6678
|
-
name: string | null;
|
6679
|
-
id: string;
|
6680
|
-
icon: string;
|
6681
|
-
address: string;
|
6682
|
-
chainId: number;
|
6683
|
-
decimals: number;
|
6684
|
-
verified: boolean;
|
6685
|
-
isTest: boolean;
|
6686
|
-
isPoint: boolean;
|
6687
|
-
isPreTGE: boolean;
|
6688
|
-
};
|
6689
|
-
}[];
|
6690
|
-
}[];
|
6691
|
-
readonly 404: {
|
6692
|
-
message: string;
|
6843
|
+
lastCampaignCreatedAt: Date;
|
6844
|
+
} | {
|
6845
|
+
id: string;
|
6846
|
+
chainId: number;
|
6847
|
+
type: string;
|
6848
|
+
identifier: string;
|
6693
6849
|
name: string;
|
6850
|
+
status: "PAST" | "LIVE" | "SOON";
|
6851
|
+
action: any;
|
6852
|
+
tokens: ({
|
6853
|
+
symbol: string;
|
6854
|
+
name: string | null;
|
6855
|
+
id: string;
|
6856
|
+
icon: string;
|
6857
|
+
address: string;
|
6858
|
+
chainId: number;
|
6859
|
+
decimals: number;
|
6860
|
+
verified: boolean;
|
6861
|
+
isTest: boolean;
|
6862
|
+
isPoint: boolean;
|
6863
|
+
isPreTGE: boolean;
|
6864
|
+
isNative: boolean;
|
6865
|
+
} & {
|
6866
|
+
price?: number | null | undefined;
|
6867
|
+
})[];
|
6868
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
6869
|
+
description: string;
|
6870
|
+
howToSteps: string[];
|
6871
|
+
depositUrl: string | undefined;
|
6872
|
+
explorerAddress: string | undefined;
|
6873
|
+
tags: string[];
|
6694
6874
|
};
|
6695
|
-
|
6696
|
-
|
6697
|
-
|
6698
|
-
|
6875
|
+
};
|
6876
|
+
};
|
6877
|
+
};
|
6878
|
+
};
|
6879
|
+
} & {
|
6880
|
+
opportunities: {
|
6881
|
+
":id": {
|
6882
|
+
override: {
|
6883
|
+
patch: {
|
6884
|
+
body: {
|
6885
|
+
name?: string | undefined;
|
6886
|
+
description?: string | undefined;
|
6887
|
+
action?: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID" | undefined;
|
6888
|
+
howToSteps?: string[] | undefined;
|
6889
|
+
depositUrl?: string | undefined;
|
6890
|
+
explorerAddress?: string | undefined;
|
6891
|
+
};
|
6892
|
+
params: {
|
6893
|
+
id: string;
|
6894
|
+
};
|
6895
|
+
query: unknown;
|
6896
|
+
headers: {
|
6897
|
+
authorization: string;
|
6898
|
+
};
|
6899
|
+
response: {
|
6900
|
+
200: {
|
6901
|
+
status: import("@db/api").$Enums.Status;
|
6902
|
+
type: string;
|
6903
|
+
name: string;
|
6904
|
+
description: string;
|
6905
|
+
id: string;
|
6906
|
+
tags: string[];
|
6907
|
+
identifier: string;
|
6908
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
6909
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
6910
|
+
chainId: number;
|
6911
|
+
howToSteps: string[];
|
6912
|
+
depositUrl: string | null;
|
6913
|
+
explorerAddress: string | null;
|
6914
|
+
mainProtocolId: string | null;
|
6915
|
+
tvl: number;
|
6916
|
+
apr: number;
|
6917
|
+
dailyRewards: number;
|
6918
|
+
lastCampaignCreatedAt: Date;
|
6919
|
+
};
|
6699
6920
|
};
|
6700
6921
|
};
|
6701
6922
|
};
|
@@ -6704,303 +6925,90 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6704
6925
|
} & {
|
6705
6926
|
opportunities: {
|
6706
6927
|
":id": {
|
6707
|
-
|
6708
|
-
|
6709
|
-
body:
|
6928
|
+
override: {
|
6929
|
+
delete: {
|
6930
|
+
body: ("name" | "description" | "action" | "howToSteps" | "depositUrl" | "explorerAddress")[];
|
6710
6931
|
params: {
|
6711
6932
|
id: string;
|
6712
6933
|
};
|
6713
|
-
query:
|
6714
|
-
|
6715
|
-
|
6716
|
-
test?: boolean | undefined;
|
6934
|
+
query: unknown;
|
6935
|
+
headers: {
|
6936
|
+
authorization: string;
|
6717
6937
|
};
|
6718
|
-
headers: unknown;
|
6719
6938
|
response: {
|
6720
6939
|
200: {
|
6721
|
-
|
6940
|
+
Tokens: {
|
6941
|
+
symbol: string;
|
6942
|
+
name: string | null;
|
6943
|
+
id: string;
|
6944
|
+
icon: string;
|
6945
|
+
address: string;
|
6946
|
+
chainId: number;
|
6947
|
+
decimals: number;
|
6948
|
+
displaySymbol: string;
|
6949
|
+
verified: boolean;
|
6950
|
+
isTest: boolean;
|
6951
|
+
isPoint: boolean;
|
6952
|
+
isPreTGE: boolean;
|
6953
|
+
isNative: boolean;
|
6954
|
+
price: number | null;
|
6955
|
+
}[];
|
6956
|
+
Protocols: {
|
6722
6957
|
url: string;
|
6723
6958
|
name: string;
|
6724
6959
|
description: string;
|
6725
6960
|
id: string;
|
6726
6961
|
tags: string[];
|
6727
6962
|
icon: string;
|
6728
|
-
}
|
6729
|
-
|
6730
|
-
depositUrl?: string | undefined;
|
6731
|
-
explorerAddress?: string | undefined;
|
6732
|
-
aprRecord?: {
|
6733
|
-
timestamp: string | bigint;
|
6734
|
-
cumulated: number;
|
6735
|
-
breakdowns: {
|
6736
|
-
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
6737
|
-
identifier: string;
|
6738
|
-
value: number;
|
6739
|
-
}[];
|
6740
|
-
} | undefined;
|
6741
|
-
tvlRecord?: {
|
6742
|
-
total: number;
|
6743
|
-
timestamp: string | bigint;
|
6744
|
-
breakdowns: {
|
6745
|
-
type: "TOKEN" | "PROTOCOL";
|
6746
|
-
identifier: string;
|
6747
|
-
value: number;
|
6748
|
-
}[];
|
6749
|
-
} | undefined;
|
6750
|
-
rewardsRecord?: {
|
6751
|
-
total: number;
|
6752
|
-
id: string;
|
6753
|
-
timestamp: string | bigint;
|
6754
|
-
breakdowns: {
|
6755
|
-
token: {
|
6756
|
-
price?: number | null | undefined;
|
6757
|
-
symbol: string;
|
6758
|
-
name: string | null;
|
6759
|
-
id: string;
|
6760
|
-
icon: string;
|
6761
|
-
address: string;
|
6762
|
-
chainId: number;
|
6763
|
-
decimals: number;
|
6764
|
-
verified: boolean;
|
6765
|
-
isTest: boolean;
|
6766
|
-
isPoint: boolean;
|
6767
|
-
isPreTGE: boolean;
|
6768
|
-
};
|
6769
|
-
id: string;
|
6770
|
-
value: number;
|
6771
|
-
campaignId: string;
|
6772
|
-
amount: string | bigint;
|
6773
|
-
dailyRewardsRecordId: string;
|
6774
|
-
}[];
|
6775
|
-
} | undefined;
|
6776
|
-
status: string;
|
6963
|
+
}[];
|
6964
|
+
status: import("@db/api").$Enums.Status;
|
6777
6965
|
type: string;
|
6778
6966
|
name: string;
|
6779
|
-
tokens: {
|
6780
|
-
price?: number | null | undefined;
|
6781
|
-
symbol: string;
|
6782
|
-
name: string | null;
|
6783
|
-
id: string;
|
6784
|
-
icon: string;
|
6785
|
-
address: string;
|
6786
|
-
chainId: number;
|
6787
|
-
decimals: number;
|
6788
|
-
verified: boolean;
|
6789
|
-
isTest: boolean;
|
6790
|
-
isPoint: boolean;
|
6791
|
-
isPreTGE: boolean;
|
6792
|
-
}[];
|
6793
6967
|
description: string;
|
6794
6968
|
id: string;
|
6795
6969
|
tags: string[];
|
6796
6970
|
identifier: string;
|
6797
|
-
|
6798
|
-
|
6799
|
-
id: number;
|
6800
|
-
icon: string;
|
6801
|
-
};
|
6802
|
-
action: string;
|
6971
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
6972
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
6803
6973
|
chainId: number;
|
6804
6974
|
howToSteps: string[];
|
6975
|
+
depositUrl: string | null;
|
6976
|
+
explorerAddress: string | null;
|
6977
|
+
mainProtocolId: string | null;
|
6805
6978
|
tvl: number;
|
6806
6979
|
apr: number;
|
6807
6980
|
dailyRewards: number;
|
6808
|
-
lastCampaignCreatedAt:
|
6809
|
-
|
6810
|
-
|
6811
|
-
|
6812
|
-
|
6813
|
-
|
6814
|
-
|
6815
|
-
|
6816
|
-
|
6817
|
-
|
6818
|
-
|
6819
|
-
|
6820
|
-
|
6821
|
-
|
6822
|
-
|
6823
|
-
|
6824
|
-
|
6825
|
-
|
6826
|
-
|
6827
|
-
|
6828
|
-
|
6829
|
-
|
6830
|
-
|
6831
|
-
|
6832
|
-
|
6833
|
-
|
6834
|
-
|
6835
|
-
|
6836
|
-
|
6837
|
-
|
6838
|
-
|
6839
|
-
};
|
6840
|
-
computeChainId: number;
|
6841
|
-
distributionChainId: number;
|
6842
|
-
campaignId: string;
|
6843
|
-
rewardTokenId: string;
|
6844
|
-
amount: string;
|
6845
|
-
opportunityId: string;
|
6846
|
-
startTimestamp: string | number;
|
6847
|
-
endTimestamp: string | number;
|
6848
|
-
creatorAddress: string;
|
6849
|
-
createdAt: string;
|
6850
|
-
rewardToken: {
|
6851
|
-
price?: number | null | undefined;
|
6852
|
-
symbol: string;
|
6853
|
-
name: string | null;
|
6854
|
-
id: string;
|
6855
|
-
icon: string;
|
6856
|
-
address: string;
|
6857
|
-
chainId: number;
|
6858
|
-
decimals: number;
|
6859
|
-
verified: boolean;
|
6860
|
-
isTest: boolean;
|
6861
|
-
isPoint: boolean;
|
6862
|
-
isPreTGE: boolean;
|
6863
|
-
};
|
6864
|
-
}[];
|
6865
|
-
};
|
6866
|
-
readonly 404: {
|
6867
|
-
message: string;
|
6868
|
-
name: string;
|
6869
|
-
};
|
6870
|
-
readonly 500: {
|
6871
|
-
info: string;
|
6872
|
-
code: string;
|
6873
|
-
httpCode: number;
|
6874
|
-
};
|
6875
|
-
};
|
6876
|
-
};
|
6877
|
-
};
|
6878
|
-
};
|
6879
|
-
};
|
6880
|
-
} & {
|
6881
|
-
opportunities: {
|
6882
|
-
aggregate: {
|
6883
|
-
":field": {
|
6884
|
-
get: {
|
6885
|
-
body: unknown;
|
6886
|
-
params: {
|
6887
|
-
field: never;
|
6888
|
-
};
|
6889
|
-
query: {
|
6890
|
-
status?: string | undefined;
|
6891
|
-
search?: string | undefined;
|
6892
|
-
sort?: string | undefined;
|
6893
|
-
type?: string | undefined;
|
6894
|
-
name?: string | undefined;
|
6895
|
-
tokens?: string | undefined;
|
6896
|
-
items?: number | undefined;
|
6897
|
-
tags?: string | undefined;
|
6898
|
-
identifier?: string | undefined;
|
6899
|
-
page?: number | undefined;
|
6900
|
-
action?: string | undefined;
|
6901
|
-
campaignId?: string | undefined;
|
6902
|
-
creatorAddress?: string | undefined;
|
6903
|
-
chainId?: string | undefined;
|
6904
|
-
mainProtocolId?: string | undefined;
|
6905
|
-
campaigns?: boolean | undefined;
|
6906
|
-
point?: boolean | undefined;
|
6907
|
-
rewardTokenSymbol?: string | undefined;
|
6908
|
-
order?: string | undefined;
|
6909
|
-
test?: boolean | undefined;
|
6910
|
-
minimumTvl?: number | undefined;
|
6911
|
-
};
|
6912
|
-
headers: unknown;
|
6913
|
-
response: {
|
6914
|
-
200: {
|
6915
|
-
sum: string;
|
6916
|
-
};
|
6917
|
-
};
|
6918
|
-
};
|
6919
|
-
};
|
6920
|
-
};
|
6921
|
-
};
|
6922
|
-
} & {
|
6923
|
-
opportunities: {
|
6924
|
-
aggregate: {
|
6925
|
-
max: {
|
6926
|
-
":field": {
|
6927
|
-
get: {
|
6928
|
-
body: unknown;
|
6929
|
-
params: {
|
6930
|
-
field: never;
|
6931
|
-
};
|
6932
|
-
query: {
|
6933
|
-
status?: string | undefined;
|
6934
|
-
search?: string | undefined;
|
6935
|
-
sort?: string | undefined;
|
6936
|
-
type?: string | undefined;
|
6937
|
-
name?: string | undefined;
|
6938
|
-
tokens?: string | undefined;
|
6939
|
-
items?: number | undefined;
|
6940
|
-
tags?: string | undefined;
|
6941
|
-
identifier?: string | undefined;
|
6942
|
-
page?: number | undefined;
|
6943
|
-
action?: string | undefined;
|
6944
|
-
campaignId?: string | undefined;
|
6945
|
-
creatorAddress?: string | undefined;
|
6946
|
-
chainId?: string | undefined;
|
6947
|
-
mainProtocolId?: string | undefined;
|
6948
|
-
campaigns?: boolean | undefined;
|
6949
|
-
point?: boolean | undefined;
|
6950
|
-
rewardTokenSymbol?: string | undefined;
|
6951
|
-
order?: string | undefined;
|
6952
|
-
test?: boolean | undefined;
|
6953
|
-
minimumTvl?: number | undefined;
|
6954
|
-
};
|
6955
|
-
headers: unknown;
|
6956
|
-
response: {
|
6957
|
-
200: {
|
6958
|
-
max: string;
|
6959
|
-
};
|
6960
|
-
};
|
6961
|
-
};
|
6962
|
-
};
|
6963
|
-
};
|
6964
|
-
};
|
6965
|
-
};
|
6966
|
-
} & {
|
6967
|
-
opportunities: {
|
6968
|
-
aggregate: {
|
6969
|
-
min: {
|
6970
|
-
":field": {
|
6971
|
-
get: {
|
6972
|
-
body: unknown;
|
6973
|
-
params: {
|
6974
|
-
field: never;
|
6975
|
-
};
|
6976
|
-
query: {
|
6977
|
-
status?: string | undefined;
|
6978
|
-
search?: string | undefined;
|
6979
|
-
sort?: string | undefined;
|
6980
|
-
type?: string | undefined;
|
6981
|
-
name?: string | undefined;
|
6982
|
-
tokens?: string | undefined;
|
6983
|
-
items?: number | undefined;
|
6984
|
-
tags?: string | undefined;
|
6985
|
-
identifier?: string | undefined;
|
6986
|
-
page?: number | undefined;
|
6987
|
-
action?: string | undefined;
|
6988
|
-
campaignId?: string | undefined;
|
6989
|
-
creatorAddress?: string | undefined;
|
6990
|
-
chainId?: string | undefined;
|
6991
|
-
mainProtocolId?: string | undefined;
|
6992
|
-
campaigns?: boolean | undefined;
|
6993
|
-
point?: boolean | undefined;
|
6994
|
-
rewardTokenSymbol?: string | undefined;
|
6995
|
-
order?: string | undefined;
|
6996
|
-
test?: boolean | undefined;
|
6997
|
-
minimumTvl?: number | undefined;
|
6998
|
-
};
|
6999
|
-
headers: unknown;
|
7000
|
-
response: {
|
7001
|
-
200: {
|
7002
|
-
min: string;
|
7003
|
-
};
|
6981
|
+
lastCampaignCreatedAt: Date;
|
6982
|
+
} | {
|
6983
|
+
id: string;
|
6984
|
+
chainId: number;
|
6985
|
+
type: string;
|
6986
|
+
identifier: string;
|
6987
|
+
name: string;
|
6988
|
+
status: "PAST" | "LIVE" | "SOON";
|
6989
|
+
action: any;
|
6990
|
+
tokens: ({
|
6991
|
+
symbol: string;
|
6992
|
+
name: string | null;
|
6993
|
+
id: string;
|
6994
|
+
icon: string;
|
6995
|
+
address: string;
|
6996
|
+
chainId: number;
|
6997
|
+
decimals: number;
|
6998
|
+
verified: boolean;
|
6999
|
+
isTest: boolean;
|
7000
|
+
isPoint: boolean;
|
7001
|
+
isPreTGE: boolean;
|
7002
|
+
isNative: boolean;
|
7003
|
+
} & {
|
7004
|
+
price?: number | null | undefined;
|
7005
|
+
})[];
|
7006
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
7007
|
+
description: string;
|
7008
|
+
howToSteps: string[];
|
7009
|
+
depositUrl: string | undefined;
|
7010
|
+
explorerAddress: string | undefined;
|
7011
|
+
tags: string[];
|
7004
7012
|
};
|
7005
7013
|
};
|
7006
7014
|
};
|
@@ -7254,6 +7262,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7254
7262
|
query: {
|
7255
7263
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
7256
7264
|
type?: string | undefined;
|
7265
|
+
id?: string | undefined;
|
7257
7266
|
items?: number | undefined;
|
7258
7267
|
subType?: number | undefined;
|
7259
7268
|
page?: number | undefined;
|
@@ -7481,7 +7490,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7481
7490
|
timestamp: bigint;
|
7482
7491
|
walletCount: number;
|
7483
7492
|
}[];
|
7484
|
-
tvlInflowPerDollar:
|
7493
|
+
tvlInflowPerDollar: number;
|
7485
7494
|
};
|
7486
7495
|
};
|
7487
7496
|
};
|
@@ -7575,6 +7584,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7575
7584
|
query: {
|
7576
7585
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
7577
7586
|
type?: string | undefined;
|
7587
|
+
id?: string | undefined;
|
7578
7588
|
items?: number | undefined;
|
7579
7589
|
subType?: number | undefined;
|
7580
7590
|
page?: number | undefined;
|
@@ -7692,6 +7702,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7692
7702
|
query: {
|
7693
7703
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
7694
7704
|
type?: string | undefined;
|
7705
|
+
id?: string | undefined;
|
7695
7706
|
items?: number | undefined;
|
7696
7707
|
subType?: number | undefined;
|
7697
7708
|
page?: number | undefined;
|
@@ -7731,6 +7742,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7731
7742
|
query: {
|
7732
7743
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
7733
7744
|
type?: string | undefined;
|
7745
|
+
id?: string | undefined;
|
7734
7746
|
items?: number | undefined;
|
7735
7747
|
subType?: number | undefined;
|
7736
7748
|
page?: number | undefined;
|
@@ -7775,6 +7787,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7775
7787
|
query: {
|
7776
7788
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
7777
7789
|
type?: string | undefined;
|
7790
|
+
id?: string | undefined;
|
7778
7791
|
items?: number | undefined;
|
7779
7792
|
subType?: number | undefined;
|
7780
7793
|
page?: number | undefined;
|
@@ -7820,6 +7833,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7820
7833
|
query: {
|
7821
7834
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
7822
7835
|
type?: string | undefined;
|
7836
|
+
id?: string | undefined;
|
7823
7837
|
items?: number | undefined;
|
7824
7838
|
subType?: number | undefined;
|
7825
7839
|
page?: number | undefined;
|
@@ -11208,7 +11222,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11208
11222
|
pastCampaigns: number;
|
11209
11223
|
liveCampaigns: number;
|
11210
11224
|
futureCampaigns: number;
|
11211
|
-
|
11225
|
+
totalTvl: number;
|
11226
|
+
totalWallets: number;
|
11212
11227
|
totalCampaigns: number;
|
11213
11228
|
creatorId: string | null;
|
11214
11229
|
};
|
@@ -11385,7 +11400,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11385
11400
|
timestamp: bigint;
|
11386
11401
|
walletCount: number;
|
11387
11402
|
}[];
|
11388
|
-
tvlInflowPerDollar:
|
11403
|
+
tvlInflowPerDollar: number;
|
11389
11404
|
};
|
11390
11405
|
};
|
11391
11406
|
};
|
@@ -12548,228 +12563,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12548
12563
|
query: {
|
12549
12564
|
user?: string | undefined;
|
12550
12565
|
chainIds?: number | number[] | undefined;
|
12551
|
-
AMMs?: string | string[] | undefined;
|
12552
|
-
onlyLive?: string | undefined;
|
12553
|
-
"AMMs[]"?: string | string[] | undefined;
|
12554
|
-
"AMMs[0]"?: string | undefined;
|
12555
|
-
"chainIds[]"?: number | number[] | undefined;
|
12556
|
-
"chainIds[0]"?: number | undefined;
|
12557
|
-
};
|
12558
|
-
fetch?: RequestInit | undefined;
|
12559
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12560
|
-
[x: string]: any;
|
12561
|
-
200: any;
|
12562
|
-
}>>;
|
12563
|
-
};
|
12564
|
-
};
|
12565
|
-
v4: {
|
12566
|
-
derive: {};
|
12567
|
-
resolve: {};
|
12568
|
-
schema: {};
|
12569
|
-
opportunities: ((params: {
|
12570
|
-
id: string | number;
|
12571
|
-
}) => {
|
12572
|
-
override: {
|
12573
|
-
patch: (body: {
|
12574
|
-
name?: string | undefined;
|
12575
|
-
description?: string | undefined;
|
12576
|
-
action?: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID" | undefined;
|
12577
|
-
howToSteps?: string[] | undefined;
|
12578
|
-
depositUrl?: string | undefined;
|
12579
|
-
explorerAddress?: string | undefined;
|
12580
|
-
}, options: {
|
12581
|
-
headers: {
|
12582
|
-
authorization: string;
|
12583
|
-
};
|
12584
|
-
query?: Record<string, unknown> | undefined;
|
12585
|
-
fetch?: RequestInit | undefined;
|
12586
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12587
|
-
200: {
|
12588
|
-
status: import("@db/api").$Enums.Status;
|
12589
|
-
type: string;
|
12590
|
-
name: string;
|
12591
|
-
description: string;
|
12592
|
-
id: string;
|
12593
|
-
tags: string[];
|
12594
|
-
identifier: string;
|
12595
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
12596
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
12597
|
-
chainId: number;
|
12598
|
-
howToSteps: string[];
|
12599
|
-
depositUrl: string | null;
|
12600
|
-
explorerAddress: string | null;
|
12601
|
-
mainProtocolId: string | null;
|
12602
|
-
tvl: number;
|
12603
|
-
apr: number;
|
12604
|
-
dailyRewards: number;
|
12605
|
-
lastCampaignCreatedAt: Date;
|
12606
|
-
};
|
12607
|
-
}>>;
|
12608
|
-
delete: (body: ("name" | "description" | "action" | "howToSteps" | "depositUrl" | "explorerAddress")[], options: {
|
12609
|
-
headers: {
|
12610
|
-
authorization: string;
|
12611
|
-
};
|
12612
|
-
query?: Record<string, unknown> | undefined;
|
12613
|
-
fetch?: RequestInit | undefined;
|
12614
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12615
|
-
200: {
|
12616
|
-
Tokens: {
|
12617
|
-
symbol: string;
|
12618
|
-
name: string | null;
|
12619
|
-
id: string;
|
12620
|
-
icon: string;
|
12621
|
-
address: string;
|
12622
|
-
chainId: number;
|
12623
|
-
decimals: number;
|
12624
|
-
displaySymbol: string;
|
12625
|
-
verified: boolean;
|
12626
|
-
isTest: boolean;
|
12627
|
-
isPoint: boolean;
|
12628
|
-
isPreTGE: boolean;
|
12629
|
-
isNative: boolean;
|
12630
|
-
price: number | null;
|
12631
|
-
}[];
|
12632
|
-
Protocols: {
|
12633
|
-
url: string;
|
12634
|
-
name: string;
|
12635
|
-
description: string;
|
12636
|
-
id: string;
|
12637
|
-
tags: string[];
|
12638
|
-
icon: string;
|
12639
|
-
}[];
|
12640
|
-
status: import("@db/api").$Enums.Status;
|
12641
|
-
type: string;
|
12642
|
-
name: string;
|
12643
|
-
description: string;
|
12644
|
-
id: string;
|
12645
|
-
tags: string[];
|
12646
|
-
identifier: string;
|
12647
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
12648
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
12649
|
-
chainId: number;
|
12650
|
-
howToSteps: string[];
|
12651
|
-
depositUrl: string | null;
|
12652
|
-
explorerAddress: string | null;
|
12653
|
-
mainProtocolId: string | null;
|
12654
|
-
tvl: number;
|
12655
|
-
apr: number;
|
12656
|
-
dailyRewards: number;
|
12657
|
-
lastCampaignCreatedAt: Date;
|
12658
|
-
} | {
|
12659
|
-
id: string;
|
12660
|
-
chainId: number;
|
12661
|
-
type: string;
|
12662
|
-
identifier: string;
|
12663
|
-
name: string;
|
12664
|
-
status: "PAST" | "LIVE" | "SOON";
|
12665
|
-
action: any;
|
12666
|
-
tokens: ({
|
12667
|
-
symbol: string;
|
12668
|
-
name: string | null;
|
12669
|
-
id: string;
|
12670
|
-
icon: string;
|
12671
|
-
address: string;
|
12672
|
-
chainId: number;
|
12673
|
-
decimals: number;
|
12674
|
-
verified: boolean;
|
12675
|
-
isTest: boolean;
|
12676
|
-
isPoint: boolean;
|
12677
|
-
isPreTGE: boolean;
|
12678
|
-
isNative: boolean;
|
12679
|
-
} & {
|
12680
|
-
price?: number | null | undefined;
|
12681
|
-
})[];
|
12682
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
12683
|
-
description: string;
|
12684
|
-
howToSteps: string[];
|
12685
|
-
depositUrl: string | undefined;
|
12686
|
-
explorerAddress: string | undefined;
|
12687
|
-
tags: string[];
|
12688
|
-
};
|
12689
|
-
}>>;
|
12690
|
-
};
|
12691
|
-
post: (body: unknown, options: {
|
12692
|
-
headers: {
|
12693
|
-
authorization: string;
|
12694
|
-
};
|
12695
|
-
query?: Record<string, unknown> | undefined;
|
12696
|
-
fetch?: RequestInit | undefined;
|
12697
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12698
|
-
200: {
|
12699
|
-
Tokens: {
|
12700
|
-
symbol: string;
|
12701
|
-
name: string | null;
|
12702
|
-
id: string;
|
12703
|
-
icon: string;
|
12704
|
-
address: string;
|
12705
|
-
chainId: number;
|
12706
|
-
decimals: number;
|
12707
|
-
displaySymbol: string;
|
12708
|
-
verified: boolean;
|
12709
|
-
isTest: boolean;
|
12710
|
-
isPoint: boolean;
|
12711
|
-
isPreTGE: boolean;
|
12712
|
-
isNative: boolean;
|
12713
|
-
price: number | null;
|
12714
|
-
}[];
|
12715
|
-
Protocols: {
|
12716
|
-
url: string;
|
12717
|
-
name: string;
|
12718
|
-
description: string;
|
12719
|
-
id: string;
|
12720
|
-
tags: string[];
|
12721
|
-
icon: string;
|
12722
|
-
}[];
|
12723
|
-
status: import("@db/api").$Enums.Status;
|
12724
|
-
type: string;
|
12725
|
-
name: string;
|
12726
|
-
description: string;
|
12727
|
-
id: string;
|
12728
|
-
tags: string[];
|
12729
|
-
identifier: string;
|
12730
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
12731
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
12732
|
-
chainId: number;
|
12733
|
-
howToSteps: string[];
|
12734
|
-
depositUrl: string | null;
|
12735
|
-
explorerAddress: string | null;
|
12736
|
-
mainProtocolId: string | null;
|
12737
|
-
tvl: number;
|
12738
|
-
apr: number;
|
12739
|
-
dailyRewards: number;
|
12740
|
-
lastCampaignCreatedAt: Date;
|
12741
|
-
} | {
|
12742
|
-
id: string;
|
12743
|
-
chainId: number;
|
12744
|
-
type: string;
|
12745
|
-
identifier: string;
|
12746
|
-
name: string;
|
12747
|
-
status: "PAST" | "LIVE" | "SOON";
|
12748
|
-
action: any;
|
12749
|
-
tokens: ({
|
12750
|
-
symbol: string;
|
12751
|
-
name: string | null;
|
12752
|
-
id: string;
|
12753
|
-
icon: string;
|
12754
|
-
address: string;
|
12755
|
-
chainId: number;
|
12756
|
-
decimals: number;
|
12757
|
-
verified: boolean;
|
12758
|
-
isTest: boolean;
|
12759
|
-
isPoint: boolean;
|
12760
|
-
isPreTGE: boolean;
|
12761
|
-
isNative: boolean;
|
12762
|
-
} & {
|
12763
|
-
price?: number | null | undefined;
|
12764
|
-
})[];
|
12765
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
12766
|
-
description: string;
|
12767
|
-
howToSteps: string[];
|
12768
|
-
depositUrl: string | undefined;
|
12769
|
-
explorerAddress: string | undefined;
|
12770
|
-
tags: string[];
|
12566
|
+
AMMs?: string | string[] | undefined;
|
12567
|
+
onlyLive?: string | undefined;
|
12568
|
+
"AMMs[]"?: string | string[] | undefined;
|
12569
|
+
"AMMs[0]"?: string | undefined;
|
12570
|
+
"chainIds[]"?: number | number[] | undefined;
|
12571
|
+
"chainIds[0]"?: number | undefined;
|
12771
12572
|
};
|
12573
|
+
fetch?: RequestInit | undefined;
|
12574
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12575
|
+
[x: string]: any;
|
12576
|
+
200: any;
|
12772
12577
|
}>>;
|
12578
|
+
};
|
12579
|
+
};
|
12580
|
+
v4: {
|
12581
|
+
derive: {};
|
12582
|
+
resolve: {};
|
12583
|
+
schema: {};
|
12584
|
+
opportunities: ((params: {
|
12585
|
+
id: string | number;
|
12586
|
+
}) => {
|
12773
12587
|
get: (options: {
|
12774
12588
|
headers?: Record<string, unknown> | undefined;
|
12775
12589
|
query: {
|
@@ -13046,32 +12860,130 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13046
12860
|
};
|
13047
12861
|
}>>;
|
13048
12862
|
};
|
13049
|
-
|
13050
|
-
|
13051
|
-
|
13052
|
-
|
13053
|
-
|
13054
|
-
|
13055
|
-
|
13056
|
-
|
13057
|
-
|
13058
|
-
|
13059
|
-
|
13060
|
-
|
13061
|
-
|
13062
|
-
tokens: {
|
12863
|
+
post: (body: unknown, options: {
|
12864
|
+
headers: {
|
12865
|
+
authorization: string;
|
12866
|
+
};
|
12867
|
+
query?: Record<string, unknown> | undefined;
|
12868
|
+
fetch?: RequestInit | undefined;
|
12869
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12870
|
+
200: {
|
12871
|
+
Tokens: {
|
12872
|
+
symbol: string;
|
12873
|
+
name: string | null;
|
12874
|
+
id: string;
|
12875
|
+
icon: string;
|
13063
12876
|
address: string;
|
13064
12877
|
chainId: number;
|
12878
|
+
decimals: number;
|
12879
|
+
displaySymbol: string;
|
12880
|
+
verified: boolean;
|
12881
|
+
isTest: boolean;
|
12882
|
+
isPoint: boolean;
|
12883
|
+
isPreTGE: boolean;
|
12884
|
+
isNative: boolean;
|
12885
|
+
price: number | null;
|
12886
|
+
}[];
|
12887
|
+
Protocols: {
|
12888
|
+
url: string;
|
12889
|
+
name: string;
|
12890
|
+
description: string;
|
12891
|
+
id: string;
|
12892
|
+
tags: string[];
|
12893
|
+
icon: string;
|
13065
12894
|
}[];
|
12895
|
+
status: import("@db/api").$Enums.Status;
|
12896
|
+
type: string;
|
12897
|
+
name: string;
|
12898
|
+
description: string;
|
12899
|
+
id: string;
|
12900
|
+
tags: string[];
|
13066
12901
|
identifier: string;
|
13067
|
-
action: "
|
12902
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
12903
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
12904
|
+
chainId: number;
|
12905
|
+
howToSteps: string[];
|
12906
|
+
depositUrl: string | null;
|
12907
|
+
explorerAddress: string | null;
|
12908
|
+
mainProtocolId: string | null;
|
12909
|
+
tvl: number;
|
12910
|
+
apr: number;
|
12911
|
+
dailyRewards: number;
|
12912
|
+
lastCampaignCreatedAt: Date;
|
12913
|
+
} | {
|
12914
|
+
id: string;
|
13068
12915
|
chainId: number;
|
12916
|
+
type: string;
|
12917
|
+
identifier: string;
|
12918
|
+
name: string;
|
12919
|
+
status: "PAST" | "LIVE" | "SOON";
|
12920
|
+
action: any;
|
12921
|
+
tokens: ({
|
12922
|
+
symbol: string;
|
12923
|
+
name: string | null;
|
12924
|
+
id: string;
|
12925
|
+
icon: string;
|
12926
|
+
address: string;
|
12927
|
+
chainId: number;
|
12928
|
+
decimals: number;
|
12929
|
+
verified: boolean;
|
12930
|
+
isTest: boolean;
|
12931
|
+
isPoint: boolean;
|
12932
|
+
isPreTGE: boolean;
|
12933
|
+
isNative: boolean;
|
12934
|
+
} & {
|
12935
|
+
price?: number | null | undefined;
|
12936
|
+
})[];
|
12937
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
12938
|
+
description: string;
|
12939
|
+
howToSteps: string[];
|
12940
|
+
depositUrl: string | undefined;
|
12941
|
+
explorerAddress: string | undefined;
|
12942
|
+
tags: string[];
|
12943
|
+
};
|
12944
|
+
}>>;
|
12945
|
+
override: {
|
12946
|
+
patch: (body: {
|
12947
|
+
name?: string | undefined;
|
12948
|
+
description?: string | undefined;
|
12949
|
+
action?: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID" | undefined;
|
12950
|
+
howToSteps?: string[] | undefined;
|
12951
|
+
depositUrl?: string | undefined;
|
12952
|
+
explorerAddress?: string | undefined;
|
13069
12953
|
}, options: {
|
13070
12954
|
headers: {
|
13071
12955
|
authorization: string;
|
13072
12956
|
};
|
13073
12957
|
query?: Record<string, unknown> | undefined;
|
13074
12958
|
fetch?: RequestInit | undefined;
|
12959
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12960
|
+
200: {
|
12961
|
+
status: import("@db/api").$Enums.Status;
|
12962
|
+
type: string;
|
12963
|
+
name: string;
|
12964
|
+
description: string;
|
12965
|
+
id: string;
|
12966
|
+
tags: string[];
|
12967
|
+
identifier: string;
|
12968
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
12969
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
12970
|
+
chainId: number;
|
12971
|
+
howToSteps: string[];
|
12972
|
+
depositUrl: string | null;
|
12973
|
+
explorerAddress: string | null;
|
12974
|
+
mainProtocolId: string | null;
|
12975
|
+
tvl: number;
|
12976
|
+
apr: number;
|
12977
|
+
dailyRewards: number;
|
12978
|
+
lastCampaignCreatedAt: Date;
|
12979
|
+
};
|
12980
|
+
}>>;
|
12981
|
+
delete: (body: ("name" | "description" | "action" | "howToSteps" | "depositUrl" | "explorerAddress")[], options: {
|
12982
|
+
headers: {
|
12983
|
+
authorization: string;
|
12984
|
+
};
|
12985
|
+
query?: Record<string, unknown> | undefined;
|
12986
|
+
fetch?: RequestInit | undefined;
|
13075
12987
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
13076
12988
|
200: {
|
13077
12989
|
Tokens: {
|
@@ -13116,8 +13028,41 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13116
13028
|
apr: number;
|
13117
13029
|
dailyRewards: number;
|
13118
13030
|
lastCampaignCreatedAt: Date;
|
13031
|
+
} | {
|
13032
|
+
id: string;
|
13033
|
+
chainId: number;
|
13034
|
+
type: string;
|
13035
|
+
identifier: string;
|
13036
|
+
name: string;
|
13037
|
+
status: "PAST" | "LIVE" | "SOON";
|
13038
|
+
action: any;
|
13039
|
+
tokens: ({
|
13040
|
+
symbol: string;
|
13041
|
+
name: string | null;
|
13042
|
+
id: string;
|
13043
|
+
icon: string;
|
13044
|
+
address: string;
|
13045
|
+
chainId: number;
|
13046
|
+
decimals: number;
|
13047
|
+
verified: boolean;
|
13048
|
+
isTest: boolean;
|
13049
|
+
isPoint: boolean;
|
13050
|
+
isPreTGE: boolean;
|
13051
|
+
isNative: boolean;
|
13052
|
+
} & {
|
13053
|
+
price?: number | null | undefined;
|
13054
|
+
})[];
|
13055
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "punchswap" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
13056
|
+
description: string;
|
13057
|
+
howToSteps: string[];
|
13058
|
+
depositUrl: string | undefined;
|
13059
|
+
explorerAddress: string | undefined;
|
13060
|
+
tags: string[];
|
13119
13061
|
};
|
13120
13062
|
}>>;
|
13063
|
+
};
|
13064
|
+
}) & {
|
13065
|
+
index: {
|
13121
13066
|
get: (options: {
|
13122
13067
|
headers?: Record<string, unknown> | undefined;
|
13123
13068
|
query: {
|
@@ -13325,6 +13270,76 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13325
13270
|
dailyRewards: number;
|
13326
13271
|
}[];
|
13327
13272
|
}>>;
|
13273
|
+
post: (body: {
|
13274
|
+
name?: string | undefined;
|
13275
|
+
description?: string | undefined;
|
13276
|
+
tags?: string[] | undefined;
|
13277
|
+
howToSteps?: string[] | undefined;
|
13278
|
+
depositUrl?: string | undefined;
|
13279
|
+
explorerAddress?: string | undefined;
|
13280
|
+
protocols?: string[] | undefined;
|
13281
|
+
mainProtocol?: string | undefined;
|
13282
|
+
status: "NONE" | "PAST" | "LIVE" | "SOON";
|
13283
|
+
type: string;
|
13284
|
+
tokens: {
|
13285
|
+
address: string;
|
13286
|
+
chainId: number;
|
13287
|
+
}[];
|
13288
|
+
identifier: string;
|
13289
|
+
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
13290
|
+
chainId: number;
|
13291
|
+
}, options: {
|
13292
|
+
headers: {
|
13293
|
+
authorization: string;
|
13294
|
+
};
|
13295
|
+
query?: Record<string, unknown> | undefined;
|
13296
|
+
fetch?: RequestInit | undefined;
|
13297
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
13298
|
+
200: {
|
13299
|
+
Tokens: {
|
13300
|
+
symbol: string;
|
13301
|
+
name: string | null;
|
13302
|
+
id: string;
|
13303
|
+
icon: string;
|
13304
|
+
address: string;
|
13305
|
+
chainId: number;
|
13306
|
+
decimals: number;
|
13307
|
+
displaySymbol: string;
|
13308
|
+
verified: boolean;
|
13309
|
+
isTest: boolean;
|
13310
|
+
isPoint: boolean;
|
13311
|
+
isPreTGE: boolean;
|
13312
|
+
isNative: boolean;
|
13313
|
+
price: number | null;
|
13314
|
+
}[];
|
13315
|
+
Protocols: {
|
13316
|
+
url: string;
|
13317
|
+
name: string;
|
13318
|
+
description: string;
|
13319
|
+
id: string;
|
13320
|
+
tags: string[];
|
13321
|
+
icon: string;
|
13322
|
+
}[];
|
13323
|
+
status: import("@db/api").$Enums.Status;
|
13324
|
+
type: string;
|
13325
|
+
name: string;
|
13326
|
+
description: string;
|
13327
|
+
id: string;
|
13328
|
+
tags: string[];
|
13329
|
+
identifier: string;
|
13330
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
13331
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
13332
|
+
chainId: number;
|
13333
|
+
howToSteps: string[];
|
13334
|
+
depositUrl: string | null;
|
13335
|
+
explorerAddress: string | null;
|
13336
|
+
mainProtocolId: string | null;
|
13337
|
+
tvl: number;
|
13338
|
+
apr: number;
|
13339
|
+
dailyRewards: number;
|
13340
|
+
lastCampaignCreatedAt: Date;
|
13341
|
+
};
|
13342
|
+
}>>;
|
13328
13343
|
};
|
13329
13344
|
count: {
|
13330
13345
|
get: (options: {
|
@@ -13438,6 +13453,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13438
13453
|
query: {
|
13439
13454
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
13440
13455
|
type?: string | undefined;
|
13456
|
+
id?: string | undefined;
|
13441
13457
|
items?: number | undefined;
|
13442
13458
|
subType?: number | undefined;
|
13443
13459
|
page?: number | undefined;
|
@@ -13838,7 +13854,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13838
13854
|
timestamp: bigint;
|
13839
13855
|
walletCount: number;
|
13840
13856
|
}[];
|
13841
|
-
tvlInflowPerDollar:
|
13857
|
+
tvlInflowPerDollar: number;
|
13842
13858
|
};
|
13843
13859
|
}>>;
|
13844
13860
|
};
|
@@ -14065,6 +14081,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14065
14081
|
query: {
|
14066
14082
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
14067
14083
|
type?: string | undefined;
|
14084
|
+
id?: string | undefined;
|
14068
14085
|
items?: number | undefined;
|
14069
14086
|
subType?: number | undefined;
|
14070
14087
|
page?: number | undefined;
|
@@ -14237,6 +14254,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14237
14254
|
query: {
|
14238
14255
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
14239
14256
|
type?: string | undefined;
|
14257
|
+
id?: string | undefined;
|
14240
14258
|
items?: number | undefined;
|
14241
14259
|
subType?: number | undefined;
|
14242
14260
|
page?: number | undefined;
|
@@ -14272,6 +14290,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14272
14290
|
query: {
|
14273
14291
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
14274
14292
|
type?: string | undefined;
|
14293
|
+
id?: string | undefined;
|
14275
14294
|
items?: number | undefined;
|
14276
14295
|
subType?: number | undefined;
|
14277
14296
|
page?: number | undefined;
|
@@ -14310,6 +14329,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14310
14329
|
query: {
|
14311
14330
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
14312
14331
|
type?: string | undefined;
|
14332
|
+
id?: string | undefined;
|
14313
14333
|
items?: number | undefined;
|
14314
14334
|
subType?: number | undefined;
|
14315
14335
|
page?: number | undefined;
|
@@ -14658,6 +14678,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14658
14678
|
query: {
|
14659
14679
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
14660
14680
|
type?: string | undefined;
|
14681
|
+
id?: string | undefined;
|
14661
14682
|
items?: number | undefined;
|
14662
14683
|
subType?: number | undefined;
|
14663
14684
|
page?: number | undefined;
|
@@ -17020,7 +17041,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17020
17041
|
pastCampaigns: number;
|
17021
17042
|
liveCampaigns: number;
|
17022
17043
|
futureCampaigns: number;
|
17023
|
-
|
17044
|
+
totalTvl: number;
|
17045
|
+
totalWallets: number;
|
17024
17046
|
totalCampaigns: number;
|
17025
17047
|
creatorId: string | null;
|
17026
17048
|
};
|
@@ -17224,7 +17246,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17224
17246
|
timestamp: bigint;
|
17225
17247
|
walletCount: number;
|
17226
17248
|
}[];
|
17227
|
-
tvlInflowPerDollar:
|
17249
|
+
tvlInflowPerDollar: number;
|
17228
17250
|
};
|
17229
17251
|
}>>;
|
17230
17252
|
}) & {};
|