@merkl/api 0.10.126 → 0.10.128
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/package.json +4 -2
- package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/health.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -1
- package/dist/src/eden/index.d.ts +237 -116
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +1 -0
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +1 -0
- package/dist/src/index.d.ts +117 -76
- package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -1
- package/dist/src/internal/controllers/unclaimed.d.ts +2 -1
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +3 -2
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +5 -4
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +7 -6
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +8 -0
- package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -3
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +3 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +46 -10
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +57 -6
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +48 -0
- package/dist/src/modules/v4/participate/participate.controller.d.ts +5 -4
- package/dist/src/modules/v4/price/price.controller.d.ts +6 -5
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -5
- package/dist/src/modules/v4/reward/reward.controller.d.ts +20 -13
- package/dist/src/modules/v4/reward/reward.model.d.ts +4 -1
- package/dist/src/modules/v4/router.d.ts +115 -70
- package/dist/src/modules/v4/status/status.controller.d.ts +6 -5
- package/dist/src/modules/v4/token/token.controller.d.ts +6 -6
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +8 -5
- package/dist/src/plugins/error-handling.plugin.d.ts +1 -0
- package/dist/src/plugins/logger.plugin.d.ts +1 -0
- package/dist/src/routes/v1/allowances.d.ts +3 -2
- package/dist/src/routes/v1/balances.d.ts +3 -2
- package/dist/src/routes/v1/prices.d.ts +2 -1
- package/dist/src/routes/v1/tokens.d.ts +2 -1
- package/dist/src/routes/v2/merkl.d.ts +2 -1
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +120 -78
- package/dist/src/routes/v3/app.d.ts +3 -2
- package/dist/src/routes/v3/blacklist.d.ts +118 -77
- package/dist/src/routes/v3/campaign/delay.d.ts +6 -1
- package/dist/src/routes/v3/campaignClaims.d.ts +2 -1
- package/dist/src/routes/v3/campaignReport.d.ts +2 -1
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +3 -2
- package/dist/src/routes/v3/campaigns.d.ts +120 -78
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +123 -78
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -1
- package/dist/src/routes/v3/claims.d.ts +2 -1
- package/dist/src/routes/v3/compoundV2.d.ts +12 -2
- package/dist/src/routes/v3/createCampaign.d.ts +2 -1
- package/dist/src/routes/v3/dolomite.d.ts +2 -1
- package/dist/src/routes/v3/euler.d.ts +2 -1
- package/dist/src/routes/v3/exports/campaigns.d.ts +2 -1
- package/dist/src/routes/v3/fetch.d.ts +2 -1
- package/dist/src/routes/v3/health.d.ts +2 -1
- package/dist/src/routes/v3/lostyield.d.ts +2 -1
- package/dist/src/routes/v3/merkl.d.ts +2 -1
- package/dist/src/routes/v3/morphoMarkets.d.ts +2 -1
- package/dist/src/routes/v3/morphoVaults.d.ts +2 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +120 -78
- package/dist/src/routes/v3/opportunity.d.ts +122 -96
- package/dist/src/routes/v3/overview.d.ts +22 -4
- package/dist/src/routes/v3/parse.d.ts +2 -1
- package/dist/src/routes/v3/payload.d.ts +2 -1
- package/dist/src/routes/v3/poolInfo.d.ts +2 -1
- package/dist/src/routes/v3/positions.d.ts +121 -79
- package/dist/src/routes/v3/radiant.d.ts +2 -1
- package/dist/src/routes/v3/recipients.d.ts +2 -1
- package/dist/src/routes/v3/rewards.d.ts +147 -78
- package/dist/src/routes/v3/rewardsReport.d.ts +2 -1
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -1
- package/dist/src/routes/v3/silo.d.ts +2 -1
- package/dist/src/routes/v3/token.d.ts +3 -2
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -1
- package/dist/src/routes/v3/twt/participants.d.ts +2 -1
- package/dist/src/routes/v3/updates.d.ts +127 -78
- package/dist/src/routes/v3/userRewards.d.ts +119 -78
- package/dist/src/utils/error.d.ts +1 -0
- package/dist/src/utils/validation.d.ts +3 -3
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/dist/src/utils/trace.d.ts +0 -26
@@ -28,11 +28,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
28
28
|
}, {
|
29
29
|
schema: {};
|
30
30
|
macro: {};
|
31
|
+
macroFn: {};
|
31
32
|
}, false & {
|
32
33
|
index: {
|
33
34
|
get: {
|
34
35
|
body: unknown;
|
35
|
-
params:
|
36
|
+
params: {};
|
36
37
|
query: unknown;
|
37
38
|
headers: unknown;
|
38
39
|
response: {
|
@@ -61,7 +62,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
61
62
|
protocols: string[];
|
62
63
|
mainProtocol: string;
|
63
64
|
};
|
64
|
-
params:
|
65
|
+
params: {};
|
65
66
|
query: unknown;
|
66
67
|
headers: {
|
67
68
|
authorization: string;
|
@@ -116,6 +117,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
116
117
|
value: number;
|
117
118
|
campaignId: string;
|
118
119
|
dailyRewardsRecordId: string;
|
120
|
+
token: {
|
121
|
+
symbol: string;
|
122
|
+
name: string | null;
|
123
|
+
id: string;
|
124
|
+
chainId: number;
|
125
|
+
address: string;
|
126
|
+
icon: string;
|
127
|
+
decimals: number;
|
128
|
+
verified: boolean;
|
129
|
+
price: number | null;
|
130
|
+
};
|
131
|
+
amount: bigint;
|
119
132
|
}[];
|
120
133
|
};
|
121
134
|
id: string;
|
@@ -170,7 +183,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
170
183
|
query: unknown;
|
171
184
|
headers: unknown;
|
172
185
|
response: {
|
173
|
-
200:
|
186
|
+
200: {
|
174
187
|
aprRecord: {
|
175
188
|
cumulated: number;
|
176
189
|
timestamp: bigint;
|
@@ -203,6 +216,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
203
216
|
value: number;
|
204
217
|
campaignId: string;
|
205
218
|
dailyRewardsRecordId: string;
|
219
|
+
token: {
|
220
|
+
symbol: string;
|
221
|
+
name: string | null;
|
222
|
+
id: string;
|
223
|
+
chainId: number;
|
224
|
+
address: string;
|
225
|
+
icon: string;
|
226
|
+
decimals: number;
|
227
|
+
verified: boolean;
|
228
|
+
price: number | null;
|
229
|
+
};
|
230
|
+
amount: bigint;
|
206
231
|
}[];
|
207
232
|
};
|
208
233
|
id: string;
|
@@ -240,7 +265,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
240
265
|
tvl: number;
|
241
266
|
apr: number;
|
242
267
|
dailyRewards: number;
|
243
|
-
} & {
|
244
268
|
campaigns: ({
|
245
269
|
params: any;
|
246
270
|
chain: {
|
@@ -277,7 +301,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
277
301
|
opportunityId: string;
|
278
302
|
creatorAddress: string;
|
279
303
|
} | null)[];
|
280
|
-
}
|
304
|
+
} | null | undefined;
|
281
305
|
};
|
282
306
|
};
|
283
307
|
};
|
@@ -288,9 +312,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
288
312
|
index: {
|
289
313
|
get: {
|
290
314
|
body: unknown;
|
291
|
-
params:
|
315
|
+
params: {};
|
292
316
|
query: {
|
293
|
-
sort?:
|
317
|
+
sort?: undefined;
|
294
318
|
name?: string | undefined;
|
295
319
|
tokens?: string | undefined;
|
296
320
|
status?: string | undefined;
|
@@ -300,7 +324,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
300
324
|
page?: number | undefined;
|
301
325
|
action?: string | undefined;
|
302
326
|
mainProtocolId?: string | undefined;
|
303
|
-
order?:
|
327
|
+
order?: undefined;
|
304
328
|
};
|
305
329
|
headers: unknown;
|
306
330
|
response: {
|
@@ -337,6 +361,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
337
361
|
value: number;
|
338
362
|
campaignId: string;
|
339
363
|
dailyRewardsRecordId: string;
|
364
|
+
token: {
|
365
|
+
symbol: string;
|
366
|
+
name: string | null;
|
367
|
+
id: string;
|
368
|
+
chainId: number;
|
369
|
+
address: string;
|
370
|
+
icon: string;
|
371
|
+
decimals: number;
|
372
|
+
verified: boolean;
|
373
|
+
price: number | null;
|
374
|
+
};
|
375
|
+
amount: bigint;
|
340
376
|
}[];
|
341
377
|
};
|
342
378
|
id: string;
|
@@ -384,9 +420,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
384
420
|
count: {
|
385
421
|
get: {
|
386
422
|
body: unknown;
|
387
|
-
params:
|
423
|
+
params: {};
|
388
424
|
query: {
|
389
|
-
sort?:
|
425
|
+
sort?: undefined;
|
390
426
|
name?: string | undefined;
|
391
427
|
tokens?: string | undefined;
|
392
428
|
status?: string | undefined;
|
@@ -396,7 +432,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
396
432
|
page?: number | undefined;
|
397
433
|
action?: string | undefined;
|
398
434
|
mainProtocolId?: string | undefined;
|
399
|
-
order?:
|
435
|
+
order?: undefined;
|
400
436
|
};
|
401
437
|
headers: unknown;
|
402
438
|
response: {
|
@@ -426,7 +462,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
426
462
|
rewardTokenAddress: string;
|
427
463
|
opportunityIdentifier: string;
|
428
464
|
};
|
429
|
-
params:
|
465
|
+
params: {};
|
430
466
|
query: unknown;
|
431
467
|
headers: {
|
432
468
|
authorization: string;
|
@@ -454,7 +490,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
454
490
|
index: {
|
455
491
|
get: {
|
456
492
|
body: unknown;
|
457
|
-
params:
|
493
|
+
params: {};
|
458
494
|
query: {
|
459
495
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
460
496
|
items?: number | undefined;
|
@@ -514,7 +550,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
514
550
|
count: {
|
515
551
|
get: {
|
516
552
|
body: unknown;
|
517
|
-
params:
|
553
|
+
params: {};
|
518
554
|
query: {
|
519
555
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
520
556
|
items?: number | undefined;
|
@@ -540,7 +576,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
540
576
|
index: {
|
541
577
|
get: {
|
542
578
|
body: unknown;
|
543
|
-
params:
|
579
|
+
params: {};
|
544
580
|
query: {
|
545
581
|
chainId: number;
|
546
582
|
};
|
@@ -562,7 +598,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
562
598
|
count: {
|
563
599
|
get: {
|
564
600
|
body: unknown;
|
565
|
-
params:
|
601
|
+
params: {};
|
566
602
|
query: {
|
567
603
|
chainId: number;
|
568
604
|
};
|
@@ -578,7 +614,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
578
614
|
index: {
|
579
615
|
post: {
|
580
616
|
body: unknown;
|
581
|
-
params:
|
617
|
+
params: {};
|
582
618
|
query: {
|
583
619
|
chainId: number;
|
584
620
|
};
|
@@ -599,17 +635,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
599
635
|
":id": {
|
600
636
|
get: {
|
601
637
|
body: unknown;
|
602
|
-
params:
|
638
|
+
params: {
|
639
|
+
id: string;
|
640
|
+
};
|
603
641
|
query: unknown;
|
604
642
|
headers: unknown;
|
605
643
|
response: {
|
606
|
-
200:
|
644
|
+
200: {
|
607
645
|
name: string;
|
608
646
|
url: string;
|
609
647
|
description: string;
|
610
648
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
611
649
|
icon: string;
|
612
|
-
}
|
650
|
+
} | null;
|
613
651
|
};
|
614
652
|
};
|
615
653
|
};
|
@@ -619,7 +657,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
619
657
|
index: {
|
620
658
|
get: {
|
621
659
|
body: unknown;
|
622
|
-
params:
|
660
|
+
params: {};
|
623
661
|
query: {
|
624
662
|
name?: string | undefined;
|
625
663
|
id?: string[] | undefined;
|
@@ -645,7 +683,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
645
683
|
count: {
|
646
684
|
get: {
|
647
685
|
body: unknown;
|
648
|
-
params:
|
686
|
+
params: {};
|
649
687
|
query: {
|
650
688
|
name?: string | undefined;
|
651
689
|
id?: string[] | undefined;
|
@@ -673,7 +711,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
673
711
|
query: unknown;
|
674
712
|
headers: unknown;
|
675
713
|
response: {
|
676
|
-
200:
|
714
|
+
200: {
|
677
715
|
symbol: string;
|
678
716
|
name: string | null;
|
679
717
|
id: string;
|
@@ -682,9 +720,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
682
720
|
icon: string;
|
683
721
|
decimals: number;
|
684
722
|
verified: boolean;
|
685
|
-
} & {
|
686
723
|
price?: number | null | undefined;
|
687
|
-
}
|
724
|
+
} | undefined;
|
688
725
|
};
|
689
726
|
};
|
690
727
|
};
|
@@ -694,7 +731,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
694
731
|
balances: {
|
695
732
|
get: {
|
696
733
|
body: unknown;
|
697
|
-
params:
|
734
|
+
params: {};
|
698
735
|
query: {
|
699
736
|
tokenAddress?: string | undefined;
|
700
737
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -726,7 +763,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
726
763
|
index: {
|
727
764
|
get: {
|
728
765
|
body: unknown;
|
729
|
-
params:
|
766
|
+
params: {};
|
730
767
|
query: {
|
731
768
|
symbol?: string | undefined;
|
732
769
|
name?: string | undefined;
|
@@ -757,7 +794,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
757
794
|
count: {
|
758
795
|
get: {
|
759
796
|
body: unknown;
|
760
|
-
params:
|
797
|
+
params: {};
|
761
798
|
query: {
|
762
799
|
symbol?: string | undefined;
|
763
800
|
name?: string | undefined;
|
@@ -779,7 +816,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
779
816
|
index: {
|
780
817
|
get: {
|
781
818
|
body: unknown;
|
782
|
-
params:
|
819
|
+
params: {};
|
783
820
|
query: {
|
784
821
|
items?: number | undefined;
|
785
822
|
page?: number | undefined;
|
@@ -798,7 +835,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
798
835
|
total: {
|
799
836
|
get: {
|
800
837
|
body: unknown;
|
801
|
-
params:
|
838
|
+
params: {};
|
802
839
|
query: {
|
803
840
|
items?: number | undefined;
|
804
841
|
page?: number | undefined;
|
@@ -826,13 +863,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
826
863
|
proofs: string[];
|
827
864
|
rewardToken: string;
|
828
865
|
}[];
|
829
|
-
params:
|
866
|
+
params: {};
|
830
867
|
query: unknown;
|
831
868
|
headers: {
|
832
869
|
authorization: string;
|
833
870
|
};
|
834
871
|
response: {
|
835
|
-
200:
|
872
|
+
200: {
|
873
|
+
count: number;
|
874
|
+
};
|
836
875
|
};
|
837
876
|
};
|
838
877
|
};
|
@@ -858,13 +897,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
858
897
|
claimed: string;
|
859
898
|
}[];
|
860
899
|
}[];
|
861
|
-
params:
|
900
|
+
params: {};
|
862
901
|
query: unknown;
|
863
902
|
headers: {
|
864
903
|
authorization: string;
|
865
904
|
};
|
866
905
|
response: {
|
867
|
-
200:
|
906
|
+
200: {
|
907
|
+
count: number;
|
908
|
+
} | undefined;
|
868
909
|
};
|
869
910
|
};
|
870
911
|
};
|
@@ -894,7 +935,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
894
935
|
recipient: string;
|
895
936
|
}[];
|
896
937
|
};
|
897
|
-
params:
|
938
|
+
params: {};
|
898
939
|
query: unknown;
|
899
940
|
headers: {
|
900
941
|
authorization: string;
|
@@ -910,7 +951,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
910
951
|
count: {
|
911
952
|
get: {
|
912
953
|
body: unknown;
|
913
|
-
params:
|
954
|
+
params: {};
|
914
955
|
query: {
|
915
956
|
items?: number | undefined;
|
916
957
|
page?: number | undefined;
|
@@ -932,16 +973,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
932
973
|
chains: {
|
933
974
|
get: {
|
934
975
|
body: unknown;
|
935
|
-
params:
|
976
|
+
params: {};
|
936
977
|
query: unknown;
|
937
978
|
headers: {
|
938
979
|
authorization: string;
|
939
980
|
};
|
940
981
|
response: {
|
941
|
-
200:
|
942
|
-
|
943
|
-
|
944
|
-
|
982
|
+
200: {
|
983
|
+
[x: string]: {
|
984
|
+
breakdown: number;
|
985
|
+
rewards: Record<string, number>;
|
986
|
+
};
|
987
|
+
};
|
945
988
|
};
|
946
989
|
};
|
947
990
|
};
|
@@ -978,7 +1021,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
978
1021
|
index: {
|
979
1022
|
get: {
|
980
1023
|
body: unknown;
|
981
|
-
params:
|
1024
|
+
params: {};
|
982
1025
|
query: {
|
983
1026
|
search?: string | undefined;
|
984
1027
|
};
|
@@ -1002,7 +1045,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1002
1045
|
count: {
|
1003
1046
|
get: {
|
1004
1047
|
body: unknown;
|
1005
|
-
params:
|
1048
|
+
params: {};
|
1006
1049
|
query: {
|
1007
1050
|
search?: string | undefined;
|
1008
1051
|
};
|
@@ -1020,7 +1063,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1020
1063
|
url: string;
|
1021
1064
|
chainId: number;
|
1022
1065
|
};
|
1023
|
-
params:
|
1066
|
+
params: {};
|
1024
1067
|
query: unknown;
|
1025
1068
|
headers: {
|
1026
1069
|
authorization: string;
|
@@ -1043,12 +1086,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1043
1086
|
index: {
|
1044
1087
|
get: {
|
1045
1088
|
body: unknown;
|
1046
|
-
params:
|
1089
|
+
params: {};
|
1047
1090
|
query: unknown;
|
1048
1091
|
headers: unknown;
|
1049
1092
|
response: {
|
1050
1093
|
200: {
|
1051
|
-
[
|
1094
|
+
[x: string]: number;
|
1052
1095
|
};
|
1053
1096
|
};
|
1054
1097
|
};
|
@@ -1057,7 +1100,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1057
1100
|
array: {
|
1058
1101
|
get: {
|
1059
1102
|
body: unknown;
|
1060
|
-
params:
|
1103
|
+
params: {};
|
1061
1104
|
query: unknown;
|
1062
1105
|
headers: unknown;
|
1063
1106
|
response: {
|
@@ -1089,7 +1132,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1089
1132
|
index: {
|
1090
1133
|
get: {
|
1091
1134
|
body: unknown;
|
1092
|
-
params:
|
1135
|
+
params: {};
|
1093
1136
|
query: unknown;
|
1094
1137
|
headers: unknown;
|
1095
1138
|
response: {
|
@@ -1135,7 +1178,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1135
1178
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1136
1179
|
args: {};
|
1137
1180
|
};
|
1138
|
-
params:
|
1181
|
+
params: {};
|
1139
1182
|
query: unknown;
|
1140
1183
|
headers: {
|
1141
1184
|
authorization: string;
|
@@ -1208,7 +1251,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1208
1251
|
index: {
|
1209
1252
|
get: {
|
1210
1253
|
body: unknown;
|
1211
|
-
params:
|
1254
|
+
params: {};
|
1212
1255
|
query: unknown;
|
1213
1256
|
headers: unknown;
|
1214
1257
|
response: {
|
@@ -1229,12 +1272,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1229
1272
|
all: {
|
1230
1273
|
get: {
|
1231
1274
|
body: unknown;
|
1232
|
-
params:
|
1275
|
+
params: {};
|
1233
1276
|
query: unknown;
|
1234
1277
|
headers: unknown;
|
1235
1278
|
response: {
|
1236
1279
|
200: {
|
1237
|
-
[
|
1280
|
+
[x: string]: boolean;
|
1238
1281
|
};
|
1239
1282
|
};
|
1240
1283
|
};
|
@@ -1268,7 +1311,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1268
1311
|
poolAddress: string;
|
1269
1312
|
userAddress: string;
|
1270
1313
|
};
|
1271
|
-
params:
|
1314
|
+
params: {};
|
1272
1315
|
query: unknown;
|
1273
1316
|
headers: {
|
1274
1317
|
authorization: string;
|
@@ -1313,7 +1356,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1313
1356
|
index: {
|
1314
1357
|
get: {
|
1315
1358
|
body: unknown;
|
1316
|
-
params:
|
1359
|
+
params: {};
|
1317
1360
|
query: {
|
1318
1361
|
items?: number | undefined;
|
1319
1362
|
tags?: string[] | undefined;
|
@@ -1335,7 +1378,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1335
1378
|
tags: {
|
1336
1379
|
get: {
|
1337
1380
|
body: unknown;
|
1338
|
-
params:
|
1381
|
+
params: {};
|
1339
1382
|
query: unknown;
|
1340
1383
|
headers: {
|
1341
1384
|
authorization: string;
|
@@ -1354,7 +1397,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1354
1397
|
":address": {
|
1355
1398
|
get: {
|
1356
1399
|
body: unknown;
|
1357
|
-
params:
|
1400
|
+
params: {
|
1401
|
+
address: string;
|
1402
|
+
};
|
1358
1403
|
query: unknown;
|
1359
1404
|
headers: unknown;
|
1360
1405
|
response: {
|
@@ -1592,7 +1637,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1592
1637
|
tags: string[];
|
1593
1638
|
address: string;
|
1594
1639
|
};
|
1595
|
-
params:
|
1640
|
+
params: {};
|
1596
1641
|
query: unknown;
|
1597
1642
|
headers: {
|
1598
1643
|
authorization: string;
|
@@ -1611,7 +1656,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1611
1656
|
sync: {
|
1612
1657
|
post: {
|
1613
1658
|
body: unknown;
|
1614
|
-
params:
|
1659
|
+
params: {};
|
1615
1660
|
query: unknown;
|
1616
1661
|
headers: {
|
1617
1662
|
authorization: string;
|
@@ -1654,7 +1699,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1654
1699
|
timestamps: {
|
1655
1700
|
get: {
|
1656
1701
|
body: unknown;
|
1657
|
-
params:
|
1702
|
+
params: {};
|
1658
1703
|
query: {
|
1659
1704
|
chainId: number;
|
1660
1705
|
fromTimestamp: string;
|
@@ -1677,7 +1722,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1677
1722
|
index: {
|
1678
1723
|
get: {
|
1679
1724
|
body: unknown;
|
1680
|
-
params:
|
1725
|
+
params: {};
|
1681
1726
|
query: unknown;
|
1682
1727
|
headers: unknown;
|
1683
1728
|
response: {
|
@@ -1697,7 +1742,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1697
1742
|
targets: {
|
1698
1743
|
get: {
|
1699
1744
|
body: unknown;
|
1700
|
-
params:
|
1745
|
+
params: {};
|
1701
1746
|
query: {
|
1702
1747
|
identifier?: string | undefined;
|
1703
1748
|
chainId: number;
|
@@ -1715,7 +1760,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1715
1760
|
protocols: {
|
1716
1761
|
get: {
|
1717
1762
|
body: unknown;
|
1718
|
-
params:
|
1763
|
+
params: {};
|
1719
1764
|
query: {
|
1720
1765
|
chainId?: number | undefined;
|
1721
1766
|
};
|
@@ -1737,7 +1782,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1737
1782
|
quote: {
|
1738
1783
|
get: {
|
1739
1784
|
body: unknown;
|
1740
|
-
params:
|
1785
|
+
params: {};
|
1741
1786
|
query: {
|
1742
1787
|
identifier: string;
|
1743
1788
|
chainId: number;
|
@@ -1763,7 +1808,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1763
1808
|
transaction: {
|
1764
1809
|
get: {
|
1765
1810
|
body: unknown;
|
1766
|
-
params:
|
1811
|
+
params: {};
|
1767
1812
|
query: {
|
1768
1813
|
identifier: string;
|
1769
1814
|
chainId: number;
|
@@ -1798,7 +1843,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1798
1843
|
index: {
|
1799
1844
|
get: {
|
1800
1845
|
body: unknown;
|
1801
|
-
params:
|
1846
|
+
params: {};
|
1802
1847
|
query: {
|
1803
1848
|
items?: number | undefined;
|
1804
1849
|
page?: number | undefined;
|
@@ -1826,7 +1871,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1826
1871
|
revenues: {
|
1827
1872
|
get: {
|
1828
1873
|
body: unknown;
|
1829
|
-
params:
|
1874
|
+
params: {};
|
1830
1875
|
query: unknown;
|
1831
1876
|
headers: {
|
1832
1877
|
authorization: string;
|
@@ -2035,7 +2080,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2035
2080
|
campaignId: string;
|
2036
2081
|
distributionChain: number;
|
2037
2082
|
};
|
2038
|
-
params:
|
2083
|
+
params: {};
|
2039
2084
|
query: unknown;
|
2040
2085
|
headers: {
|
2041
2086
|
authorization: string;
|
@@ -2051,7 +2096,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2051
2096
|
index: {
|
2052
2097
|
get: {
|
2053
2098
|
body: unknown;
|
2054
|
-
params:
|
2099
|
+
params: {};
|
2055
2100
|
query: unknown;
|
2056
2101
|
headers: unknown;
|
2057
2102
|
response: {
|
@@ -2072,7 +2117,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2072
2117
|
status: {
|
2073
2118
|
get: {
|
2074
2119
|
body: unknown;
|
2075
|
-
params:
|
2120
|
+
params: {};
|
2076
2121
|
query: {
|
2077
2122
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2078
2123
|
};
|
@@ -2111,7 +2156,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2111
2156
|
unique: {
|
2112
2157
|
get: {
|
2113
2158
|
body: unknown;
|
2114
|
-
params:
|
2159
|
+
params: {};
|
2115
2160
|
query: {
|
2116
2161
|
campaignId: string;
|
2117
2162
|
distributionChain: number;
|
@@ -2161,7 +2206,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2161
2206
|
overlaps: {
|
2162
2207
|
get: {
|
2163
2208
|
body: unknown;
|
2164
|
-
params:
|
2209
|
+
params: {};
|
2165
2210
|
query: {
|
2166
2211
|
campaignId: string;
|
2167
2212
|
distributionChain: number;
|
@@ -2181,7 +2226,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2181
2226
|
index: {
|
2182
2227
|
get: {
|
2183
2228
|
body: unknown;
|
2184
|
-
params:
|
2229
|
+
params: {};
|
2185
2230
|
query: {
|
2186
2231
|
user: string;
|
2187
2232
|
};
|
@@ -2198,11 +2243,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2198
2243
|
resolve: {};
|
2199
2244
|
schema: {};
|
2200
2245
|
}, {
|
2201
|
-
derive: {
|
2202
|
-
readonly tracer: import("dd-trace").Tracer;
|
2203
|
-
readonly span: import("dd-trace").Span;
|
2204
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2205
|
-
};
|
2246
|
+
derive: {};
|
2206
2247
|
resolve: {};
|
2207
2248
|
schema: {};
|
2208
2249
|
}>;
|
@@ -14,11 +14,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
14
14
|
}, {
|
15
15
|
schema: {};
|
16
16
|
macro: {};
|
17
|
+
macroFn: {};
|
17
18
|
}, {
|
18
19
|
index: {
|
19
20
|
get: {
|
20
21
|
body: unknown;
|
21
|
-
params:
|
22
|
+
params: {};
|
22
23
|
query: {
|
23
24
|
onlyLive?: boolean | undefined;
|
24
25
|
};
|
@@ -26,6 +27,10 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
26
27
|
response: {
|
27
28
|
[x: string]: any;
|
28
29
|
200: any;
|
30
|
+
readonly 400: {
|
31
|
+
message?: string | undefined;
|
32
|
+
error: string;
|
33
|
+
};
|
29
34
|
};
|
30
35
|
};
|
31
36
|
};
|