@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
@@ -31,11 +31,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
31
31
|
}, {
|
32
32
|
schema: {};
|
33
33
|
macro: {};
|
34
|
+
macroFn: {};
|
34
35
|
}, false & {
|
35
36
|
index: {
|
36
37
|
get: {
|
37
38
|
body: unknown;
|
38
|
-
params:
|
39
|
+
params: {};
|
39
40
|
query: unknown;
|
40
41
|
headers: unknown;
|
41
42
|
response: {
|
@@ -64,7 +65,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
64
65
|
protocols: string[];
|
65
66
|
mainProtocol: string;
|
66
67
|
};
|
67
|
-
params:
|
68
|
+
params: {};
|
68
69
|
query: unknown;
|
69
70
|
headers: {
|
70
71
|
authorization: string;
|
@@ -119,6 +120,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
119
120
|
value: number;
|
120
121
|
campaignId: string;
|
121
122
|
dailyRewardsRecordId: string;
|
123
|
+
token: {
|
124
|
+
symbol: string;
|
125
|
+
name: string | null;
|
126
|
+
id: string;
|
127
|
+
chainId: number;
|
128
|
+
address: string;
|
129
|
+
icon: string;
|
130
|
+
decimals: number;
|
131
|
+
verified: boolean;
|
132
|
+
price: number | null;
|
133
|
+
};
|
134
|
+
amount: bigint;
|
122
135
|
}[];
|
123
136
|
};
|
124
137
|
id: string;
|
@@ -173,7 +186,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
173
186
|
query: unknown;
|
174
187
|
headers: unknown;
|
175
188
|
response: {
|
176
|
-
200:
|
189
|
+
200: {
|
177
190
|
aprRecord: {
|
178
191
|
cumulated: number;
|
179
192
|
timestamp: bigint;
|
@@ -206,6 +219,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
206
219
|
value: number;
|
207
220
|
campaignId: string;
|
208
221
|
dailyRewardsRecordId: string;
|
222
|
+
token: {
|
223
|
+
symbol: string;
|
224
|
+
name: string | null;
|
225
|
+
id: string;
|
226
|
+
chainId: number;
|
227
|
+
address: string;
|
228
|
+
icon: string;
|
229
|
+
decimals: number;
|
230
|
+
verified: boolean;
|
231
|
+
price: number | null;
|
232
|
+
};
|
233
|
+
amount: bigint;
|
209
234
|
}[];
|
210
235
|
};
|
211
236
|
id: string;
|
@@ -243,7 +268,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
243
268
|
tvl: number;
|
244
269
|
apr: number;
|
245
270
|
dailyRewards: number;
|
246
|
-
} & {
|
247
271
|
campaigns: ({
|
248
272
|
params: any;
|
249
273
|
chain: {
|
@@ -280,7 +304,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
280
304
|
opportunityId: string;
|
281
305
|
creatorAddress: string;
|
282
306
|
} | null)[];
|
283
|
-
}
|
307
|
+
} | null | undefined;
|
284
308
|
};
|
285
309
|
};
|
286
310
|
};
|
@@ -291,9 +315,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
291
315
|
index: {
|
292
316
|
get: {
|
293
317
|
body: unknown;
|
294
|
-
params:
|
318
|
+
params: {};
|
295
319
|
query: {
|
296
|
-
sort?:
|
320
|
+
sort?: undefined;
|
297
321
|
name?: string | undefined;
|
298
322
|
tokens?: string | undefined;
|
299
323
|
status?: string | undefined;
|
@@ -303,7 +327,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
303
327
|
page?: number | undefined;
|
304
328
|
action?: string | undefined;
|
305
329
|
mainProtocolId?: string | undefined;
|
306
|
-
order?:
|
330
|
+
order?: undefined;
|
307
331
|
};
|
308
332
|
headers: unknown;
|
309
333
|
response: {
|
@@ -340,6 +364,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
340
364
|
value: number;
|
341
365
|
campaignId: string;
|
342
366
|
dailyRewardsRecordId: string;
|
367
|
+
token: {
|
368
|
+
symbol: string;
|
369
|
+
name: string | null;
|
370
|
+
id: string;
|
371
|
+
chainId: number;
|
372
|
+
address: string;
|
373
|
+
icon: string;
|
374
|
+
decimals: number;
|
375
|
+
verified: boolean;
|
376
|
+
price: number | null;
|
377
|
+
};
|
378
|
+
amount: bigint;
|
343
379
|
}[];
|
344
380
|
};
|
345
381
|
id: string;
|
@@ -387,9 +423,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
387
423
|
count: {
|
388
424
|
get: {
|
389
425
|
body: unknown;
|
390
|
-
params:
|
426
|
+
params: {};
|
391
427
|
query: {
|
392
|
-
sort?:
|
428
|
+
sort?: undefined;
|
393
429
|
name?: string | undefined;
|
394
430
|
tokens?: string | undefined;
|
395
431
|
status?: string | undefined;
|
@@ -399,7 +435,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
399
435
|
page?: number | undefined;
|
400
436
|
action?: string | undefined;
|
401
437
|
mainProtocolId?: string | undefined;
|
402
|
-
order?:
|
438
|
+
order?: undefined;
|
403
439
|
};
|
404
440
|
headers: unknown;
|
405
441
|
response: {
|
@@ -429,7 +465,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
429
465
|
rewardTokenAddress: string;
|
430
466
|
opportunityIdentifier: string;
|
431
467
|
};
|
432
|
-
params:
|
468
|
+
params: {};
|
433
469
|
query: unknown;
|
434
470
|
headers: {
|
435
471
|
authorization: string;
|
@@ -457,7 +493,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
457
493
|
index: {
|
458
494
|
get: {
|
459
495
|
body: unknown;
|
460
|
-
params:
|
496
|
+
params: {};
|
461
497
|
query: {
|
462
498
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
463
499
|
items?: number | undefined;
|
@@ -517,7 +553,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
517
553
|
count: {
|
518
554
|
get: {
|
519
555
|
body: unknown;
|
520
|
-
params:
|
556
|
+
params: {};
|
521
557
|
query: {
|
522
558
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
523
559
|
items?: number | undefined;
|
@@ -543,7 +579,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
543
579
|
index: {
|
544
580
|
get: {
|
545
581
|
body: unknown;
|
546
|
-
params:
|
582
|
+
params: {};
|
547
583
|
query: {
|
548
584
|
chainId: number;
|
549
585
|
};
|
@@ -565,7 +601,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
565
601
|
count: {
|
566
602
|
get: {
|
567
603
|
body: unknown;
|
568
|
-
params:
|
604
|
+
params: {};
|
569
605
|
query: {
|
570
606
|
chainId: number;
|
571
607
|
};
|
@@ -581,7 +617,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
581
617
|
index: {
|
582
618
|
post: {
|
583
619
|
body: unknown;
|
584
|
-
params:
|
620
|
+
params: {};
|
585
621
|
query: {
|
586
622
|
chainId: number;
|
587
623
|
};
|
@@ -602,17 +638,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
602
638
|
":id": {
|
603
639
|
get: {
|
604
640
|
body: unknown;
|
605
|
-
params:
|
641
|
+
params: {
|
642
|
+
id: string;
|
643
|
+
};
|
606
644
|
query: unknown;
|
607
645
|
headers: unknown;
|
608
646
|
response: {
|
609
|
-
200:
|
647
|
+
200: {
|
610
648
|
name: string;
|
611
649
|
url: string;
|
612
650
|
description: string;
|
613
651
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
614
652
|
icon: string;
|
615
|
-
}
|
653
|
+
} | null;
|
616
654
|
};
|
617
655
|
};
|
618
656
|
};
|
@@ -622,7 +660,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
622
660
|
index: {
|
623
661
|
get: {
|
624
662
|
body: unknown;
|
625
|
-
params:
|
663
|
+
params: {};
|
626
664
|
query: {
|
627
665
|
name?: string | undefined;
|
628
666
|
id?: string[] | undefined;
|
@@ -648,7 +686,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
648
686
|
count: {
|
649
687
|
get: {
|
650
688
|
body: unknown;
|
651
|
-
params:
|
689
|
+
params: {};
|
652
690
|
query: {
|
653
691
|
name?: string | undefined;
|
654
692
|
id?: string[] | undefined;
|
@@ -676,7 +714,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
676
714
|
query: unknown;
|
677
715
|
headers: unknown;
|
678
716
|
response: {
|
679
|
-
200:
|
717
|
+
200: {
|
680
718
|
symbol: string;
|
681
719
|
name: string | null;
|
682
720
|
id: string;
|
@@ -685,9 +723,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
685
723
|
icon: string;
|
686
724
|
decimals: number;
|
687
725
|
verified: boolean;
|
688
|
-
} & {
|
689
726
|
price?: number | null | undefined;
|
690
|
-
}
|
727
|
+
} | undefined;
|
691
728
|
};
|
692
729
|
};
|
693
730
|
};
|
@@ -697,7 +734,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
697
734
|
balances: {
|
698
735
|
get: {
|
699
736
|
body: unknown;
|
700
|
-
params:
|
737
|
+
params: {};
|
701
738
|
query: {
|
702
739
|
tokenAddress?: string | undefined;
|
703
740
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -729,7 +766,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
729
766
|
index: {
|
730
767
|
get: {
|
731
768
|
body: unknown;
|
732
|
-
params:
|
769
|
+
params: {};
|
733
770
|
query: {
|
734
771
|
symbol?: string | undefined;
|
735
772
|
name?: string | undefined;
|
@@ -760,7 +797,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
760
797
|
count: {
|
761
798
|
get: {
|
762
799
|
body: unknown;
|
763
|
-
params:
|
800
|
+
params: {};
|
764
801
|
query: {
|
765
802
|
symbol?: string | undefined;
|
766
803
|
name?: string | undefined;
|
@@ -782,7 +819,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
782
819
|
index: {
|
783
820
|
get: {
|
784
821
|
body: unknown;
|
785
|
-
params:
|
822
|
+
params: {};
|
786
823
|
query: {
|
787
824
|
items?: number | undefined;
|
788
825
|
page?: number | undefined;
|
@@ -801,7 +838,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
801
838
|
total: {
|
802
839
|
get: {
|
803
840
|
body: unknown;
|
804
|
-
params:
|
841
|
+
params: {};
|
805
842
|
query: {
|
806
843
|
items?: number | undefined;
|
807
844
|
page?: number | undefined;
|
@@ -829,13 +866,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
829
866
|
proofs: string[];
|
830
867
|
rewardToken: string;
|
831
868
|
}[];
|
832
|
-
params:
|
869
|
+
params: {};
|
833
870
|
query: unknown;
|
834
871
|
headers: {
|
835
872
|
authorization: string;
|
836
873
|
};
|
837
874
|
response: {
|
838
|
-
200:
|
875
|
+
200: {
|
876
|
+
count: number;
|
877
|
+
};
|
839
878
|
};
|
840
879
|
};
|
841
880
|
};
|
@@ -861,13 +900,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
861
900
|
claimed: string;
|
862
901
|
}[];
|
863
902
|
}[];
|
864
|
-
params:
|
903
|
+
params: {};
|
865
904
|
query: unknown;
|
866
905
|
headers: {
|
867
906
|
authorization: string;
|
868
907
|
};
|
869
908
|
response: {
|
870
|
-
200:
|
909
|
+
200: {
|
910
|
+
count: number;
|
911
|
+
} | undefined;
|
871
912
|
};
|
872
913
|
};
|
873
914
|
};
|
@@ -897,7 +938,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
897
938
|
recipient: string;
|
898
939
|
}[];
|
899
940
|
};
|
900
|
-
params:
|
941
|
+
params: {};
|
901
942
|
query: unknown;
|
902
943
|
headers: {
|
903
944
|
authorization: string;
|
@@ -913,7 +954,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
913
954
|
count: {
|
914
955
|
get: {
|
915
956
|
body: unknown;
|
916
|
-
params:
|
957
|
+
params: {};
|
917
958
|
query: {
|
918
959
|
items?: number | undefined;
|
919
960
|
page?: number | undefined;
|
@@ -935,16 +976,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
935
976
|
chains: {
|
936
977
|
get: {
|
937
978
|
body: unknown;
|
938
|
-
params:
|
979
|
+
params: {};
|
939
980
|
query: unknown;
|
940
981
|
headers: {
|
941
982
|
authorization: string;
|
942
983
|
};
|
943
984
|
response: {
|
944
|
-
200:
|
945
|
-
|
946
|
-
|
947
|
-
|
985
|
+
200: {
|
986
|
+
[x: string]: {
|
987
|
+
breakdown: number;
|
988
|
+
rewards: Record<string, number>;
|
989
|
+
};
|
990
|
+
};
|
948
991
|
};
|
949
992
|
};
|
950
993
|
};
|
@@ -981,7 +1024,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
981
1024
|
index: {
|
982
1025
|
get: {
|
983
1026
|
body: unknown;
|
984
|
-
params:
|
1027
|
+
params: {};
|
985
1028
|
query: {
|
986
1029
|
search?: string | undefined;
|
987
1030
|
};
|
@@ -1005,7 +1048,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1005
1048
|
count: {
|
1006
1049
|
get: {
|
1007
1050
|
body: unknown;
|
1008
|
-
params:
|
1051
|
+
params: {};
|
1009
1052
|
query: {
|
1010
1053
|
search?: string | undefined;
|
1011
1054
|
};
|
@@ -1023,7 +1066,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1023
1066
|
url: string;
|
1024
1067
|
chainId: number;
|
1025
1068
|
};
|
1026
|
-
params:
|
1069
|
+
params: {};
|
1027
1070
|
query: unknown;
|
1028
1071
|
headers: {
|
1029
1072
|
authorization: string;
|
@@ -1046,12 +1089,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1046
1089
|
index: {
|
1047
1090
|
get: {
|
1048
1091
|
body: unknown;
|
1049
|
-
params:
|
1092
|
+
params: {};
|
1050
1093
|
query: unknown;
|
1051
1094
|
headers: unknown;
|
1052
1095
|
response: {
|
1053
1096
|
200: {
|
1054
|
-
[
|
1097
|
+
[x: string]: number;
|
1055
1098
|
};
|
1056
1099
|
};
|
1057
1100
|
};
|
@@ -1060,7 +1103,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1060
1103
|
array: {
|
1061
1104
|
get: {
|
1062
1105
|
body: unknown;
|
1063
|
-
params:
|
1106
|
+
params: {};
|
1064
1107
|
query: unknown;
|
1065
1108
|
headers: unknown;
|
1066
1109
|
response: {
|
@@ -1092,7 +1135,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1092
1135
|
index: {
|
1093
1136
|
get: {
|
1094
1137
|
body: unknown;
|
1095
|
-
params:
|
1138
|
+
params: {};
|
1096
1139
|
query: unknown;
|
1097
1140
|
headers: unknown;
|
1098
1141
|
response: {
|
@@ -1138,7 +1181,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1138
1181
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1139
1182
|
args: {};
|
1140
1183
|
};
|
1141
|
-
params:
|
1184
|
+
params: {};
|
1142
1185
|
query: unknown;
|
1143
1186
|
headers: {
|
1144
1187
|
authorization: string;
|
@@ -1211,7 +1254,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1211
1254
|
index: {
|
1212
1255
|
get: {
|
1213
1256
|
body: unknown;
|
1214
|
-
params:
|
1257
|
+
params: {};
|
1215
1258
|
query: unknown;
|
1216
1259
|
headers: unknown;
|
1217
1260
|
response: {
|
@@ -1232,12 +1275,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1232
1275
|
all: {
|
1233
1276
|
get: {
|
1234
1277
|
body: unknown;
|
1235
|
-
params:
|
1278
|
+
params: {};
|
1236
1279
|
query: unknown;
|
1237
1280
|
headers: unknown;
|
1238
1281
|
response: {
|
1239
1282
|
200: {
|
1240
|
-
[
|
1283
|
+
[x: string]: boolean;
|
1241
1284
|
};
|
1242
1285
|
};
|
1243
1286
|
};
|
@@ -1271,7 +1314,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1271
1314
|
poolAddress: string;
|
1272
1315
|
userAddress: string;
|
1273
1316
|
};
|
1274
|
-
params:
|
1317
|
+
params: {};
|
1275
1318
|
query: unknown;
|
1276
1319
|
headers: {
|
1277
1320
|
authorization: string;
|
@@ -1316,7 +1359,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1316
1359
|
index: {
|
1317
1360
|
get: {
|
1318
1361
|
body: unknown;
|
1319
|
-
params:
|
1362
|
+
params: {};
|
1320
1363
|
query: {
|
1321
1364
|
items?: number | undefined;
|
1322
1365
|
tags?: string[] | undefined;
|
@@ -1338,7 +1381,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1338
1381
|
tags: {
|
1339
1382
|
get: {
|
1340
1383
|
body: unknown;
|
1341
|
-
params:
|
1384
|
+
params: {};
|
1342
1385
|
query: unknown;
|
1343
1386
|
headers: {
|
1344
1387
|
authorization: string;
|
@@ -1357,7 +1400,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1357
1400
|
":address": {
|
1358
1401
|
get: {
|
1359
1402
|
body: unknown;
|
1360
|
-
params:
|
1403
|
+
params: {
|
1404
|
+
address: string;
|
1405
|
+
};
|
1361
1406
|
query: unknown;
|
1362
1407
|
headers: unknown;
|
1363
1408
|
response: {
|
@@ -1595,7 +1640,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1595
1640
|
tags: string[];
|
1596
1641
|
address: string;
|
1597
1642
|
};
|
1598
|
-
params:
|
1643
|
+
params: {};
|
1599
1644
|
query: unknown;
|
1600
1645
|
headers: {
|
1601
1646
|
authorization: string;
|
@@ -1614,7 +1659,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1614
1659
|
sync: {
|
1615
1660
|
post: {
|
1616
1661
|
body: unknown;
|
1617
|
-
params:
|
1662
|
+
params: {};
|
1618
1663
|
query: unknown;
|
1619
1664
|
headers: {
|
1620
1665
|
authorization: string;
|
@@ -1657,7 +1702,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1657
1702
|
timestamps: {
|
1658
1703
|
get: {
|
1659
1704
|
body: unknown;
|
1660
|
-
params:
|
1705
|
+
params: {};
|
1661
1706
|
query: {
|
1662
1707
|
chainId: number;
|
1663
1708
|
fromTimestamp: string;
|
@@ -1680,7 +1725,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1680
1725
|
index: {
|
1681
1726
|
get: {
|
1682
1727
|
body: unknown;
|
1683
|
-
params:
|
1728
|
+
params: {};
|
1684
1729
|
query: unknown;
|
1685
1730
|
headers: unknown;
|
1686
1731
|
response: {
|
@@ -1700,7 +1745,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1700
1745
|
targets: {
|
1701
1746
|
get: {
|
1702
1747
|
body: unknown;
|
1703
|
-
params:
|
1748
|
+
params: {};
|
1704
1749
|
query: {
|
1705
1750
|
identifier?: string | undefined;
|
1706
1751
|
chainId: number;
|
@@ -1718,7 +1763,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1718
1763
|
protocols: {
|
1719
1764
|
get: {
|
1720
1765
|
body: unknown;
|
1721
|
-
params:
|
1766
|
+
params: {};
|
1722
1767
|
query: {
|
1723
1768
|
chainId?: number | undefined;
|
1724
1769
|
};
|
@@ -1740,7 +1785,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1740
1785
|
quote: {
|
1741
1786
|
get: {
|
1742
1787
|
body: unknown;
|
1743
|
-
params:
|
1788
|
+
params: {};
|
1744
1789
|
query: {
|
1745
1790
|
identifier: string;
|
1746
1791
|
chainId: number;
|
@@ -1766,7 +1811,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1766
1811
|
transaction: {
|
1767
1812
|
get: {
|
1768
1813
|
body: unknown;
|
1769
|
-
params:
|
1814
|
+
params: {};
|
1770
1815
|
query: {
|
1771
1816
|
identifier: string;
|
1772
1817
|
chainId: number;
|
@@ -1801,7 +1846,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1801
1846
|
index: {
|
1802
1847
|
get: {
|
1803
1848
|
body: unknown;
|
1804
|
-
params:
|
1849
|
+
params: {};
|
1805
1850
|
query: {
|
1806
1851
|
items?: number | undefined;
|
1807
1852
|
page?: number | undefined;
|
@@ -1829,7 +1874,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1829
1874
|
revenues: {
|
1830
1875
|
get: {
|
1831
1876
|
body: unknown;
|
1832
|
-
params:
|
1877
|
+
params: {};
|
1833
1878
|
query: unknown;
|
1834
1879
|
headers: {
|
1835
1880
|
authorization: string;
|
@@ -2038,7 +2083,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2038
2083
|
campaignId: string;
|
2039
2084
|
distributionChain: number;
|
2040
2085
|
};
|
2041
|
-
params:
|
2086
|
+
params: {};
|
2042
2087
|
query: unknown;
|
2043
2088
|
headers: {
|
2044
2089
|
authorization: string;
|
@@ -2054,7 +2099,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2054
2099
|
index: {
|
2055
2100
|
get: {
|
2056
2101
|
body: unknown;
|
2057
|
-
params:
|
2102
|
+
params: {};
|
2058
2103
|
query: unknown;
|
2059
2104
|
headers: unknown;
|
2060
2105
|
response: {
|
@@ -2075,7 +2120,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2075
2120
|
status: {
|
2076
2121
|
get: {
|
2077
2122
|
body: unknown;
|
2078
|
-
params:
|
2123
|
+
params: {};
|
2079
2124
|
query: {
|
2080
2125
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2081
2126
|
};
|
@@ -2114,7 +2159,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2114
2159
|
unique: {
|
2115
2160
|
get: {
|
2116
2161
|
body: unknown;
|
2117
|
-
params:
|
2162
|
+
params: {};
|
2118
2163
|
query: {
|
2119
2164
|
campaignId: string;
|
2120
2165
|
distributionChain: number;
|
@@ -2164,7 +2209,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2164
2209
|
overlaps: {
|
2165
2210
|
get: {
|
2166
2211
|
body: unknown;
|
2167
|
-
params:
|
2212
|
+
params: {};
|
2168
2213
|
query: {
|
2169
2214
|
campaignId: string;
|
2170
2215
|
distributionChain: number;
|
@@ -2184,7 +2229,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2184
2229
|
index: {
|
2185
2230
|
get: {
|
2186
2231
|
body: unknown;
|
2187
|
-
params:
|
2232
|
+
params: {};
|
2188
2233
|
query: {
|
2189
2234
|
types?: string | number | string[] | number[] | undefined;
|
2190
2235
|
live?: boolean | undefined;
|
@@ -2194,7 +2239,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2194
2239
|
};
|
2195
2240
|
headers: unknown;
|
2196
2241
|
response: {
|
2197
|
-
|
2242
|
+
[x: string]: any;
|
2243
|
+
200: any;
|
2198
2244
|
};
|
2199
2245
|
};
|
2200
2246
|
};
|
@@ -2203,11 +2249,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2203
2249
|
resolve: {};
|
2204
2250
|
schema: {};
|
2205
2251
|
}, {
|
2206
|
-
derive: {
|
2207
|
-
readonly tracer: import("dd-trace").Tracer;
|
2208
|
-
readonly span: import("dd-trace").Span;
|
2209
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2210
|
-
};
|
2252
|
+
derive: {};
|
2211
2253
|
resolve: {};
|
2212
2254
|
schema: {};
|
2213
2255
|
}>;
|
@@ -15,11 +15,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
15
15
|
}, {
|
16
16
|
schema: {};
|
17
17
|
macro: {};
|
18
|
+
macroFn: {};
|
18
19
|
}, {
|
19
20
|
index: {
|
20
21
|
get: {
|
21
22
|
body: unknown;
|
22
|
-
params:
|
23
|
+
params: {};
|
23
24
|
query: {
|
24
25
|
chainId: number;
|
25
26
|
mainParameter: string;
|