@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
@@ -27,11 +27,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
27
27
|
}, {
|
28
28
|
schema: {};
|
29
29
|
macro: {};
|
30
|
+
macroFn: {};
|
30
31
|
}, false & {
|
31
32
|
index: {
|
32
33
|
get: {
|
33
34
|
body: unknown;
|
34
|
-
params:
|
35
|
+
params: {};
|
35
36
|
query: unknown;
|
36
37
|
headers: unknown;
|
37
38
|
response: {
|
@@ -60,7 +61,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
60
61
|
protocols: string[];
|
61
62
|
mainProtocol: string;
|
62
63
|
};
|
63
|
-
params:
|
64
|
+
params: {};
|
64
65
|
query: unknown;
|
65
66
|
headers: {
|
66
67
|
authorization: string;
|
@@ -115,6 +116,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
115
116
|
value: number;
|
116
117
|
campaignId: string;
|
117
118
|
dailyRewardsRecordId: string;
|
119
|
+
token: {
|
120
|
+
symbol: string;
|
121
|
+
name: string | null;
|
122
|
+
id: string;
|
123
|
+
chainId: number;
|
124
|
+
address: string;
|
125
|
+
icon: string;
|
126
|
+
decimals: number;
|
127
|
+
verified: boolean;
|
128
|
+
price: number | null;
|
129
|
+
};
|
130
|
+
amount: bigint;
|
118
131
|
}[];
|
119
132
|
};
|
120
133
|
id: string;
|
@@ -169,7 +182,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
169
182
|
query: unknown;
|
170
183
|
headers: unknown;
|
171
184
|
response: {
|
172
|
-
200:
|
185
|
+
200: {
|
173
186
|
aprRecord: {
|
174
187
|
cumulated: number;
|
175
188
|
timestamp: bigint;
|
@@ -202,6 +215,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
202
215
|
value: number;
|
203
216
|
campaignId: string;
|
204
217
|
dailyRewardsRecordId: string;
|
218
|
+
token: {
|
219
|
+
symbol: string;
|
220
|
+
name: string | null;
|
221
|
+
id: string;
|
222
|
+
chainId: number;
|
223
|
+
address: string;
|
224
|
+
icon: string;
|
225
|
+
decimals: number;
|
226
|
+
verified: boolean;
|
227
|
+
price: number | null;
|
228
|
+
};
|
229
|
+
amount: bigint;
|
205
230
|
}[];
|
206
231
|
};
|
207
232
|
id: string;
|
@@ -239,7 +264,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
239
264
|
tvl: number;
|
240
265
|
apr: number;
|
241
266
|
dailyRewards: number;
|
242
|
-
} & {
|
243
267
|
campaigns: ({
|
244
268
|
params: any;
|
245
269
|
chain: {
|
@@ -276,7 +300,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
276
300
|
opportunityId: string;
|
277
301
|
creatorAddress: string;
|
278
302
|
} | null)[];
|
279
|
-
}
|
303
|
+
} | null | undefined;
|
280
304
|
};
|
281
305
|
};
|
282
306
|
};
|
@@ -287,9 +311,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
287
311
|
index: {
|
288
312
|
get: {
|
289
313
|
body: unknown;
|
290
|
-
params:
|
314
|
+
params: {};
|
291
315
|
query: {
|
292
|
-
sort?:
|
316
|
+
sort?: undefined;
|
293
317
|
name?: string | undefined;
|
294
318
|
tokens?: string | undefined;
|
295
319
|
status?: string | undefined;
|
@@ -299,7 +323,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
299
323
|
page?: number | undefined;
|
300
324
|
action?: string | undefined;
|
301
325
|
mainProtocolId?: string | undefined;
|
302
|
-
order?:
|
326
|
+
order?: undefined;
|
303
327
|
};
|
304
328
|
headers: unknown;
|
305
329
|
response: {
|
@@ -336,6 +360,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
336
360
|
value: number;
|
337
361
|
campaignId: string;
|
338
362
|
dailyRewardsRecordId: string;
|
363
|
+
token: {
|
364
|
+
symbol: string;
|
365
|
+
name: string | null;
|
366
|
+
id: string;
|
367
|
+
chainId: number;
|
368
|
+
address: string;
|
369
|
+
icon: string;
|
370
|
+
decimals: number;
|
371
|
+
verified: boolean;
|
372
|
+
price: number | null;
|
373
|
+
};
|
374
|
+
amount: bigint;
|
339
375
|
}[];
|
340
376
|
};
|
341
377
|
id: string;
|
@@ -383,9 +419,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
383
419
|
count: {
|
384
420
|
get: {
|
385
421
|
body: unknown;
|
386
|
-
params:
|
422
|
+
params: {};
|
387
423
|
query: {
|
388
|
-
sort?:
|
424
|
+
sort?: undefined;
|
389
425
|
name?: string | undefined;
|
390
426
|
tokens?: string | undefined;
|
391
427
|
status?: string | undefined;
|
@@ -395,7 +431,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
395
431
|
page?: number | undefined;
|
396
432
|
action?: string | undefined;
|
397
433
|
mainProtocolId?: string | undefined;
|
398
|
-
order?:
|
434
|
+
order?: undefined;
|
399
435
|
};
|
400
436
|
headers: unknown;
|
401
437
|
response: {
|
@@ -425,7 +461,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
425
461
|
rewardTokenAddress: string;
|
426
462
|
opportunityIdentifier: string;
|
427
463
|
};
|
428
|
-
params:
|
464
|
+
params: {};
|
429
465
|
query: unknown;
|
430
466
|
headers: {
|
431
467
|
authorization: string;
|
@@ -453,7 +489,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
453
489
|
index: {
|
454
490
|
get: {
|
455
491
|
body: unknown;
|
456
|
-
params:
|
492
|
+
params: {};
|
457
493
|
query: {
|
458
494
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
459
495
|
items?: number | undefined;
|
@@ -513,7 +549,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
513
549
|
count: {
|
514
550
|
get: {
|
515
551
|
body: unknown;
|
516
|
-
params:
|
552
|
+
params: {};
|
517
553
|
query: {
|
518
554
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
519
555
|
items?: number | undefined;
|
@@ -539,7 +575,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
539
575
|
index: {
|
540
576
|
get: {
|
541
577
|
body: unknown;
|
542
|
-
params:
|
578
|
+
params: {};
|
543
579
|
query: {
|
544
580
|
chainId: number;
|
545
581
|
};
|
@@ -561,7 +597,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
561
597
|
count: {
|
562
598
|
get: {
|
563
599
|
body: unknown;
|
564
|
-
params:
|
600
|
+
params: {};
|
565
601
|
query: {
|
566
602
|
chainId: number;
|
567
603
|
};
|
@@ -577,7 +613,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
577
613
|
index: {
|
578
614
|
post: {
|
579
615
|
body: unknown;
|
580
|
-
params:
|
616
|
+
params: {};
|
581
617
|
query: {
|
582
618
|
chainId: number;
|
583
619
|
};
|
@@ -598,17 +634,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
598
634
|
":id": {
|
599
635
|
get: {
|
600
636
|
body: unknown;
|
601
|
-
params:
|
637
|
+
params: {
|
638
|
+
id: string;
|
639
|
+
};
|
602
640
|
query: unknown;
|
603
641
|
headers: unknown;
|
604
642
|
response: {
|
605
|
-
200:
|
643
|
+
200: {
|
606
644
|
name: string;
|
607
645
|
url: string;
|
608
646
|
description: string;
|
609
647
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
610
648
|
icon: string;
|
611
|
-
}
|
649
|
+
} | null;
|
612
650
|
};
|
613
651
|
};
|
614
652
|
};
|
@@ -618,7 +656,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
618
656
|
index: {
|
619
657
|
get: {
|
620
658
|
body: unknown;
|
621
|
-
params:
|
659
|
+
params: {};
|
622
660
|
query: {
|
623
661
|
name?: string | undefined;
|
624
662
|
id?: string[] | undefined;
|
@@ -644,7 +682,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
644
682
|
count: {
|
645
683
|
get: {
|
646
684
|
body: unknown;
|
647
|
-
params:
|
685
|
+
params: {};
|
648
686
|
query: {
|
649
687
|
name?: string | undefined;
|
650
688
|
id?: string[] | undefined;
|
@@ -672,7 +710,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
672
710
|
query: unknown;
|
673
711
|
headers: unknown;
|
674
712
|
response: {
|
675
|
-
200:
|
713
|
+
200: {
|
676
714
|
symbol: string;
|
677
715
|
name: string | null;
|
678
716
|
id: string;
|
@@ -681,9 +719,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
681
719
|
icon: string;
|
682
720
|
decimals: number;
|
683
721
|
verified: boolean;
|
684
|
-
} & {
|
685
722
|
price?: number | null | undefined;
|
686
|
-
}
|
723
|
+
} | undefined;
|
687
724
|
};
|
688
725
|
};
|
689
726
|
};
|
@@ -693,7 +730,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
693
730
|
balances: {
|
694
731
|
get: {
|
695
732
|
body: unknown;
|
696
|
-
params:
|
733
|
+
params: {};
|
697
734
|
query: {
|
698
735
|
tokenAddress?: string | undefined;
|
699
736
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -725,7 +762,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
725
762
|
index: {
|
726
763
|
get: {
|
727
764
|
body: unknown;
|
728
|
-
params:
|
765
|
+
params: {};
|
729
766
|
query: {
|
730
767
|
symbol?: string | undefined;
|
731
768
|
name?: string | undefined;
|
@@ -756,7 +793,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
756
793
|
count: {
|
757
794
|
get: {
|
758
795
|
body: unknown;
|
759
|
-
params:
|
796
|
+
params: {};
|
760
797
|
query: {
|
761
798
|
symbol?: string | undefined;
|
762
799
|
name?: string | undefined;
|
@@ -778,7 +815,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
778
815
|
index: {
|
779
816
|
get: {
|
780
817
|
body: unknown;
|
781
|
-
params:
|
818
|
+
params: {};
|
782
819
|
query: {
|
783
820
|
items?: number | undefined;
|
784
821
|
page?: number | undefined;
|
@@ -797,7 +834,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
797
834
|
total: {
|
798
835
|
get: {
|
799
836
|
body: unknown;
|
800
|
-
params:
|
837
|
+
params: {};
|
801
838
|
query: {
|
802
839
|
items?: number | undefined;
|
803
840
|
page?: number | undefined;
|
@@ -825,13 +862,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
825
862
|
proofs: string[];
|
826
863
|
rewardToken: string;
|
827
864
|
}[];
|
828
|
-
params:
|
865
|
+
params: {};
|
829
866
|
query: unknown;
|
830
867
|
headers: {
|
831
868
|
authorization: string;
|
832
869
|
};
|
833
870
|
response: {
|
834
|
-
200:
|
871
|
+
200: {
|
872
|
+
count: number;
|
873
|
+
};
|
835
874
|
};
|
836
875
|
};
|
837
876
|
};
|
@@ -857,13 +896,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
857
896
|
claimed: string;
|
858
897
|
}[];
|
859
898
|
}[];
|
860
|
-
params:
|
899
|
+
params: {};
|
861
900
|
query: unknown;
|
862
901
|
headers: {
|
863
902
|
authorization: string;
|
864
903
|
};
|
865
904
|
response: {
|
866
|
-
200:
|
905
|
+
200: {
|
906
|
+
count: number;
|
907
|
+
} | undefined;
|
867
908
|
};
|
868
909
|
};
|
869
910
|
};
|
@@ -893,7 +934,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
893
934
|
recipient: string;
|
894
935
|
}[];
|
895
936
|
};
|
896
|
-
params:
|
937
|
+
params: {};
|
897
938
|
query: unknown;
|
898
939
|
headers: {
|
899
940
|
authorization: string;
|
@@ -909,7 +950,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
909
950
|
count: {
|
910
951
|
get: {
|
911
952
|
body: unknown;
|
912
|
-
params:
|
953
|
+
params: {};
|
913
954
|
query: {
|
914
955
|
items?: number | undefined;
|
915
956
|
page?: number | undefined;
|
@@ -931,16 +972,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
931
972
|
chains: {
|
932
973
|
get: {
|
933
974
|
body: unknown;
|
934
|
-
params:
|
975
|
+
params: {};
|
935
976
|
query: unknown;
|
936
977
|
headers: {
|
937
978
|
authorization: string;
|
938
979
|
};
|
939
980
|
response: {
|
940
|
-
200:
|
941
|
-
|
942
|
-
|
943
|
-
|
981
|
+
200: {
|
982
|
+
[x: string]: {
|
983
|
+
breakdown: number;
|
984
|
+
rewards: Record<string, number>;
|
985
|
+
};
|
986
|
+
};
|
944
987
|
};
|
945
988
|
};
|
946
989
|
};
|
@@ -977,7 +1020,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
977
1020
|
index: {
|
978
1021
|
get: {
|
979
1022
|
body: unknown;
|
980
|
-
params:
|
1023
|
+
params: {};
|
981
1024
|
query: {
|
982
1025
|
search?: string | undefined;
|
983
1026
|
};
|
@@ -1001,7 +1044,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1001
1044
|
count: {
|
1002
1045
|
get: {
|
1003
1046
|
body: unknown;
|
1004
|
-
params:
|
1047
|
+
params: {};
|
1005
1048
|
query: {
|
1006
1049
|
search?: string | undefined;
|
1007
1050
|
};
|
@@ -1019,7 +1062,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1019
1062
|
url: string;
|
1020
1063
|
chainId: number;
|
1021
1064
|
};
|
1022
|
-
params:
|
1065
|
+
params: {};
|
1023
1066
|
query: unknown;
|
1024
1067
|
headers: {
|
1025
1068
|
authorization: string;
|
@@ -1042,12 +1085,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1042
1085
|
index: {
|
1043
1086
|
get: {
|
1044
1087
|
body: unknown;
|
1045
|
-
params:
|
1088
|
+
params: {};
|
1046
1089
|
query: unknown;
|
1047
1090
|
headers: unknown;
|
1048
1091
|
response: {
|
1049
1092
|
200: {
|
1050
|
-
[
|
1093
|
+
[x: string]: number;
|
1051
1094
|
};
|
1052
1095
|
};
|
1053
1096
|
};
|
@@ -1056,7 +1099,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1056
1099
|
array: {
|
1057
1100
|
get: {
|
1058
1101
|
body: unknown;
|
1059
|
-
params:
|
1102
|
+
params: {};
|
1060
1103
|
query: unknown;
|
1061
1104
|
headers: unknown;
|
1062
1105
|
response: {
|
@@ -1088,7 +1131,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1088
1131
|
index: {
|
1089
1132
|
get: {
|
1090
1133
|
body: unknown;
|
1091
|
-
params:
|
1134
|
+
params: {};
|
1092
1135
|
query: unknown;
|
1093
1136
|
headers: unknown;
|
1094
1137
|
response: {
|
@@ -1134,7 +1177,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1134
1177
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1135
1178
|
args: {};
|
1136
1179
|
};
|
1137
|
-
params:
|
1180
|
+
params: {};
|
1138
1181
|
query: unknown;
|
1139
1182
|
headers: {
|
1140
1183
|
authorization: string;
|
@@ -1207,7 +1250,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1207
1250
|
index: {
|
1208
1251
|
get: {
|
1209
1252
|
body: unknown;
|
1210
|
-
params:
|
1253
|
+
params: {};
|
1211
1254
|
query: unknown;
|
1212
1255
|
headers: unknown;
|
1213
1256
|
response: {
|
@@ -1228,12 +1271,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1228
1271
|
all: {
|
1229
1272
|
get: {
|
1230
1273
|
body: unknown;
|
1231
|
-
params:
|
1274
|
+
params: {};
|
1232
1275
|
query: unknown;
|
1233
1276
|
headers: unknown;
|
1234
1277
|
response: {
|
1235
1278
|
200: {
|
1236
|
-
[
|
1279
|
+
[x: string]: boolean;
|
1237
1280
|
};
|
1238
1281
|
};
|
1239
1282
|
};
|
@@ -1267,7 +1310,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1267
1310
|
poolAddress: string;
|
1268
1311
|
userAddress: string;
|
1269
1312
|
};
|
1270
|
-
params:
|
1313
|
+
params: {};
|
1271
1314
|
query: unknown;
|
1272
1315
|
headers: {
|
1273
1316
|
authorization: string;
|
@@ -1312,7 +1355,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1312
1355
|
index: {
|
1313
1356
|
get: {
|
1314
1357
|
body: unknown;
|
1315
|
-
params:
|
1358
|
+
params: {};
|
1316
1359
|
query: {
|
1317
1360
|
items?: number | undefined;
|
1318
1361
|
tags?: string[] | undefined;
|
@@ -1334,7 +1377,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1334
1377
|
tags: {
|
1335
1378
|
get: {
|
1336
1379
|
body: unknown;
|
1337
|
-
params:
|
1380
|
+
params: {};
|
1338
1381
|
query: unknown;
|
1339
1382
|
headers: {
|
1340
1383
|
authorization: string;
|
@@ -1353,7 +1396,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1353
1396
|
":address": {
|
1354
1397
|
get: {
|
1355
1398
|
body: unknown;
|
1356
|
-
params:
|
1399
|
+
params: {
|
1400
|
+
address: string;
|
1401
|
+
};
|
1357
1402
|
query: unknown;
|
1358
1403
|
headers: unknown;
|
1359
1404
|
response: {
|
@@ -1591,7 +1636,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1591
1636
|
tags: string[];
|
1592
1637
|
address: string;
|
1593
1638
|
};
|
1594
|
-
params:
|
1639
|
+
params: {};
|
1595
1640
|
query: unknown;
|
1596
1641
|
headers: {
|
1597
1642
|
authorization: string;
|
@@ -1610,7 +1655,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1610
1655
|
sync: {
|
1611
1656
|
post: {
|
1612
1657
|
body: unknown;
|
1613
|
-
params:
|
1658
|
+
params: {};
|
1614
1659
|
query: unknown;
|
1615
1660
|
headers: {
|
1616
1661
|
authorization: string;
|
@@ -1653,7 +1698,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1653
1698
|
timestamps: {
|
1654
1699
|
get: {
|
1655
1700
|
body: unknown;
|
1656
|
-
params:
|
1701
|
+
params: {};
|
1657
1702
|
query: {
|
1658
1703
|
chainId: number;
|
1659
1704
|
fromTimestamp: string;
|
@@ -1676,7 +1721,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1676
1721
|
index: {
|
1677
1722
|
get: {
|
1678
1723
|
body: unknown;
|
1679
|
-
params:
|
1724
|
+
params: {};
|
1680
1725
|
query: unknown;
|
1681
1726
|
headers: unknown;
|
1682
1727
|
response: {
|
@@ -1696,7 +1741,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1696
1741
|
targets: {
|
1697
1742
|
get: {
|
1698
1743
|
body: unknown;
|
1699
|
-
params:
|
1744
|
+
params: {};
|
1700
1745
|
query: {
|
1701
1746
|
identifier?: string | undefined;
|
1702
1747
|
chainId: number;
|
@@ -1714,7 +1759,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1714
1759
|
protocols: {
|
1715
1760
|
get: {
|
1716
1761
|
body: unknown;
|
1717
|
-
params:
|
1762
|
+
params: {};
|
1718
1763
|
query: {
|
1719
1764
|
chainId?: number | undefined;
|
1720
1765
|
};
|
@@ -1736,7 +1781,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1736
1781
|
quote: {
|
1737
1782
|
get: {
|
1738
1783
|
body: unknown;
|
1739
|
-
params:
|
1784
|
+
params: {};
|
1740
1785
|
query: {
|
1741
1786
|
identifier: string;
|
1742
1787
|
chainId: number;
|
@@ -1762,7 +1807,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1762
1807
|
transaction: {
|
1763
1808
|
get: {
|
1764
1809
|
body: unknown;
|
1765
|
-
params:
|
1810
|
+
params: {};
|
1766
1811
|
query: {
|
1767
1812
|
identifier: string;
|
1768
1813
|
chainId: number;
|
@@ -1797,7 +1842,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1797
1842
|
index: {
|
1798
1843
|
get: {
|
1799
1844
|
body: unknown;
|
1800
|
-
params:
|
1845
|
+
params: {};
|
1801
1846
|
query: {
|
1802
1847
|
items?: number | undefined;
|
1803
1848
|
page?: number | undefined;
|
@@ -1825,7 +1870,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1825
1870
|
revenues: {
|
1826
1871
|
get: {
|
1827
1872
|
body: unknown;
|
1828
|
-
params:
|
1873
|
+
params: {};
|
1829
1874
|
query: unknown;
|
1830
1875
|
headers: {
|
1831
1876
|
authorization: string;
|
@@ -2034,7 +2079,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2034
2079
|
campaignId: string;
|
2035
2080
|
distributionChain: number;
|
2036
2081
|
};
|
2037
|
-
params:
|
2082
|
+
params: {};
|
2038
2083
|
query: unknown;
|
2039
2084
|
headers: {
|
2040
2085
|
authorization: string;
|
@@ -2050,7 +2095,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2050
2095
|
index: {
|
2051
2096
|
get: {
|
2052
2097
|
body: unknown;
|
2053
|
-
params:
|
2098
|
+
params: {};
|
2054
2099
|
query: unknown;
|
2055
2100
|
headers: unknown;
|
2056
2101
|
response: {
|
@@ -2071,7 +2116,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2071
2116
|
status: {
|
2072
2117
|
get: {
|
2073
2118
|
body: unknown;
|
2074
|
-
params:
|
2119
|
+
params: {};
|
2075
2120
|
query: {
|
2076
2121
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2077
2122
|
};
|
@@ -2110,7 +2155,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2110
2155
|
unique: {
|
2111
2156
|
get: {
|
2112
2157
|
body: unknown;
|
2113
|
-
params:
|
2158
|
+
params: {};
|
2114
2159
|
query: {
|
2115
2160
|
campaignId: string;
|
2116
2161
|
distributionChain: number;
|
@@ -2160,7 +2205,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2160
2205
|
overlaps: {
|
2161
2206
|
get: {
|
2162
2207
|
body: unknown;
|
2163
|
-
params:
|
2208
|
+
params: {};
|
2164
2209
|
query: {
|
2165
2210
|
campaignId: string;
|
2166
2211
|
distributionChain: number;
|
@@ -2180,7 +2225,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2180
2225
|
index: {
|
2181
2226
|
get: {
|
2182
2227
|
body: unknown;
|
2183
|
-
params:
|
2228
|
+
params: {};
|
2184
2229
|
query: {
|
2185
2230
|
chainIds?: string | string[] | undefined;
|
2186
2231
|
user: string;
|
@@ -2188,7 +2233,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2188
2233
|
};
|
2189
2234
|
headers: unknown;
|
2190
2235
|
response: {
|
2191
|
-
|
2236
|
+
[x: string]: any;
|
2237
|
+
200: any;
|
2192
2238
|
};
|
2193
2239
|
};
|
2194
2240
|
};
|
@@ -2197,11 +2243,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2197
2243
|
resolve: {};
|
2198
2244
|
schema: {};
|
2199
2245
|
}, {
|
2200
|
-
derive: {
|
2201
|
-
readonly tracer: import("dd-trace").Tracer;
|
2202
|
-
readonly span: import("dd-trace").Span;
|
2203
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2204
|
-
};
|
2246
|
+
derive: {};
|
2205
2247
|
resolve: {};
|
2206
2248
|
schema: {};
|
2207
2249
|
}>;
|