@merkl/api 0.10.80 → 0.10.82
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/index.d.ts +8 -53
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +1 -2
- package/dist/src/cache/declaration.d.ts +5 -0
- package/dist/src/eden/index.d.ts +66 -316
- package/dist/src/index.d.ts +24 -120
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +16 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +30 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AssetProcessor.d.ts +35 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +61 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerGaugeProcessor.d.ts +49 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerPoolProcessor.d.ts +53 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BeefyProcessor.d.ts +48 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/CompoundProcessor.d.ts +44 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EnzymeProcessor.d.ts +40 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerBorrowProcessor.d.ts +37 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerLendProcessor.d.ts +37 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FluidProcessor.d.ts +39 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FraxProcessor.d.ts +33 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GearboxProcessor.d.ts +40 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +31 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +27 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/RadiantProcessor.d.ts +32 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +16 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SturdySiloProcessor.d.ts +39 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TorosProcessor.d.ts +29 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/curveProcessor.d.ts +47 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/genericProcessor.d.ts +61 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.d.ts +6 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/templateProcessor.d.ts +32 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/uniswapProcessor.d.ts +42 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.d.ts +4 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.d.ts +3 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.d.ts +4 -0
- package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +0 -3
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -16
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +0 -4
- package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +126 -109
- package/dist/src/modules/v4/router.d.ts +24 -120
- package/dist/src/modules/v4/testdynamicData/dynamicData.controller.d.ts +50 -0
- package/dist/src/modules/v4/testdynamicData/dynamicData.model.d.ts +5 -0
- package/dist/src/modules/v4/testdynamicData/dynamicData.repository.d.ts +0 -0
- package/dist/src/modules/v4/testdynamicData/dynamicData.service.d.ts +12 -0
- package/dist/src/modules/v4/testdynamicData/index.d.ts +3 -0
- package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +24 -120
- package/dist/src/routes/v3/blacklist.d.ts +24 -120
- package/dist/src/routes/v3/campaigns.d.ts +24 -120
- package/dist/src/routes/v3/campaignsInfo.d.ts +24 -120
- package/dist/src/routes/v3/multiChainPositions.d.ts +24 -120
- package/dist/src/routes/v3/opportunity.d.ts +24 -120
- package/dist/src/routes/v3/positions.d.ts +24 -120
- package/dist/src/routes/v3/rewards.d.ts +24 -120
- package/dist/src/routes/v3/updates.d.ts +24 -120
- package/dist/src/routes/v3/userRewards.d.ts +24 -120
- package/dist/src/utils/decodeCalls.d.ts +2 -0
- package/dist/src/utils/encodeCalls.d.ts +3 -0
- package/dist/src/utils/generateCardName.d.ts +3 -0
- package/dist/src/utils/interfaces.d.ts +39 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -23,7 +23,6 @@ declare const eden: {
|
|
23
23
|
200: {
|
24
24
|
aprRecord: {
|
25
25
|
cumulated: number;
|
26
|
-
cummulated: number;
|
27
26
|
timestamp: bigint;
|
28
27
|
breakdowns: {
|
29
28
|
id: number;
|
@@ -102,7 +101,6 @@ declare const eden: {
|
|
102
101
|
200: {
|
103
102
|
aprRecord: {
|
104
103
|
cumulated: number;
|
105
|
-
cummulated: number;
|
106
104
|
timestamp: bigint;
|
107
105
|
breakdowns: {
|
108
106
|
id: number;
|
@@ -217,7 +215,6 @@ declare const eden: {
|
|
217
215
|
200: ({
|
218
216
|
aprRecord: {
|
219
217
|
cumulated: number;
|
220
|
-
cummulated: number;
|
221
218
|
timestamp: bigint;
|
222
219
|
breakdowns: {
|
223
220
|
id: number;
|
@@ -920,7 +917,7 @@ declare const eden: {
|
|
920
917
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
921
918
|
200: (Omit<{
|
922
919
|
chain: import("../../database/api/.generated").Chain;
|
923
|
-
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["
|
920
|
+
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["format"]>>;
|
924
921
|
}, "rewards"> & {
|
925
922
|
rewards: (Omit<{
|
926
923
|
token: {
|
@@ -1019,7 +1016,7 @@ declare const eden: {
|
|
1019
1016
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1020
1017
|
200: (Omit<{
|
1021
1018
|
chain: import("../../database/api/.generated").Chain;
|
1022
|
-
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["
|
1019
|
+
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["format"]>>;
|
1023
1020
|
}, "rewards"> & {
|
1024
1021
|
rewards: (Omit<{
|
1025
1022
|
token: {
|
@@ -1391,102 +1388,28 @@ declare const eden: {
|
|
1391
1388
|
})) & {};
|
1392
1389
|
})) & {};
|
1393
1390
|
};
|
1394
|
-
|
1395
|
-
|
1396
|
-
post: (body: {
|
1397
|
-
status: {
|
1398
|
-
value: "SUCCESS";
|
1399
|
-
computedUntil: number;
|
1400
|
-
} | {
|
1401
|
-
value: "PROCESSING";
|
1402
|
-
} | {
|
1403
|
-
error: string;
|
1404
|
-
details: string;
|
1405
|
-
value: "SKIPPED";
|
1406
|
-
} | {
|
1407
|
-
error: string;
|
1408
|
-
details: string;
|
1409
|
-
value: "FAILED";
|
1410
|
-
};
|
1411
|
-
campaignId: string;
|
1412
|
-
distributionChain: number;
|
1413
|
-
}, options: {
|
1414
|
-
headers: {
|
1415
|
-
authorization: string;
|
1416
|
-
};
|
1417
|
-
query?: Record<string, unknown> | undefined;
|
1418
|
-
fetch?: RequestInit | undefined;
|
1419
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1420
|
-
200: void;
|
1421
|
-
}>>;
|
1422
|
-
};
|
1423
|
-
index: {
|
1424
|
-
get: (options?: {
|
1425
|
-
headers?: Record<string, unknown> | undefined;
|
1426
|
-
query?: Record<string, unknown> | undefined;
|
1427
|
-
fetch?: RequestInit | undefined;
|
1428
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1429
|
-
200: {
|
1430
|
-
campaignId: string;
|
1431
|
-
computedUntil: bigint;
|
1432
|
-
processingStarted: bigint;
|
1433
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1434
|
-
error: string;
|
1435
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
1436
|
-
}[];
|
1437
|
-
}>>;
|
1438
|
-
};
|
1439
|
-
unique: {
|
1440
|
-
get: (options: {
|
1441
|
-
headers?: Record<string, unknown> | undefined;
|
1442
|
-
query: {
|
1443
|
-
identifier: string;
|
1444
|
-
distributionChain: number;
|
1445
|
-
};
|
1446
|
-
fetch?: RequestInit | undefined;
|
1447
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1448
|
-
200: {
|
1449
|
-
campaignId: string;
|
1450
|
-
computedUntil: bigint;
|
1451
|
-
processingStarted: bigint;
|
1452
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1453
|
-
error: string;
|
1454
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
1455
|
-
};
|
1456
|
-
}>>;
|
1457
|
-
};
|
1458
|
-
computeChain: ((params: {
|
1391
|
+
dynamicData: {
|
1392
|
+
chainId: ((params: {
|
1459
1393
|
chainId: string | number;
|
1460
1394
|
}) => {
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1395
|
+
token: ((params: {
|
1396
|
+
tokenAddress: string | number;
|
1397
|
+
}) => {
|
1398
|
+
get: (options?: {
|
1399
|
+
headers?: Record<string, unknown> | undefined;
|
1400
|
+
query?: Record<string, unknown> | undefined;
|
1401
|
+
fetch?: RequestInit | undefined;
|
1402
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1403
|
+
200: {
|
1404
|
+
tvl: number;
|
1405
|
+
totalSupply: number;
|
1406
|
+
cardName: string;
|
1407
|
+
blacklistedSupply: number;
|
1408
|
+
priceTargetToken: number;
|
1409
|
+
};
|
1410
|
+
}>>;
|
1411
|
+
}) & {};
|
1475
1412
|
}) & {};
|
1476
|
-
overlaps: {
|
1477
|
-
get: (options: {
|
1478
|
-
headers: {
|
1479
|
-
authorization: string;
|
1480
|
-
};
|
1481
|
-
query: {
|
1482
|
-
identifier: string;
|
1483
|
-
distributionChain: number;
|
1484
|
-
};
|
1485
|
-
fetch?: RequestInit | undefined;
|
1486
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1487
|
-
200: boolean;
|
1488
|
-
}>>;
|
1489
|
-
};
|
1490
1413
|
};
|
1491
1414
|
};
|
1492
1415
|
};
|
@@ -1579,7 +1502,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1579
1502
|
200: {
|
1580
1503
|
aprRecord: {
|
1581
1504
|
cumulated: number;
|
1582
|
-
cummulated: number;
|
1583
1505
|
timestamp: bigint;
|
1584
1506
|
breakdowns: {
|
1585
1507
|
id: number;
|
@@ -1667,7 +1589,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1667
1589
|
200: {
|
1668
1590
|
aprRecord: {
|
1669
1591
|
cumulated: number;
|
1670
|
-
cummulated: number;
|
1671
1592
|
timestamp: bigint;
|
1672
1593
|
breakdowns: {
|
1673
1594
|
id: number;
|
@@ -1765,7 +1686,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1765
1686
|
200: ({
|
1766
1687
|
aprRecord: {
|
1767
1688
|
cumulated: number;
|
1768
|
-
cummulated: number;
|
1769
1689
|
timestamp: bigint;
|
1770
1690
|
breakdowns: {
|
1771
1691
|
id: number;
|
@@ -2683,7 +2603,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2683
2603
|
response: {
|
2684
2604
|
200: (Omit<{
|
2685
2605
|
chain: import("../../database/api/.generated").Chain;
|
2686
|
-
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["
|
2606
|
+
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["format"]>>;
|
2687
2607
|
}, "rewards"> & {
|
2688
2608
|
rewards: (Omit<{
|
2689
2609
|
token: {
|
@@ -2793,7 +2713,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2793
2713
|
response: {
|
2794
2714
|
200: (Omit<{
|
2795
2715
|
chain: import("../../database/api/.generated").Chain;
|
2796
|
-
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["
|
2716
|
+
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["format"]>>;
|
2797
2717
|
}, "rewards"> & {
|
2798
2718
|
rewards: (Omit<{
|
2799
2719
|
token: {
|
@@ -3249,127 +3169,34 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3249
3169
|
};
|
3250
3170
|
} & {
|
3251
3171
|
v4: {
|
3252
|
-
|
3253
|
-
|
3254
|
-
post: {
|
3255
|
-
body: {
|
3256
|
-
status: {
|
3257
|
-
value: "SUCCESS";
|
3258
|
-
computedUntil: number;
|
3259
|
-
} | {
|
3260
|
-
value: "PROCESSING";
|
3261
|
-
} | {
|
3262
|
-
error: string;
|
3263
|
-
details: string;
|
3264
|
-
value: "SKIPPED";
|
3265
|
-
} | {
|
3266
|
-
error: string;
|
3267
|
-
details: string;
|
3268
|
-
value: "FAILED";
|
3269
|
-
};
|
3270
|
-
campaignId: string;
|
3271
|
-
distributionChain: number;
|
3272
|
-
};
|
3273
|
-
params: Record<never, string>;
|
3274
|
-
query: unknown;
|
3275
|
-
headers: {
|
3276
|
-
authorization: string;
|
3277
|
-
};
|
3278
|
-
response: {
|
3279
|
-
200: void;
|
3280
|
-
};
|
3281
|
-
};
|
3282
|
-
};
|
3283
|
-
};
|
3284
|
-
} & {
|
3285
|
-
campaignStatus: {
|
3286
|
-
index: {
|
3287
|
-
get: {
|
3288
|
-
body: unknown;
|
3289
|
-
params: Record<never, string>;
|
3290
|
-
query: unknown;
|
3291
|
-
headers: unknown;
|
3292
|
-
response: {
|
3293
|
-
200: {
|
3294
|
-
campaignId: string;
|
3295
|
-
computedUntil: bigint;
|
3296
|
-
processingStarted: bigint;
|
3297
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3298
|
-
error: string;
|
3299
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
3300
|
-
}[];
|
3301
|
-
};
|
3302
|
-
};
|
3303
|
-
};
|
3304
|
-
};
|
3305
|
-
} & {
|
3306
|
-
campaignStatus: {
|
3307
|
-
unique: {
|
3308
|
-
get: {
|
3309
|
-
body: unknown;
|
3310
|
-
params: Record<never, string>;
|
3311
|
-
query: {
|
3312
|
-
identifier: string;
|
3313
|
-
distributionChain: number;
|
3314
|
-
};
|
3315
|
-
headers: unknown;
|
3316
|
-
response: {
|
3317
|
-
200: {
|
3318
|
-
campaignId: string;
|
3319
|
-
computedUntil: bigint;
|
3320
|
-
processingStarted: bigint;
|
3321
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3322
|
-
error: string;
|
3323
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
3324
|
-
};
|
3325
|
-
};
|
3326
|
-
};
|
3327
|
-
};
|
3328
|
-
};
|
3329
|
-
} & {
|
3330
|
-
campaignStatus: {
|
3331
|
-
computeChain: {
|
3172
|
+
dynamicData: {
|
3173
|
+
chainId: {
|
3332
3174
|
":chainId": {
|
3333
|
-
|
3334
|
-
|
3335
|
-
|
3336
|
-
|
3337
|
-
|
3338
|
-
|
3339
|
-
|
3340
|
-
|
3341
|
-
|
3342
|
-
|
3343
|
-
|
3344
|
-
|
3345
|
-
|
3346
|
-
|
3347
|
-
|
3348
|
-
|
3175
|
+
token: {
|
3176
|
+
":tokenAddress": {
|
3177
|
+
get: {
|
3178
|
+
body: unknown;
|
3179
|
+
params: {
|
3180
|
+
chainId: string;
|
3181
|
+
tokenAddress: string;
|
3182
|
+
};
|
3183
|
+
query: unknown;
|
3184
|
+
headers: unknown;
|
3185
|
+
response: {
|
3186
|
+
200: {
|
3187
|
+
tvl: number;
|
3188
|
+
totalSupply: number;
|
3189
|
+
cardName: string;
|
3190
|
+
blacklistedSupply: number;
|
3191
|
+
priceTargetToken: number;
|
3192
|
+
};
|
3193
|
+
};
|
3194
|
+
};
|
3349
3195
|
};
|
3350
3196
|
};
|
3351
3197
|
};
|
3352
3198
|
};
|
3353
3199
|
};
|
3354
|
-
} & {
|
3355
|
-
campaignStatus: {
|
3356
|
-
overlaps: {
|
3357
|
-
get: {
|
3358
|
-
body: unknown;
|
3359
|
-
params: Record<never, string>;
|
3360
|
-
query: {
|
3361
|
-
identifier: string;
|
3362
|
-
distributionChain: number;
|
3363
|
-
};
|
3364
|
-
headers: {
|
3365
|
-
authorization: string;
|
3366
|
-
};
|
3367
|
-
response: {
|
3368
|
-
200: boolean;
|
3369
|
-
};
|
3370
|
-
};
|
3371
|
-
};
|
3372
|
-
};
|
3373
3200
|
};
|
3374
3201
|
}, {
|
3375
3202
|
derive: {};
|
@@ -3406,7 +3233,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3406
3233
|
200: {
|
3407
3234
|
aprRecord: {
|
3408
3235
|
cumulated: number;
|
3409
|
-
cummulated: number;
|
3410
3236
|
timestamp: bigint;
|
3411
3237
|
breakdowns: {
|
3412
3238
|
id: number;
|
@@ -3485,7 +3311,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3485
3311
|
200: {
|
3486
3312
|
aprRecord: {
|
3487
3313
|
cumulated: number;
|
3488
|
-
cummulated: number;
|
3489
3314
|
timestamp: bigint;
|
3490
3315
|
breakdowns: {
|
3491
3316
|
id: number;
|
@@ -3600,7 +3425,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3600
3425
|
200: ({
|
3601
3426
|
aprRecord: {
|
3602
3427
|
cumulated: number;
|
3603
|
-
cummulated: number;
|
3604
3428
|
timestamp: bigint;
|
3605
3429
|
breakdowns: {
|
3606
3430
|
id: number;
|
@@ -4303,7 +4127,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4303
4127
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4304
4128
|
200: (Omit<{
|
4305
4129
|
chain: import("../../database/api/.generated").Chain;
|
4306
|
-
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["
|
4130
|
+
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["format"]>>;
|
4307
4131
|
}, "rewards"> & {
|
4308
4132
|
rewards: (Omit<{
|
4309
4133
|
token: {
|
@@ -4402,7 +4226,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4402
4226
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4403
4227
|
200: (Omit<{
|
4404
4228
|
chain: import("../../database/api/.generated").Chain;
|
4405
|
-
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["
|
4229
|
+
rewards: Awaited<ReturnType<typeof import("../modules/v4/reward").RewardService["format"]>>;
|
4406
4230
|
}, "rewards"> & {
|
4407
4231
|
rewards: (Omit<{
|
4408
4232
|
token: {
|
@@ -4774,102 +4598,28 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4774
4598
|
})) & {};
|
4775
4599
|
})) & {};
|
4776
4600
|
};
|
4777
|
-
|
4778
|
-
|
4779
|
-
post: (body: {
|
4780
|
-
status: {
|
4781
|
-
value: "SUCCESS";
|
4782
|
-
computedUntil: number;
|
4783
|
-
} | {
|
4784
|
-
value: "PROCESSING";
|
4785
|
-
} | {
|
4786
|
-
error: string;
|
4787
|
-
details: string;
|
4788
|
-
value: "SKIPPED";
|
4789
|
-
} | {
|
4790
|
-
error: string;
|
4791
|
-
details: string;
|
4792
|
-
value: "FAILED";
|
4793
|
-
};
|
4794
|
-
campaignId: string;
|
4795
|
-
distributionChain: number;
|
4796
|
-
}, options: {
|
4797
|
-
headers: {
|
4798
|
-
authorization: string;
|
4799
|
-
};
|
4800
|
-
query?: Record<string, unknown> | undefined;
|
4801
|
-
fetch?: RequestInit | undefined;
|
4802
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4803
|
-
200: void;
|
4804
|
-
}>>;
|
4805
|
-
};
|
4806
|
-
index: {
|
4807
|
-
get: (options?: {
|
4808
|
-
headers?: Record<string, unknown> | undefined;
|
4809
|
-
query?: Record<string, unknown> | undefined;
|
4810
|
-
fetch?: RequestInit | undefined;
|
4811
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4812
|
-
200: {
|
4813
|
-
campaignId: string;
|
4814
|
-
computedUntil: bigint;
|
4815
|
-
processingStarted: bigint;
|
4816
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
4817
|
-
error: string;
|
4818
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
4819
|
-
}[];
|
4820
|
-
}>>;
|
4821
|
-
};
|
4822
|
-
unique: {
|
4823
|
-
get: (options: {
|
4824
|
-
headers?: Record<string, unknown> | undefined;
|
4825
|
-
query: {
|
4826
|
-
identifier: string;
|
4827
|
-
distributionChain: number;
|
4828
|
-
};
|
4829
|
-
fetch?: RequestInit | undefined;
|
4830
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4831
|
-
200: {
|
4832
|
-
campaignId: string;
|
4833
|
-
computedUntil: bigint;
|
4834
|
-
processingStarted: bigint;
|
4835
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
4836
|
-
error: string;
|
4837
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
4838
|
-
};
|
4839
|
-
}>>;
|
4840
|
-
};
|
4841
|
-
computeChain: ((params: {
|
4601
|
+
dynamicData: {
|
4602
|
+
chainId: ((params: {
|
4842
4603
|
chainId: string | number;
|
4843
4604
|
}) => {
|
4844
|
-
|
4845
|
-
|
4846
|
-
|
4847
|
-
|
4848
|
-
|
4849
|
-
|
4850
|
-
|
4851
|
-
|
4852
|
-
|
4853
|
-
|
4854
|
-
|
4855
|
-
|
4856
|
-
|
4857
|
-
|
4605
|
+
token: ((params: {
|
4606
|
+
tokenAddress: string | number;
|
4607
|
+
}) => {
|
4608
|
+
get: (options?: {
|
4609
|
+
headers?: Record<string, unknown> | undefined;
|
4610
|
+
query?: Record<string, unknown> | undefined;
|
4611
|
+
fetch?: RequestInit | undefined;
|
4612
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4613
|
+
200: {
|
4614
|
+
tvl: number;
|
4615
|
+
totalSupply: number;
|
4616
|
+
cardName: string;
|
4617
|
+
blacklistedSupply: number;
|
4618
|
+
priceTargetToken: number;
|
4619
|
+
};
|
4620
|
+
}>>;
|
4621
|
+
}) & {};
|
4858
4622
|
}) & {};
|
4859
|
-
overlaps: {
|
4860
|
-
get: (options: {
|
4861
|
-
headers: {
|
4862
|
-
authorization: string;
|
4863
|
-
};
|
4864
|
-
query: {
|
4865
|
-
identifier: string;
|
4866
|
-
distributionChain: number;
|
4867
|
-
};
|
4868
|
-
fetch?: RequestInit | undefined;
|
4869
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4870
|
-
200: boolean;
|
4871
|
-
}>>;
|
4872
|
-
};
|
4873
4623
|
};
|
4874
4624
|
};
|
4875
4625
|
};
|