@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
@@ -46,11 +46,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
46
46
|
}, {
|
47
47
|
schema: {};
|
48
48
|
macro: {};
|
49
|
+
macroFn: {};
|
49
50
|
}, false & {
|
50
51
|
index: {
|
51
52
|
get: {
|
52
53
|
body: unknown;
|
53
|
-
params:
|
54
|
+
params: {};
|
54
55
|
query: unknown;
|
55
56
|
headers: unknown;
|
56
57
|
response: {
|
@@ -79,7 +80,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
79
80
|
protocols: string[];
|
80
81
|
mainProtocol: string;
|
81
82
|
};
|
82
|
-
params:
|
83
|
+
params: {};
|
83
84
|
query: unknown;
|
84
85
|
headers: {
|
85
86
|
authorization: string;
|
@@ -134,6 +135,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
134
135
|
value: number;
|
135
136
|
campaignId: string;
|
136
137
|
dailyRewardsRecordId: string;
|
138
|
+
token: {
|
139
|
+
symbol: string;
|
140
|
+
name: string | null;
|
141
|
+
id: string;
|
142
|
+
chainId: number;
|
143
|
+
address: string;
|
144
|
+
icon: string;
|
145
|
+
decimals: number;
|
146
|
+
verified: boolean;
|
147
|
+
price: number | null;
|
148
|
+
};
|
149
|
+
amount: bigint;
|
137
150
|
}[];
|
138
151
|
};
|
139
152
|
id: string;
|
@@ -188,7 +201,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
188
201
|
query: unknown;
|
189
202
|
headers: unknown;
|
190
203
|
response: {
|
191
|
-
200:
|
204
|
+
200: {
|
192
205
|
aprRecord: {
|
193
206
|
cumulated: number;
|
194
207
|
timestamp: bigint;
|
@@ -221,6 +234,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
221
234
|
value: number;
|
222
235
|
campaignId: string;
|
223
236
|
dailyRewardsRecordId: string;
|
237
|
+
token: {
|
238
|
+
symbol: string;
|
239
|
+
name: string | null;
|
240
|
+
id: string;
|
241
|
+
chainId: number;
|
242
|
+
address: string;
|
243
|
+
icon: string;
|
244
|
+
decimals: number;
|
245
|
+
verified: boolean;
|
246
|
+
price: number | null;
|
247
|
+
};
|
248
|
+
amount: bigint;
|
224
249
|
}[];
|
225
250
|
};
|
226
251
|
id: string;
|
@@ -258,7 +283,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
258
283
|
tvl: number;
|
259
284
|
apr: number;
|
260
285
|
dailyRewards: number;
|
261
|
-
} & {
|
262
286
|
campaigns: ({
|
263
287
|
params: any;
|
264
288
|
chain: {
|
@@ -295,7 +319,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
295
319
|
opportunityId: string;
|
296
320
|
creatorAddress: string;
|
297
321
|
} | null)[];
|
298
|
-
}
|
322
|
+
} | null | undefined;
|
299
323
|
};
|
300
324
|
};
|
301
325
|
};
|
@@ -306,9 +330,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
306
330
|
index: {
|
307
331
|
get: {
|
308
332
|
body: unknown;
|
309
|
-
params:
|
333
|
+
params: {};
|
310
334
|
query: {
|
311
|
-
sort?:
|
335
|
+
sort?: undefined;
|
312
336
|
name?: string | undefined;
|
313
337
|
tokens?: string | undefined;
|
314
338
|
status?: string | undefined;
|
@@ -318,7 +342,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
318
342
|
page?: number | undefined;
|
319
343
|
action?: string | undefined;
|
320
344
|
mainProtocolId?: string | undefined;
|
321
|
-
order?:
|
345
|
+
order?: undefined;
|
322
346
|
};
|
323
347
|
headers: unknown;
|
324
348
|
response: {
|
@@ -355,6 +379,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
355
379
|
value: number;
|
356
380
|
campaignId: string;
|
357
381
|
dailyRewardsRecordId: string;
|
382
|
+
token: {
|
383
|
+
symbol: string;
|
384
|
+
name: string | null;
|
385
|
+
id: string;
|
386
|
+
chainId: number;
|
387
|
+
address: string;
|
388
|
+
icon: string;
|
389
|
+
decimals: number;
|
390
|
+
verified: boolean;
|
391
|
+
price: number | null;
|
392
|
+
};
|
393
|
+
amount: bigint;
|
358
394
|
}[];
|
359
395
|
};
|
360
396
|
id: string;
|
@@ -402,9 +438,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
402
438
|
count: {
|
403
439
|
get: {
|
404
440
|
body: unknown;
|
405
|
-
params:
|
441
|
+
params: {};
|
406
442
|
query: {
|
407
|
-
sort?:
|
443
|
+
sort?: undefined;
|
408
444
|
name?: string | undefined;
|
409
445
|
tokens?: string | undefined;
|
410
446
|
status?: string | undefined;
|
@@ -414,7 +450,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
414
450
|
page?: number | undefined;
|
415
451
|
action?: string | undefined;
|
416
452
|
mainProtocolId?: string | undefined;
|
417
|
-
order?:
|
453
|
+
order?: undefined;
|
418
454
|
};
|
419
455
|
headers: unknown;
|
420
456
|
response: {
|
@@ -444,7 +480,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
444
480
|
rewardTokenAddress: string;
|
445
481
|
opportunityIdentifier: string;
|
446
482
|
};
|
447
|
-
params:
|
483
|
+
params: {};
|
448
484
|
query: unknown;
|
449
485
|
headers: {
|
450
486
|
authorization: string;
|
@@ -472,7 +508,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
472
508
|
index: {
|
473
509
|
get: {
|
474
510
|
body: unknown;
|
475
|
-
params:
|
511
|
+
params: {};
|
476
512
|
query: {
|
477
513
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
478
514
|
items?: number | undefined;
|
@@ -532,7 +568,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
532
568
|
count: {
|
533
569
|
get: {
|
534
570
|
body: unknown;
|
535
|
-
params:
|
571
|
+
params: {};
|
536
572
|
query: {
|
537
573
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
538
574
|
items?: number | undefined;
|
@@ -558,7 +594,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
558
594
|
index: {
|
559
595
|
get: {
|
560
596
|
body: unknown;
|
561
|
-
params:
|
597
|
+
params: {};
|
562
598
|
query: {
|
563
599
|
chainId: number;
|
564
600
|
};
|
@@ -580,7 +616,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
580
616
|
count: {
|
581
617
|
get: {
|
582
618
|
body: unknown;
|
583
|
-
params:
|
619
|
+
params: {};
|
584
620
|
query: {
|
585
621
|
chainId: number;
|
586
622
|
};
|
@@ -596,7 +632,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
596
632
|
index: {
|
597
633
|
post: {
|
598
634
|
body: unknown;
|
599
|
-
params:
|
635
|
+
params: {};
|
600
636
|
query: {
|
601
637
|
chainId: number;
|
602
638
|
};
|
@@ -617,17 +653,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
617
653
|
":id": {
|
618
654
|
get: {
|
619
655
|
body: unknown;
|
620
|
-
params:
|
656
|
+
params: {
|
657
|
+
id: string;
|
658
|
+
};
|
621
659
|
query: unknown;
|
622
660
|
headers: unknown;
|
623
661
|
response: {
|
624
|
-
200:
|
662
|
+
200: {
|
625
663
|
name: string;
|
626
664
|
url: string;
|
627
665
|
description: string;
|
628
666
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
629
667
|
icon: string;
|
630
|
-
}
|
668
|
+
} | null;
|
631
669
|
};
|
632
670
|
};
|
633
671
|
};
|
@@ -637,7 +675,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
637
675
|
index: {
|
638
676
|
get: {
|
639
677
|
body: unknown;
|
640
|
-
params:
|
678
|
+
params: {};
|
641
679
|
query: {
|
642
680
|
name?: string | undefined;
|
643
681
|
id?: string[] | undefined;
|
@@ -663,7 +701,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
663
701
|
count: {
|
664
702
|
get: {
|
665
703
|
body: unknown;
|
666
|
-
params:
|
704
|
+
params: {};
|
667
705
|
query: {
|
668
706
|
name?: string | undefined;
|
669
707
|
id?: string[] | undefined;
|
@@ -691,7 +729,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
691
729
|
query: unknown;
|
692
730
|
headers: unknown;
|
693
731
|
response: {
|
694
|
-
200:
|
732
|
+
200: {
|
695
733
|
symbol: string;
|
696
734
|
name: string | null;
|
697
735
|
id: string;
|
@@ -700,9 +738,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
700
738
|
icon: string;
|
701
739
|
decimals: number;
|
702
740
|
verified: boolean;
|
703
|
-
} & {
|
704
741
|
price?: number | null | undefined;
|
705
|
-
}
|
742
|
+
} | undefined;
|
706
743
|
};
|
707
744
|
};
|
708
745
|
};
|
@@ -712,7 +749,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
712
749
|
balances: {
|
713
750
|
get: {
|
714
751
|
body: unknown;
|
715
|
-
params:
|
752
|
+
params: {};
|
716
753
|
query: {
|
717
754
|
tokenAddress?: string | undefined;
|
718
755
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -744,7 +781,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
744
781
|
index: {
|
745
782
|
get: {
|
746
783
|
body: unknown;
|
747
|
-
params:
|
784
|
+
params: {};
|
748
785
|
query: {
|
749
786
|
symbol?: string | undefined;
|
750
787
|
name?: string | undefined;
|
@@ -775,7 +812,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
775
812
|
count: {
|
776
813
|
get: {
|
777
814
|
body: unknown;
|
778
|
-
params:
|
815
|
+
params: {};
|
779
816
|
query: {
|
780
817
|
symbol?: string | undefined;
|
781
818
|
name?: string | undefined;
|
@@ -797,7 +834,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
797
834
|
index: {
|
798
835
|
get: {
|
799
836
|
body: unknown;
|
800
|
-
params:
|
837
|
+
params: {};
|
801
838
|
query: {
|
802
839
|
items?: number | undefined;
|
803
840
|
page?: number | undefined;
|
@@ -816,7 +853,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
816
853
|
total: {
|
817
854
|
get: {
|
818
855
|
body: unknown;
|
819
|
-
params:
|
856
|
+
params: {};
|
820
857
|
query: {
|
821
858
|
items?: number | undefined;
|
822
859
|
page?: number | undefined;
|
@@ -844,13 +881,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
844
881
|
proofs: string[];
|
845
882
|
rewardToken: string;
|
846
883
|
}[];
|
847
|
-
params:
|
884
|
+
params: {};
|
848
885
|
query: unknown;
|
849
886
|
headers: {
|
850
887
|
authorization: string;
|
851
888
|
};
|
852
889
|
response: {
|
853
|
-
200:
|
890
|
+
200: {
|
891
|
+
count: number;
|
892
|
+
};
|
854
893
|
};
|
855
894
|
};
|
856
895
|
};
|
@@ -876,13 +915,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
876
915
|
claimed: string;
|
877
916
|
}[];
|
878
917
|
}[];
|
879
|
-
params:
|
918
|
+
params: {};
|
880
919
|
query: unknown;
|
881
920
|
headers: {
|
882
921
|
authorization: string;
|
883
922
|
};
|
884
923
|
response: {
|
885
|
-
200:
|
924
|
+
200: {
|
925
|
+
count: number;
|
926
|
+
} | undefined;
|
886
927
|
};
|
887
928
|
};
|
888
929
|
};
|
@@ -912,7 +953,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
912
953
|
recipient: string;
|
913
954
|
}[];
|
914
955
|
};
|
915
|
-
params:
|
956
|
+
params: {};
|
916
957
|
query: unknown;
|
917
958
|
headers: {
|
918
959
|
authorization: string;
|
@@ -928,7 +969,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
928
969
|
count: {
|
929
970
|
get: {
|
930
971
|
body: unknown;
|
931
|
-
params:
|
972
|
+
params: {};
|
932
973
|
query: {
|
933
974
|
items?: number | undefined;
|
934
975
|
page?: number | undefined;
|
@@ -950,16 +991,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
950
991
|
chains: {
|
951
992
|
get: {
|
952
993
|
body: unknown;
|
953
|
-
params:
|
994
|
+
params: {};
|
954
995
|
query: unknown;
|
955
996
|
headers: {
|
956
997
|
authorization: string;
|
957
998
|
};
|
958
999
|
response: {
|
959
|
-
200:
|
960
|
-
|
961
|
-
|
962
|
-
|
1000
|
+
200: {
|
1001
|
+
[x: string]: {
|
1002
|
+
breakdown: number;
|
1003
|
+
rewards: Record<string, number>;
|
1004
|
+
};
|
1005
|
+
};
|
963
1006
|
};
|
964
1007
|
};
|
965
1008
|
};
|
@@ -996,7 +1039,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
996
1039
|
index: {
|
997
1040
|
get: {
|
998
1041
|
body: unknown;
|
999
|
-
params:
|
1042
|
+
params: {};
|
1000
1043
|
query: {
|
1001
1044
|
search?: string | undefined;
|
1002
1045
|
};
|
@@ -1020,7 +1063,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1020
1063
|
count: {
|
1021
1064
|
get: {
|
1022
1065
|
body: unknown;
|
1023
|
-
params:
|
1066
|
+
params: {};
|
1024
1067
|
query: {
|
1025
1068
|
search?: string | undefined;
|
1026
1069
|
};
|
@@ -1038,7 +1081,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1038
1081
|
url: string;
|
1039
1082
|
chainId: number;
|
1040
1083
|
};
|
1041
|
-
params:
|
1084
|
+
params: {};
|
1042
1085
|
query: unknown;
|
1043
1086
|
headers: {
|
1044
1087
|
authorization: string;
|
@@ -1061,12 +1104,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1061
1104
|
index: {
|
1062
1105
|
get: {
|
1063
1106
|
body: unknown;
|
1064
|
-
params:
|
1107
|
+
params: {};
|
1065
1108
|
query: unknown;
|
1066
1109
|
headers: unknown;
|
1067
1110
|
response: {
|
1068
1111
|
200: {
|
1069
|
-
[
|
1112
|
+
[x: string]: number;
|
1070
1113
|
};
|
1071
1114
|
};
|
1072
1115
|
};
|
@@ -1075,7 +1118,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1075
1118
|
array: {
|
1076
1119
|
get: {
|
1077
1120
|
body: unknown;
|
1078
|
-
params:
|
1121
|
+
params: {};
|
1079
1122
|
query: unknown;
|
1080
1123
|
headers: unknown;
|
1081
1124
|
response: {
|
@@ -1107,7 +1150,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1107
1150
|
index: {
|
1108
1151
|
get: {
|
1109
1152
|
body: unknown;
|
1110
|
-
params:
|
1153
|
+
params: {};
|
1111
1154
|
query: unknown;
|
1112
1155
|
headers: unknown;
|
1113
1156
|
response: {
|
@@ -1153,7 +1196,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1153
1196
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1154
1197
|
args: {};
|
1155
1198
|
};
|
1156
|
-
params:
|
1199
|
+
params: {};
|
1157
1200
|
query: unknown;
|
1158
1201
|
headers: {
|
1159
1202
|
authorization: string;
|
@@ -1226,7 +1269,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1226
1269
|
index: {
|
1227
1270
|
get: {
|
1228
1271
|
body: unknown;
|
1229
|
-
params:
|
1272
|
+
params: {};
|
1230
1273
|
query: unknown;
|
1231
1274
|
headers: unknown;
|
1232
1275
|
response: {
|
@@ -1247,12 +1290,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1247
1290
|
all: {
|
1248
1291
|
get: {
|
1249
1292
|
body: unknown;
|
1250
|
-
params:
|
1293
|
+
params: {};
|
1251
1294
|
query: unknown;
|
1252
1295
|
headers: unknown;
|
1253
1296
|
response: {
|
1254
1297
|
200: {
|
1255
|
-
[
|
1298
|
+
[x: string]: boolean;
|
1256
1299
|
};
|
1257
1300
|
};
|
1258
1301
|
};
|
@@ -1286,7 +1329,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1286
1329
|
poolAddress: string;
|
1287
1330
|
userAddress: string;
|
1288
1331
|
};
|
1289
|
-
params:
|
1332
|
+
params: {};
|
1290
1333
|
query: unknown;
|
1291
1334
|
headers: {
|
1292
1335
|
authorization: string;
|
@@ -1331,7 +1374,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1331
1374
|
index: {
|
1332
1375
|
get: {
|
1333
1376
|
body: unknown;
|
1334
|
-
params:
|
1377
|
+
params: {};
|
1335
1378
|
query: {
|
1336
1379
|
items?: number | undefined;
|
1337
1380
|
tags?: string[] | undefined;
|
@@ -1353,7 +1396,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1353
1396
|
tags: {
|
1354
1397
|
get: {
|
1355
1398
|
body: unknown;
|
1356
|
-
params:
|
1399
|
+
params: {};
|
1357
1400
|
query: unknown;
|
1358
1401
|
headers: {
|
1359
1402
|
authorization: string;
|
@@ -1372,7 +1415,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1372
1415
|
":address": {
|
1373
1416
|
get: {
|
1374
1417
|
body: unknown;
|
1375
|
-
params:
|
1418
|
+
params: {
|
1419
|
+
address: string;
|
1420
|
+
};
|
1376
1421
|
query: unknown;
|
1377
1422
|
headers: unknown;
|
1378
1423
|
response: {
|
@@ -1610,7 +1655,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1610
1655
|
tags: string[];
|
1611
1656
|
address: string;
|
1612
1657
|
};
|
1613
|
-
params:
|
1658
|
+
params: {};
|
1614
1659
|
query: unknown;
|
1615
1660
|
headers: {
|
1616
1661
|
authorization: string;
|
@@ -1629,7 +1674,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1629
1674
|
sync: {
|
1630
1675
|
post: {
|
1631
1676
|
body: unknown;
|
1632
|
-
params:
|
1677
|
+
params: {};
|
1633
1678
|
query: unknown;
|
1634
1679
|
headers: {
|
1635
1680
|
authorization: string;
|
@@ -1672,7 +1717,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1672
1717
|
timestamps: {
|
1673
1718
|
get: {
|
1674
1719
|
body: unknown;
|
1675
|
-
params:
|
1720
|
+
params: {};
|
1676
1721
|
query: {
|
1677
1722
|
chainId: number;
|
1678
1723
|
fromTimestamp: string;
|
@@ -1695,7 +1740,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1695
1740
|
index: {
|
1696
1741
|
get: {
|
1697
1742
|
body: unknown;
|
1698
|
-
params:
|
1743
|
+
params: {};
|
1699
1744
|
query: unknown;
|
1700
1745
|
headers: unknown;
|
1701
1746
|
response: {
|
@@ -1715,7 +1760,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1715
1760
|
targets: {
|
1716
1761
|
get: {
|
1717
1762
|
body: unknown;
|
1718
|
-
params:
|
1763
|
+
params: {};
|
1719
1764
|
query: {
|
1720
1765
|
identifier?: string | undefined;
|
1721
1766
|
chainId: number;
|
@@ -1733,7 +1778,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1733
1778
|
protocols: {
|
1734
1779
|
get: {
|
1735
1780
|
body: unknown;
|
1736
|
-
params:
|
1781
|
+
params: {};
|
1737
1782
|
query: {
|
1738
1783
|
chainId?: number | undefined;
|
1739
1784
|
};
|
@@ -1755,7 +1800,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1755
1800
|
quote: {
|
1756
1801
|
get: {
|
1757
1802
|
body: unknown;
|
1758
|
-
params:
|
1803
|
+
params: {};
|
1759
1804
|
query: {
|
1760
1805
|
identifier: string;
|
1761
1806
|
chainId: number;
|
@@ -1781,7 +1826,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1781
1826
|
transaction: {
|
1782
1827
|
get: {
|
1783
1828
|
body: unknown;
|
1784
|
-
params:
|
1829
|
+
params: {};
|
1785
1830
|
query: {
|
1786
1831
|
identifier: string;
|
1787
1832
|
chainId: number;
|
@@ -1816,7 +1861,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1816
1861
|
index: {
|
1817
1862
|
get: {
|
1818
1863
|
body: unknown;
|
1819
|
-
params:
|
1864
|
+
params: {};
|
1820
1865
|
query: {
|
1821
1866
|
items?: number | undefined;
|
1822
1867
|
page?: number | undefined;
|
@@ -1844,7 +1889,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1844
1889
|
revenues: {
|
1845
1890
|
get: {
|
1846
1891
|
body: unknown;
|
1847
|
-
params:
|
1892
|
+
params: {};
|
1848
1893
|
query: unknown;
|
1849
1894
|
headers: {
|
1850
1895
|
authorization: string;
|
@@ -2053,7 +2098,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2053
2098
|
campaignId: string;
|
2054
2099
|
distributionChain: number;
|
2055
2100
|
};
|
2056
|
-
params:
|
2101
|
+
params: {};
|
2057
2102
|
query: unknown;
|
2058
2103
|
headers: {
|
2059
2104
|
authorization: string;
|
@@ -2069,7 +2114,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2069
2114
|
index: {
|
2070
2115
|
get: {
|
2071
2116
|
body: unknown;
|
2072
|
-
params:
|
2117
|
+
params: {};
|
2073
2118
|
query: unknown;
|
2074
2119
|
headers: unknown;
|
2075
2120
|
response: {
|
@@ -2090,7 +2135,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2090
2135
|
status: {
|
2091
2136
|
get: {
|
2092
2137
|
body: unknown;
|
2093
|
-
params:
|
2138
|
+
params: {};
|
2094
2139
|
query: {
|
2095
2140
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2096
2141
|
};
|
@@ -2129,7 +2174,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2129
2174
|
unique: {
|
2130
2175
|
get: {
|
2131
2176
|
body: unknown;
|
2132
|
-
params:
|
2177
|
+
params: {};
|
2133
2178
|
query: {
|
2134
2179
|
campaignId: string;
|
2135
2180
|
distributionChain: number;
|
@@ -2179,7 +2224,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2179
2224
|
overlaps: {
|
2180
2225
|
get: {
|
2181
2226
|
body: unknown;
|
2182
|
-
params:
|
2227
|
+
params: {};
|
2183
2228
|
query: {
|
2184
2229
|
campaignId: string;
|
2185
2230
|
distributionChain: number;
|
@@ -2199,14 +2244,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2199
2244
|
index: {
|
2200
2245
|
get: {
|
2201
2246
|
body: unknown;
|
2202
|
-
params:
|
2247
|
+
params: {};
|
2203
2248
|
query: {
|
2204
|
-
chainId:
|
2249
|
+
chainId: never;
|
2205
2250
|
user: string;
|
2206
2251
|
};
|
2207
2252
|
headers: unknown;
|
2208
2253
|
response: {
|
2209
|
-
|
2254
|
+
[x: string]: any;
|
2255
|
+
200: any;
|
2210
2256
|
};
|
2211
2257
|
};
|
2212
2258
|
};
|
@@ -2215,11 +2261,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2215
2261
|
resolve: {};
|
2216
2262
|
schema: {};
|
2217
2263
|
}, {
|
2218
|
-
derive: {
|
2219
|
-
readonly tracer: import("dd-trace").Tracer;
|
2220
|
-
readonly span: import("dd-trace").Span;
|
2221
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2222
|
-
};
|
2264
|
+
derive: {};
|
2223
2265
|
resolve: {};
|
2224
2266
|
schema: {};
|
2225
2267
|
}>;
|
@@ -27,11 +27,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
27
27
|
}, {
|
28
28
|
schema: {};
|
29
29
|
macro: {};
|
30
|
+
macroFn: {};
|
30
31
|
}, {
|
31
32
|
index: {
|
32
33
|
get: {
|
33
34
|
body: unknown;
|
34
|
-
params:
|
35
|
+
params: {};
|
35
36
|
query: {
|
36
37
|
chainId: number;
|
37
38
|
poolAddressProvider: string;
|