@merkl/api 0.10.206 → 0.10.208
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/edge.js +5 -4
- package/dist/database/api/.generated/index-browser.js +2 -1
- package/dist/database/api/.generated/index.d.ts +2 -1
- package/dist/database/api/.generated/index.js +5 -4
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +1 -0
- package/dist/database/api/.generated/wasm.js +2 -1
- package/dist/src/eden/index.d.ts +8672 -2
- package/dist/src/index.d.ts +3358 -1
- package/dist/src/index.js +4 -4
- package/dist/src/modules/v4/campaign/campaign.model.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -0
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +31 -1
- package/dist/src/modules/v4/protocol/protocol.controller.js +8 -1
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +11 -0
- package/dist/src/modules/v4/protocol/protocol.model.js +8 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +2 -2
- package/dist/src/modules/v4/protocol/protocol.repository.js +12 -3
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +9 -1
- package/dist/src/modules/v4/protocol/protocol.service.js +3 -0
- package/dist/src/modules/v4/router.d.ts +33 -3
- package/dist/src/routes/v2/merkl.d.ts +4 -4
- package/dist/src/routes/v2/router.d.ts +4 -4
- package/dist/src/routes/v3/blacklist.d.ts +38 -2
- package/dist/src/routes/v3/campaigns.d.ts +41 -2
- package/dist/src/routes/v3/campaignsInfo.d.ts +40 -2
- package/dist/src/routes/v3/claims.d.ts +1 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +39 -2
- package/dist/src/routes/v3/opportunity.d.ts +42 -2
- package/dist/src/routes/v3/positions.d.ts +38 -2
- package/dist/src/routes/v3/rewards.d.ts +66 -2
- package/dist/src/routes/v3/router.d.ts +773 -1
- package/dist/src/routes/v3/updates.d.ts +42 -2
- package/dist/src/routes/v3/userRewards.d.ts +56 -2
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/utils/rateLimit.d.ts +0 -63
- package/dist/src/utils/rateLimit.js +0 -13
@@ -1 +1,773 @@
|
|
1
|
-
|
1
|
+
import Elysia from "elysia";
|
2
|
+
export declare const v3: Elysia<"/v3", false, {
|
3
|
+
decorator: {};
|
4
|
+
store: {};
|
5
|
+
derive: {};
|
6
|
+
resolve: {};
|
7
|
+
}, {
|
8
|
+
type: {};
|
9
|
+
error: {};
|
10
|
+
}, {
|
11
|
+
schema: {};
|
12
|
+
macro: {};
|
13
|
+
macroFn: {};
|
14
|
+
}, {
|
15
|
+
v3: {
|
16
|
+
app: {
|
17
|
+
get: {
|
18
|
+
body: unknown;
|
19
|
+
params: {};
|
20
|
+
query: {};
|
21
|
+
headers: unknown;
|
22
|
+
response: {
|
23
|
+
[x: string]: any;
|
24
|
+
200: any;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
};
|
28
|
+
};
|
29
|
+
} & {
|
30
|
+
v3: {
|
31
|
+
blacklist: {
|
32
|
+
get: {
|
33
|
+
body: unknown;
|
34
|
+
params: {};
|
35
|
+
query: {
|
36
|
+
user: string;
|
37
|
+
};
|
38
|
+
headers: unknown;
|
39
|
+
response: {
|
40
|
+
200: {
|
41
|
+
isBlacklisted: boolean;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
};
|
45
|
+
};
|
46
|
+
};
|
47
|
+
} & {
|
48
|
+
v3: {
|
49
|
+
campaignClaims: {
|
50
|
+
get: {
|
51
|
+
body: unknown;
|
52
|
+
params: {};
|
53
|
+
query: {
|
54
|
+
byReason?: boolean | undefined;
|
55
|
+
chainId: number;
|
56
|
+
campaignId: string;
|
57
|
+
};
|
58
|
+
headers: unknown;
|
59
|
+
response: {
|
60
|
+
200: unknown;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
};
|
64
|
+
};
|
65
|
+
} & {
|
66
|
+
v3: {
|
67
|
+
campaignReport: {
|
68
|
+
get: {
|
69
|
+
body: unknown;
|
70
|
+
params: {};
|
71
|
+
query: {
|
72
|
+
chainId: number;
|
73
|
+
campaignId: string;
|
74
|
+
};
|
75
|
+
headers: unknown;
|
76
|
+
response: {
|
77
|
+
200: import("../../utils/queries/rewardsAmount").RewardsAmountQueryOutput;
|
78
|
+
};
|
79
|
+
};
|
80
|
+
};
|
81
|
+
};
|
82
|
+
} & {
|
83
|
+
v3: {
|
84
|
+
campaigns: {
|
85
|
+
get: {
|
86
|
+
body: unknown;
|
87
|
+
params: {};
|
88
|
+
query: {
|
89
|
+
types?: string | number | string[] | number[] | undefined;
|
90
|
+
creatorTag?: string | undefined;
|
91
|
+
live?: boolean | undefined;
|
92
|
+
chainIds?: string | string[] | undefined;
|
93
|
+
hideTestTokens?: string | undefined;
|
94
|
+
};
|
95
|
+
headers: unknown;
|
96
|
+
response: {
|
97
|
+
[x: string]: any;
|
98
|
+
200: any;
|
99
|
+
};
|
100
|
+
};
|
101
|
+
};
|
102
|
+
};
|
103
|
+
} & {
|
104
|
+
v3: {
|
105
|
+
campaignsForMainParameter: {
|
106
|
+
get: {
|
107
|
+
body: unknown;
|
108
|
+
params: {};
|
109
|
+
query: {
|
110
|
+
chainId: number;
|
111
|
+
mainParameter: string;
|
112
|
+
};
|
113
|
+
headers: unknown;
|
114
|
+
response: {
|
115
|
+
200: import("../../types/returnTypes").CampaignsForMainParameterReturnType;
|
116
|
+
};
|
117
|
+
};
|
118
|
+
};
|
119
|
+
};
|
120
|
+
} & {
|
121
|
+
v3: {
|
122
|
+
campaignInfo: {
|
123
|
+
post: {
|
124
|
+
body: {
|
125
|
+
[x: string]: string[];
|
126
|
+
};
|
127
|
+
params: {};
|
128
|
+
query: unknown;
|
129
|
+
headers: unknown;
|
130
|
+
response: {
|
131
|
+
200: {
|
132
|
+
[x: string]: Record<string, any>;
|
133
|
+
} | {
|
134
|
+
error: string;
|
135
|
+
};
|
136
|
+
};
|
137
|
+
};
|
138
|
+
};
|
139
|
+
};
|
140
|
+
} & {
|
141
|
+
v3: {
|
142
|
+
campaignsRewardsReport: {
|
143
|
+
get: {
|
144
|
+
body: unknown;
|
145
|
+
params: {};
|
146
|
+
query: {
|
147
|
+
from?: number | undefined;
|
148
|
+
to?: number | undefined;
|
149
|
+
chain_campaignIds: never[];
|
150
|
+
};
|
151
|
+
headers: unknown;
|
152
|
+
response: {
|
153
|
+
200: any[];
|
154
|
+
};
|
155
|
+
};
|
156
|
+
};
|
157
|
+
};
|
158
|
+
} & {
|
159
|
+
v3: {
|
160
|
+
campaignUnclaimed: {
|
161
|
+
get: {
|
162
|
+
body: unknown;
|
163
|
+
params: {};
|
164
|
+
query: {
|
165
|
+
chainId: number;
|
166
|
+
campaignIds: string;
|
167
|
+
};
|
168
|
+
headers: unknown;
|
169
|
+
response: {
|
170
|
+
200: {
|
171
|
+
[x: string]: string;
|
172
|
+
};
|
173
|
+
};
|
174
|
+
};
|
175
|
+
};
|
176
|
+
};
|
177
|
+
} & {
|
178
|
+
v3: {
|
179
|
+
claims: {
|
180
|
+
get: {
|
181
|
+
body: unknown;
|
182
|
+
params: {};
|
183
|
+
query: {
|
184
|
+
creatorTag?: string | undefined;
|
185
|
+
chainIds?: string | string[] | undefined;
|
186
|
+
byReason?: boolean | undefined;
|
187
|
+
user: string;
|
188
|
+
};
|
189
|
+
headers: unknown;
|
190
|
+
response: {
|
191
|
+
200: unknown;
|
192
|
+
};
|
193
|
+
};
|
194
|
+
};
|
195
|
+
};
|
196
|
+
} & {
|
197
|
+
v3: {
|
198
|
+
compoundV2: {
|
199
|
+
get: {
|
200
|
+
body: unknown;
|
201
|
+
params: {};
|
202
|
+
query: {};
|
203
|
+
headers: unknown;
|
204
|
+
response: {
|
205
|
+
200: {
|
206
|
+
[x: string]: {
|
207
|
+
address: string;
|
208
|
+
symbolCToken: string;
|
209
|
+
decimalsCToken: number;
|
210
|
+
underlying: string;
|
211
|
+
symbolUnderlying: string;
|
212
|
+
decimalsUnderlying: number;
|
213
|
+
}[];
|
214
|
+
};
|
215
|
+
};
|
216
|
+
};
|
217
|
+
};
|
218
|
+
};
|
219
|
+
} & {
|
220
|
+
v3: {
|
221
|
+
createCampaign: {
|
222
|
+
get: {
|
223
|
+
body: unknown;
|
224
|
+
params: {};
|
225
|
+
query: {
|
226
|
+
chainId: number;
|
227
|
+
user: string;
|
228
|
+
};
|
229
|
+
headers: unknown;
|
230
|
+
response: {
|
231
|
+
200: {
|
232
|
+
feeRebate: number | undefined;
|
233
|
+
message: any;
|
234
|
+
signed: boolean | undefined;
|
235
|
+
validRewardTokens: any;
|
236
|
+
};
|
237
|
+
};
|
238
|
+
};
|
239
|
+
};
|
240
|
+
};
|
241
|
+
} & {
|
242
|
+
v3: {
|
243
|
+
dolomite: {
|
244
|
+
get: {
|
245
|
+
body: unknown;
|
246
|
+
params: {};
|
247
|
+
query: {};
|
248
|
+
headers: unknown;
|
249
|
+
response: {
|
250
|
+
[x: string]: any;
|
251
|
+
200: any;
|
252
|
+
};
|
253
|
+
};
|
254
|
+
};
|
255
|
+
};
|
256
|
+
} & {
|
257
|
+
v3: {
|
258
|
+
euler: {
|
259
|
+
get: {
|
260
|
+
body: unknown;
|
261
|
+
params: {};
|
262
|
+
query: {};
|
263
|
+
headers: unknown;
|
264
|
+
response: {
|
265
|
+
200: import("../../libs/campaigns/utils/getEulerV2Vaults").EulerVaultType[];
|
266
|
+
};
|
267
|
+
};
|
268
|
+
};
|
269
|
+
};
|
270
|
+
} & {
|
271
|
+
v3: {
|
272
|
+
fetch: {
|
273
|
+
get: {
|
274
|
+
body: unknown;
|
275
|
+
params: {};
|
276
|
+
query: {
|
277
|
+
index: number;
|
278
|
+
chainId: number;
|
279
|
+
};
|
280
|
+
headers: unknown;
|
281
|
+
response: {
|
282
|
+
200: string | {
|
283
|
+
message: string;
|
284
|
+
name: string;
|
285
|
+
};
|
286
|
+
};
|
287
|
+
};
|
288
|
+
};
|
289
|
+
};
|
290
|
+
} & {
|
291
|
+
v3: {
|
292
|
+
health: {
|
293
|
+
get: {
|
294
|
+
body: unknown;
|
295
|
+
params: {};
|
296
|
+
query: {};
|
297
|
+
headers: unknown;
|
298
|
+
response: {
|
299
|
+
200: {
|
300
|
+
success: boolean;
|
301
|
+
};
|
302
|
+
};
|
303
|
+
};
|
304
|
+
};
|
305
|
+
};
|
306
|
+
} & {
|
307
|
+
v3: {
|
308
|
+
lostyield: {
|
309
|
+
get: {
|
310
|
+
body: unknown;
|
311
|
+
params: {};
|
312
|
+
query: {
|
313
|
+
user: string;
|
314
|
+
};
|
315
|
+
headers: unknown;
|
316
|
+
response: {
|
317
|
+
[x: string]: any;
|
318
|
+
200: any;
|
319
|
+
};
|
320
|
+
};
|
321
|
+
};
|
322
|
+
};
|
323
|
+
} & {
|
324
|
+
v3: {
|
325
|
+
merkl: {
|
326
|
+
get: {
|
327
|
+
body: unknown;
|
328
|
+
params: {};
|
329
|
+
query: unknown;
|
330
|
+
headers: unknown;
|
331
|
+
response: {
|
332
|
+
[x: string]: any;
|
333
|
+
200: any;
|
334
|
+
};
|
335
|
+
};
|
336
|
+
};
|
337
|
+
};
|
338
|
+
} & {
|
339
|
+
v3: {
|
340
|
+
morphoMarkets: {
|
341
|
+
get: {
|
342
|
+
body: unknown;
|
343
|
+
params: {};
|
344
|
+
query: {
|
345
|
+
chainId: number;
|
346
|
+
repository: string;
|
347
|
+
};
|
348
|
+
headers: unknown;
|
349
|
+
response: {
|
350
|
+
[x: string]: any;
|
351
|
+
200: any;
|
352
|
+
};
|
353
|
+
};
|
354
|
+
};
|
355
|
+
};
|
356
|
+
} & {
|
357
|
+
v3: {
|
358
|
+
morphoVaults: {
|
359
|
+
get: {
|
360
|
+
body: unknown;
|
361
|
+
params: {};
|
362
|
+
query: {
|
363
|
+
chainId: number;
|
364
|
+
repository: string;
|
365
|
+
};
|
366
|
+
headers: unknown;
|
367
|
+
response: {
|
368
|
+
[x: string]: any;
|
369
|
+
200: any;
|
370
|
+
};
|
371
|
+
};
|
372
|
+
};
|
373
|
+
};
|
374
|
+
} & {
|
375
|
+
v3: {
|
376
|
+
multiChainPositions: {
|
377
|
+
get: {
|
378
|
+
body: unknown;
|
379
|
+
params: {};
|
380
|
+
query: {
|
381
|
+
chainIds?: string | string[] | undefined;
|
382
|
+
user: string;
|
383
|
+
creatorTag: string;
|
384
|
+
};
|
385
|
+
headers: unknown;
|
386
|
+
response: {
|
387
|
+
[x: string]: any;
|
388
|
+
200: any;
|
389
|
+
};
|
390
|
+
};
|
391
|
+
};
|
392
|
+
};
|
393
|
+
} & {
|
394
|
+
v3: {
|
395
|
+
opportunity: {
|
396
|
+
get: {
|
397
|
+
body: unknown;
|
398
|
+
params: {};
|
399
|
+
query: {
|
400
|
+
type?: undefined;
|
401
|
+
tag?: string | undefined;
|
402
|
+
chainId?: undefined;
|
403
|
+
mainParameter?: string | undefined;
|
404
|
+
action?: undefined;
|
405
|
+
campaigns?: boolean | undefined;
|
406
|
+
testTokens?: boolean | undefined;
|
407
|
+
};
|
408
|
+
headers: unknown;
|
409
|
+
response: {
|
410
|
+
200: {};
|
411
|
+
};
|
412
|
+
};
|
413
|
+
};
|
414
|
+
};
|
415
|
+
} & {
|
416
|
+
v3: {
|
417
|
+
overview: {
|
418
|
+
get: {
|
419
|
+
body: unknown;
|
420
|
+
params: {};
|
421
|
+
query: {
|
422
|
+
chainId?: undefined;
|
423
|
+
};
|
424
|
+
headers: unknown;
|
425
|
+
response: {
|
426
|
+
200: {
|
427
|
+
disputes: {
|
428
|
+
[chainId: number]: {
|
429
|
+
root: string;
|
430
|
+
endOfDisputePeriod: number;
|
431
|
+
disputeLive: boolean;
|
432
|
+
treeRoot: string;
|
433
|
+
lastTreeRoot: string;
|
434
|
+
};
|
435
|
+
};
|
436
|
+
rewardTokens: {
|
437
|
+
[chainId: number]: {
|
438
|
+
token: string;
|
439
|
+
minimumAmountPerEpoch: number;
|
440
|
+
decimals: number;
|
441
|
+
symbol: string;
|
442
|
+
}[];
|
443
|
+
};
|
444
|
+
};
|
445
|
+
};
|
446
|
+
};
|
447
|
+
};
|
448
|
+
};
|
449
|
+
} & {
|
450
|
+
v3: {
|
451
|
+
parse: {
|
452
|
+
get: {
|
453
|
+
body: unknown;
|
454
|
+
params: {};
|
455
|
+
query: {
|
456
|
+
index?: number | undefined;
|
457
|
+
chainId: number;
|
458
|
+
campaign: any;
|
459
|
+
};
|
460
|
+
headers: unknown;
|
461
|
+
response: {
|
462
|
+
200: string | {
|
463
|
+
message: string;
|
464
|
+
name: string;
|
465
|
+
};
|
466
|
+
};
|
467
|
+
};
|
468
|
+
};
|
469
|
+
};
|
470
|
+
} & {
|
471
|
+
v3: {
|
472
|
+
payload: {
|
473
|
+
get: {
|
474
|
+
body: unknown;
|
475
|
+
params: {};
|
476
|
+
query: {
|
477
|
+
signature?: any;
|
478
|
+
config: string;
|
479
|
+
chainId: number;
|
480
|
+
};
|
481
|
+
headers: unknown;
|
482
|
+
response: {
|
483
|
+
200: {
|
484
|
+
message: any;
|
485
|
+
name: string;
|
486
|
+
args?: undefined;
|
487
|
+
parsedCampaign?: undefined;
|
488
|
+
payload?: undefined;
|
489
|
+
fee?: undefined;
|
490
|
+
} | {
|
491
|
+
args: any;
|
492
|
+
parsedCampaign: any;
|
493
|
+
payload: any;
|
494
|
+
fee: string | undefined;
|
495
|
+
message?: undefined;
|
496
|
+
name?: undefined;
|
497
|
+
};
|
498
|
+
};
|
499
|
+
};
|
500
|
+
};
|
501
|
+
};
|
502
|
+
} & {
|
503
|
+
v3: {
|
504
|
+
poolInfo: {
|
505
|
+
get: {
|
506
|
+
body: unknown;
|
507
|
+
params: {};
|
508
|
+
query: {
|
509
|
+
chainId: number;
|
510
|
+
poolAddress: string;
|
511
|
+
};
|
512
|
+
headers: unknown;
|
513
|
+
response: {
|
514
|
+
[x: string]: any;
|
515
|
+
200: any;
|
516
|
+
};
|
517
|
+
};
|
518
|
+
};
|
519
|
+
};
|
520
|
+
} & {
|
521
|
+
v3: {
|
522
|
+
positions: {
|
523
|
+
get: {
|
524
|
+
body: unknown;
|
525
|
+
params: {};
|
526
|
+
query: {
|
527
|
+
chainId: never;
|
528
|
+
user: string;
|
529
|
+
};
|
530
|
+
headers: unknown;
|
531
|
+
response: {
|
532
|
+
[x: string]: any;
|
533
|
+
200: any;
|
534
|
+
};
|
535
|
+
};
|
536
|
+
};
|
537
|
+
};
|
538
|
+
} & {
|
539
|
+
v3: {
|
540
|
+
radiant: {
|
541
|
+
get: {
|
542
|
+
body: unknown;
|
543
|
+
params: {};
|
544
|
+
query: {
|
545
|
+
chainId: number;
|
546
|
+
poolAddressProvider: string;
|
547
|
+
};
|
548
|
+
headers: unknown;
|
549
|
+
response: {
|
550
|
+
[x: string]: any;
|
551
|
+
200: any;
|
552
|
+
};
|
553
|
+
};
|
554
|
+
};
|
555
|
+
};
|
556
|
+
} & {
|
557
|
+
v3: {
|
558
|
+
recipients: {
|
559
|
+
get: {
|
560
|
+
body: unknown;
|
561
|
+
params: {};
|
562
|
+
query: {
|
563
|
+
chainId: number;
|
564
|
+
campaignId: string;
|
565
|
+
};
|
566
|
+
headers: unknown;
|
567
|
+
response: {
|
568
|
+
200: {
|
569
|
+
recipient: string;
|
570
|
+
reason: string;
|
571
|
+
rewardToken: string;
|
572
|
+
amount: string;
|
573
|
+
}[];
|
574
|
+
};
|
575
|
+
};
|
576
|
+
};
|
577
|
+
};
|
578
|
+
} & {
|
579
|
+
v3: {
|
580
|
+
rewards: {
|
581
|
+
get: {
|
582
|
+
body: unknown;
|
583
|
+
params: {};
|
584
|
+
query: {
|
585
|
+
creatorTag?: string | undefined;
|
586
|
+
chainIds?: string | string[] | undefined;
|
587
|
+
user: string;
|
588
|
+
};
|
589
|
+
headers: unknown;
|
590
|
+
response: {
|
591
|
+
200: {
|
592
|
+
[x: string]: {
|
593
|
+
campaignData: {
|
594
|
+
[x: string]: {
|
595
|
+
[x: string]: {
|
596
|
+
pending?: string | undefined;
|
597
|
+
symbol: string;
|
598
|
+
token: string;
|
599
|
+
mainParameter: string;
|
600
|
+
decimals: number;
|
601
|
+
auxiliaryData1: string;
|
602
|
+
auxiliaryData2: string;
|
603
|
+
unclaimed: string;
|
604
|
+
accumulated: string;
|
605
|
+
};
|
606
|
+
};
|
607
|
+
};
|
608
|
+
tokenData: {
|
609
|
+
[x: string]: {
|
610
|
+
pending?: string | undefined;
|
611
|
+
symbol: string;
|
612
|
+
decimals: number;
|
613
|
+
proof: string[];
|
614
|
+
unclaimed: string;
|
615
|
+
accumulated: string;
|
616
|
+
};
|
617
|
+
};
|
618
|
+
};
|
619
|
+
};
|
620
|
+
};
|
621
|
+
};
|
622
|
+
};
|
623
|
+
};
|
624
|
+
} & {
|
625
|
+
v3: {
|
626
|
+
rewardsReport: {
|
627
|
+
get: {
|
628
|
+
body: unknown;
|
629
|
+
params: {};
|
630
|
+
query: {
|
631
|
+
from?: number | undefined;
|
632
|
+
to?: number | undefined;
|
633
|
+
mainParameter?: string | undefined;
|
634
|
+
chainId: number;
|
635
|
+
campaignId: string;
|
636
|
+
};
|
637
|
+
headers: unknown;
|
638
|
+
response: {
|
639
|
+
200: {
|
640
|
+
recipient: string;
|
641
|
+
reason: string;
|
642
|
+
rewardToken: string;
|
643
|
+
amount: string;
|
644
|
+
}[];
|
645
|
+
};
|
646
|
+
};
|
647
|
+
};
|
648
|
+
};
|
649
|
+
} & {
|
650
|
+
v3: {
|
651
|
+
silo: {
|
652
|
+
get: {
|
653
|
+
body: unknown;
|
654
|
+
params: {};
|
655
|
+
query: {
|
656
|
+
chainId: number;
|
657
|
+
repository: string;
|
658
|
+
};
|
659
|
+
headers: unknown;
|
660
|
+
response: {
|
661
|
+
[x: string]: any;
|
662
|
+
200: any;
|
663
|
+
};
|
664
|
+
};
|
665
|
+
};
|
666
|
+
};
|
667
|
+
} & {
|
668
|
+
v3: {
|
669
|
+
token: {
|
670
|
+
get: {
|
671
|
+
body: unknown;
|
672
|
+
params: {};
|
673
|
+
query: {
|
674
|
+
chainId: number;
|
675
|
+
address: string;
|
676
|
+
};
|
677
|
+
headers: unknown;
|
678
|
+
response: {
|
679
|
+
200: {
|
680
|
+
name: string;
|
681
|
+
symbol: string;
|
682
|
+
decimals: number;
|
683
|
+
};
|
684
|
+
};
|
685
|
+
};
|
686
|
+
};
|
687
|
+
};
|
688
|
+
} & {
|
689
|
+
v3: {
|
690
|
+
tokenUnclaimed: {
|
691
|
+
get: {
|
692
|
+
body: unknown;
|
693
|
+
params: {};
|
694
|
+
query: {
|
695
|
+
token: string;
|
696
|
+
chainId: number;
|
697
|
+
};
|
698
|
+
headers: unknown;
|
699
|
+
response: {
|
700
|
+
200: {
|
701
|
+
message: string;
|
702
|
+
};
|
703
|
+
};
|
704
|
+
};
|
705
|
+
};
|
706
|
+
};
|
707
|
+
} & {
|
708
|
+
v3: {
|
709
|
+
updates: {
|
710
|
+
get: {
|
711
|
+
body: unknown;
|
712
|
+
params: {};
|
713
|
+
query: {};
|
714
|
+
headers: unknown;
|
715
|
+
response: {
|
716
|
+
200: {
|
717
|
+
[x: number]: {
|
718
|
+
[campaignId: string]: number;
|
719
|
+
};
|
720
|
+
};
|
721
|
+
readonly 400: {
|
722
|
+
message?: string | undefined;
|
723
|
+
error: string;
|
724
|
+
};
|
725
|
+
};
|
726
|
+
};
|
727
|
+
};
|
728
|
+
};
|
729
|
+
} & {
|
730
|
+
v3: {
|
731
|
+
userRewards: {
|
732
|
+
get: {
|
733
|
+
body: unknown;
|
734
|
+
params: {};
|
735
|
+
query: {
|
736
|
+
mainParameter?: string | undefined;
|
737
|
+
rewardToken?: string | undefined;
|
738
|
+
proof?: string | undefined;
|
739
|
+
chainId: never;
|
740
|
+
user: string;
|
741
|
+
};
|
742
|
+
headers: unknown;
|
743
|
+
response: {
|
744
|
+
200: {
|
745
|
+
[x: string]: {
|
746
|
+
pending?: string | undefined;
|
747
|
+
proof?: string[] | undefined;
|
748
|
+
symbol: string;
|
749
|
+
decimals: number;
|
750
|
+
unclaimed: string;
|
751
|
+
accumulated: string;
|
752
|
+
reasons: {
|
753
|
+
[x: string]: {
|
754
|
+
pending?: string | undefined;
|
755
|
+
unclaimed: string;
|
756
|
+
accumulated: string;
|
757
|
+
};
|
758
|
+
};
|
759
|
+
};
|
760
|
+
};
|
761
|
+
};
|
762
|
+
};
|
763
|
+
};
|
764
|
+
};
|
765
|
+
}, {
|
766
|
+
derive: {};
|
767
|
+
resolve: {};
|
768
|
+
schema: {};
|
769
|
+
}, {
|
770
|
+
derive: {};
|
771
|
+
resolve: {};
|
772
|
+
schema: {};
|
773
|
+
}>;
|