@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
@@ -29,11 +29,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
29
29
|
}, {
|
30
30
|
schema: {};
|
31
31
|
macro: {};
|
32
|
+
macroFn: {};
|
32
33
|
}, false & {
|
33
34
|
index: {
|
34
35
|
get: {
|
35
36
|
body: unknown;
|
36
|
-
params:
|
37
|
+
params: {};
|
37
38
|
query: unknown;
|
38
39
|
headers: unknown;
|
39
40
|
response: {
|
@@ -62,7 +63,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
62
63
|
protocols: string[];
|
63
64
|
mainProtocol: string;
|
64
65
|
};
|
65
|
-
params:
|
66
|
+
params: {};
|
66
67
|
query: unknown;
|
67
68
|
headers: {
|
68
69
|
authorization: string;
|
@@ -117,6 +118,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
117
118
|
value: number;
|
118
119
|
campaignId: string;
|
119
120
|
dailyRewardsRecordId: string;
|
121
|
+
token: {
|
122
|
+
symbol: string;
|
123
|
+
name: string | null;
|
124
|
+
id: string;
|
125
|
+
chainId: number;
|
126
|
+
address: string;
|
127
|
+
icon: string;
|
128
|
+
decimals: number;
|
129
|
+
verified: boolean;
|
130
|
+
price: number | null;
|
131
|
+
};
|
132
|
+
amount: bigint;
|
120
133
|
}[];
|
121
134
|
};
|
122
135
|
id: string;
|
@@ -171,7 +184,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
171
184
|
query: unknown;
|
172
185
|
headers: unknown;
|
173
186
|
response: {
|
174
|
-
200:
|
187
|
+
200: {
|
175
188
|
aprRecord: {
|
176
189
|
cumulated: number;
|
177
190
|
timestamp: bigint;
|
@@ -204,6 +217,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
204
217
|
value: number;
|
205
218
|
campaignId: string;
|
206
219
|
dailyRewardsRecordId: string;
|
220
|
+
token: {
|
221
|
+
symbol: string;
|
222
|
+
name: string | null;
|
223
|
+
id: string;
|
224
|
+
chainId: number;
|
225
|
+
address: string;
|
226
|
+
icon: string;
|
227
|
+
decimals: number;
|
228
|
+
verified: boolean;
|
229
|
+
price: number | null;
|
230
|
+
};
|
231
|
+
amount: bigint;
|
207
232
|
}[];
|
208
233
|
};
|
209
234
|
id: string;
|
@@ -241,7 +266,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
241
266
|
tvl: number;
|
242
267
|
apr: number;
|
243
268
|
dailyRewards: number;
|
244
|
-
} & {
|
245
269
|
campaigns: ({
|
246
270
|
params: any;
|
247
271
|
chain: {
|
@@ -278,7 +302,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
278
302
|
opportunityId: string;
|
279
303
|
creatorAddress: string;
|
280
304
|
} | null)[];
|
281
|
-
}
|
305
|
+
} | null | undefined;
|
282
306
|
};
|
283
307
|
};
|
284
308
|
};
|
@@ -289,9 +313,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
289
313
|
index: {
|
290
314
|
get: {
|
291
315
|
body: unknown;
|
292
|
-
params:
|
316
|
+
params: {};
|
293
317
|
query: {
|
294
|
-
sort?:
|
318
|
+
sort?: undefined;
|
295
319
|
name?: string | undefined;
|
296
320
|
tokens?: string | undefined;
|
297
321
|
status?: string | undefined;
|
@@ -301,7 +325,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
301
325
|
page?: number | undefined;
|
302
326
|
action?: string | undefined;
|
303
327
|
mainProtocolId?: string | undefined;
|
304
|
-
order?:
|
328
|
+
order?: undefined;
|
305
329
|
};
|
306
330
|
headers: unknown;
|
307
331
|
response: {
|
@@ -338,6 +362,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
338
362
|
value: number;
|
339
363
|
campaignId: string;
|
340
364
|
dailyRewardsRecordId: string;
|
365
|
+
token: {
|
366
|
+
symbol: string;
|
367
|
+
name: string | null;
|
368
|
+
id: string;
|
369
|
+
chainId: number;
|
370
|
+
address: string;
|
371
|
+
icon: string;
|
372
|
+
decimals: number;
|
373
|
+
verified: boolean;
|
374
|
+
price: number | null;
|
375
|
+
};
|
376
|
+
amount: bigint;
|
341
377
|
}[];
|
342
378
|
};
|
343
379
|
id: string;
|
@@ -385,9 +421,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
385
421
|
count: {
|
386
422
|
get: {
|
387
423
|
body: unknown;
|
388
|
-
params:
|
424
|
+
params: {};
|
389
425
|
query: {
|
390
|
-
sort?:
|
426
|
+
sort?: undefined;
|
391
427
|
name?: string | undefined;
|
392
428
|
tokens?: string | undefined;
|
393
429
|
status?: string | undefined;
|
@@ -397,7 +433,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
397
433
|
page?: number | undefined;
|
398
434
|
action?: string | undefined;
|
399
435
|
mainProtocolId?: string | undefined;
|
400
|
-
order?:
|
436
|
+
order?: undefined;
|
401
437
|
};
|
402
438
|
headers: unknown;
|
403
439
|
response: {
|
@@ -427,7 +463,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
427
463
|
rewardTokenAddress: string;
|
428
464
|
opportunityIdentifier: string;
|
429
465
|
};
|
430
|
-
params:
|
466
|
+
params: {};
|
431
467
|
query: unknown;
|
432
468
|
headers: {
|
433
469
|
authorization: string;
|
@@ -455,7 +491,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
455
491
|
index: {
|
456
492
|
get: {
|
457
493
|
body: unknown;
|
458
|
-
params:
|
494
|
+
params: {};
|
459
495
|
query: {
|
460
496
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
461
497
|
items?: number | undefined;
|
@@ -515,7 +551,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
515
551
|
count: {
|
516
552
|
get: {
|
517
553
|
body: unknown;
|
518
|
-
params:
|
554
|
+
params: {};
|
519
555
|
query: {
|
520
556
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
521
557
|
items?: number | undefined;
|
@@ -541,7 +577,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
541
577
|
index: {
|
542
578
|
get: {
|
543
579
|
body: unknown;
|
544
|
-
params:
|
580
|
+
params: {};
|
545
581
|
query: {
|
546
582
|
chainId: number;
|
547
583
|
};
|
@@ -563,7 +599,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
563
599
|
count: {
|
564
600
|
get: {
|
565
601
|
body: unknown;
|
566
|
-
params:
|
602
|
+
params: {};
|
567
603
|
query: {
|
568
604
|
chainId: number;
|
569
605
|
};
|
@@ -579,7 +615,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
579
615
|
index: {
|
580
616
|
post: {
|
581
617
|
body: unknown;
|
582
|
-
params:
|
618
|
+
params: {};
|
583
619
|
query: {
|
584
620
|
chainId: number;
|
585
621
|
};
|
@@ -600,17 +636,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
600
636
|
":id": {
|
601
637
|
get: {
|
602
638
|
body: unknown;
|
603
|
-
params:
|
639
|
+
params: {
|
640
|
+
id: string;
|
641
|
+
};
|
604
642
|
query: unknown;
|
605
643
|
headers: unknown;
|
606
644
|
response: {
|
607
|
-
200:
|
645
|
+
200: {
|
608
646
|
name: string;
|
609
647
|
url: string;
|
610
648
|
description: string;
|
611
649
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
612
650
|
icon: string;
|
613
|
-
}
|
651
|
+
} | null;
|
614
652
|
};
|
615
653
|
};
|
616
654
|
};
|
@@ -620,7 +658,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
620
658
|
index: {
|
621
659
|
get: {
|
622
660
|
body: unknown;
|
623
|
-
params:
|
661
|
+
params: {};
|
624
662
|
query: {
|
625
663
|
name?: string | undefined;
|
626
664
|
id?: string[] | undefined;
|
@@ -646,7 +684,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
646
684
|
count: {
|
647
685
|
get: {
|
648
686
|
body: unknown;
|
649
|
-
params:
|
687
|
+
params: {};
|
650
688
|
query: {
|
651
689
|
name?: string | undefined;
|
652
690
|
id?: string[] | undefined;
|
@@ -674,7 +712,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
674
712
|
query: unknown;
|
675
713
|
headers: unknown;
|
676
714
|
response: {
|
677
|
-
200:
|
715
|
+
200: {
|
678
716
|
symbol: string;
|
679
717
|
name: string | null;
|
680
718
|
id: string;
|
@@ -683,9 +721,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
683
721
|
icon: string;
|
684
722
|
decimals: number;
|
685
723
|
verified: boolean;
|
686
|
-
} & {
|
687
724
|
price?: number | null | undefined;
|
688
|
-
}
|
725
|
+
} | undefined;
|
689
726
|
};
|
690
727
|
};
|
691
728
|
};
|
@@ -695,7 +732,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
695
732
|
balances: {
|
696
733
|
get: {
|
697
734
|
body: unknown;
|
698
|
-
params:
|
735
|
+
params: {};
|
699
736
|
query: {
|
700
737
|
tokenAddress?: string | undefined;
|
701
738
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -727,7 +764,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
727
764
|
index: {
|
728
765
|
get: {
|
729
766
|
body: unknown;
|
730
|
-
params:
|
767
|
+
params: {};
|
731
768
|
query: {
|
732
769
|
symbol?: string | undefined;
|
733
770
|
name?: string | undefined;
|
@@ -758,7 +795,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
758
795
|
count: {
|
759
796
|
get: {
|
760
797
|
body: unknown;
|
761
|
-
params:
|
798
|
+
params: {};
|
762
799
|
query: {
|
763
800
|
symbol?: string | undefined;
|
764
801
|
name?: string | undefined;
|
@@ -780,7 +817,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
780
817
|
index: {
|
781
818
|
get: {
|
782
819
|
body: unknown;
|
783
|
-
params:
|
820
|
+
params: {};
|
784
821
|
query: {
|
785
822
|
items?: number | undefined;
|
786
823
|
page?: number | undefined;
|
@@ -799,7 +836,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
799
836
|
total: {
|
800
837
|
get: {
|
801
838
|
body: unknown;
|
802
|
-
params:
|
839
|
+
params: {};
|
803
840
|
query: {
|
804
841
|
items?: number | undefined;
|
805
842
|
page?: number | undefined;
|
@@ -827,13 +864,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
827
864
|
proofs: string[];
|
828
865
|
rewardToken: string;
|
829
866
|
}[];
|
830
|
-
params:
|
867
|
+
params: {};
|
831
868
|
query: unknown;
|
832
869
|
headers: {
|
833
870
|
authorization: string;
|
834
871
|
};
|
835
872
|
response: {
|
836
|
-
200:
|
873
|
+
200: {
|
874
|
+
count: number;
|
875
|
+
};
|
837
876
|
};
|
838
877
|
};
|
839
878
|
};
|
@@ -859,13 +898,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
859
898
|
claimed: string;
|
860
899
|
}[];
|
861
900
|
}[];
|
862
|
-
params:
|
901
|
+
params: {};
|
863
902
|
query: unknown;
|
864
903
|
headers: {
|
865
904
|
authorization: string;
|
866
905
|
};
|
867
906
|
response: {
|
868
|
-
200:
|
907
|
+
200: {
|
908
|
+
count: number;
|
909
|
+
} | undefined;
|
869
910
|
};
|
870
911
|
};
|
871
912
|
};
|
@@ -895,7 +936,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
895
936
|
recipient: string;
|
896
937
|
}[];
|
897
938
|
};
|
898
|
-
params:
|
939
|
+
params: {};
|
899
940
|
query: unknown;
|
900
941
|
headers: {
|
901
942
|
authorization: string;
|
@@ -911,7 +952,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
911
952
|
count: {
|
912
953
|
get: {
|
913
954
|
body: unknown;
|
914
|
-
params:
|
955
|
+
params: {};
|
915
956
|
query: {
|
916
957
|
items?: number | undefined;
|
917
958
|
page?: number | undefined;
|
@@ -933,16 +974,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
933
974
|
chains: {
|
934
975
|
get: {
|
935
976
|
body: unknown;
|
936
|
-
params:
|
977
|
+
params: {};
|
937
978
|
query: unknown;
|
938
979
|
headers: {
|
939
980
|
authorization: string;
|
940
981
|
};
|
941
982
|
response: {
|
942
|
-
200:
|
943
|
-
|
944
|
-
|
945
|
-
|
983
|
+
200: {
|
984
|
+
[x: string]: {
|
985
|
+
breakdown: number;
|
986
|
+
rewards: Record<string, number>;
|
987
|
+
};
|
988
|
+
};
|
946
989
|
};
|
947
990
|
};
|
948
991
|
};
|
@@ -979,7 +1022,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
979
1022
|
index: {
|
980
1023
|
get: {
|
981
1024
|
body: unknown;
|
982
|
-
params:
|
1025
|
+
params: {};
|
983
1026
|
query: {
|
984
1027
|
search?: string | undefined;
|
985
1028
|
};
|
@@ -1003,7 +1046,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1003
1046
|
count: {
|
1004
1047
|
get: {
|
1005
1048
|
body: unknown;
|
1006
|
-
params:
|
1049
|
+
params: {};
|
1007
1050
|
query: {
|
1008
1051
|
search?: string | undefined;
|
1009
1052
|
};
|
@@ -1021,7 +1064,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1021
1064
|
url: string;
|
1022
1065
|
chainId: number;
|
1023
1066
|
};
|
1024
|
-
params:
|
1067
|
+
params: {};
|
1025
1068
|
query: unknown;
|
1026
1069
|
headers: {
|
1027
1070
|
authorization: string;
|
@@ -1044,12 +1087,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1044
1087
|
index: {
|
1045
1088
|
get: {
|
1046
1089
|
body: unknown;
|
1047
|
-
params:
|
1090
|
+
params: {};
|
1048
1091
|
query: unknown;
|
1049
1092
|
headers: unknown;
|
1050
1093
|
response: {
|
1051
1094
|
200: {
|
1052
|
-
[
|
1095
|
+
[x: string]: number;
|
1053
1096
|
};
|
1054
1097
|
};
|
1055
1098
|
};
|
@@ -1058,7 +1101,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1058
1101
|
array: {
|
1059
1102
|
get: {
|
1060
1103
|
body: unknown;
|
1061
|
-
params:
|
1104
|
+
params: {};
|
1062
1105
|
query: unknown;
|
1063
1106
|
headers: unknown;
|
1064
1107
|
response: {
|
@@ -1090,7 +1133,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1090
1133
|
index: {
|
1091
1134
|
get: {
|
1092
1135
|
body: unknown;
|
1093
|
-
params:
|
1136
|
+
params: {};
|
1094
1137
|
query: unknown;
|
1095
1138
|
headers: unknown;
|
1096
1139
|
response: {
|
@@ -1136,7 +1179,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1136
1179
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1137
1180
|
args: {};
|
1138
1181
|
};
|
1139
|
-
params:
|
1182
|
+
params: {};
|
1140
1183
|
query: unknown;
|
1141
1184
|
headers: {
|
1142
1185
|
authorization: string;
|
@@ -1209,7 +1252,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1209
1252
|
index: {
|
1210
1253
|
get: {
|
1211
1254
|
body: unknown;
|
1212
|
-
params:
|
1255
|
+
params: {};
|
1213
1256
|
query: unknown;
|
1214
1257
|
headers: unknown;
|
1215
1258
|
response: {
|
@@ -1230,12 +1273,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1230
1273
|
all: {
|
1231
1274
|
get: {
|
1232
1275
|
body: unknown;
|
1233
|
-
params:
|
1276
|
+
params: {};
|
1234
1277
|
query: unknown;
|
1235
1278
|
headers: unknown;
|
1236
1279
|
response: {
|
1237
1280
|
200: {
|
1238
|
-
[
|
1281
|
+
[x: string]: boolean;
|
1239
1282
|
};
|
1240
1283
|
};
|
1241
1284
|
};
|
@@ -1269,7 +1312,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1269
1312
|
poolAddress: string;
|
1270
1313
|
userAddress: string;
|
1271
1314
|
};
|
1272
|
-
params:
|
1315
|
+
params: {};
|
1273
1316
|
query: unknown;
|
1274
1317
|
headers: {
|
1275
1318
|
authorization: string;
|
@@ -1314,7 +1357,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1314
1357
|
index: {
|
1315
1358
|
get: {
|
1316
1359
|
body: unknown;
|
1317
|
-
params:
|
1360
|
+
params: {};
|
1318
1361
|
query: {
|
1319
1362
|
items?: number | undefined;
|
1320
1363
|
tags?: string[] | undefined;
|
@@ -1336,7 +1379,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1336
1379
|
tags: {
|
1337
1380
|
get: {
|
1338
1381
|
body: unknown;
|
1339
|
-
params:
|
1382
|
+
params: {};
|
1340
1383
|
query: unknown;
|
1341
1384
|
headers: {
|
1342
1385
|
authorization: string;
|
@@ -1355,7 +1398,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1355
1398
|
":address": {
|
1356
1399
|
get: {
|
1357
1400
|
body: unknown;
|
1358
|
-
params:
|
1401
|
+
params: {
|
1402
|
+
address: string;
|
1403
|
+
};
|
1359
1404
|
query: unknown;
|
1360
1405
|
headers: unknown;
|
1361
1406
|
response: {
|
@@ -1593,7 +1638,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1593
1638
|
tags: string[];
|
1594
1639
|
address: string;
|
1595
1640
|
};
|
1596
|
-
params:
|
1641
|
+
params: {};
|
1597
1642
|
query: unknown;
|
1598
1643
|
headers: {
|
1599
1644
|
authorization: string;
|
@@ -1612,7 +1657,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1612
1657
|
sync: {
|
1613
1658
|
post: {
|
1614
1659
|
body: unknown;
|
1615
|
-
params:
|
1660
|
+
params: {};
|
1616
1661
|
query: unknown;
|
1617
1662
|
headers: {
|
1618
1663
|
authorization: string;
|
@@ -1655,7 +1700,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1655
1700
|
timestamps: {
|
1656
1701
|
get: {
|
1657
1702
|
body: unknown;
|
1658
|
-
params:
|
1703
|
+
params: {};
|
1659
1704
|
query: {
|
1660
1705
|
chainId: number;
|
1661
1706
|
fromTimestamp: string;
|
@@ -1678,7 +1723,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1678
1723
|
index: {
|
1679
1724
|
get: {
|
1680
1725
|
body: unknown;
|
1681
|
-
params:
|
1726
|
+
params: {};
|
1682
1727
|
query: unknown;
|
1683
1728
|
headers: unknown;
|
1684
1729
|
response: {
|
@@ -1698,7 +1743,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1698
1743
|
targets: {
|
1699
1744
|
get: {
|
1700
1745
|
body: unknown;
|
1701
|
-
params:
|
1746
|
+
params: {};
|
1702
1747
|
query: {
|
1703
1748
|
identifier?: string | undefined;
|
1704
1749
|
chainId: number;
|
@@ -1716,7 +1761,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1716
1761
|
protocols: {
|
1717
1762
|
get: {
|
1718
1763
|
body: unknown;
|
1719
|
-
params:
|
1764
|
+
params: {};
|
1720
1765
|
query: {
|
1721
1766
|
chainId?: number | undefined;
|
1722
1767
|
};
|
@@ -1738,7 +1783,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1738
1783
|
quote: {
|
1739
1784
|
get: {
|
1740
1785
|
body: unknown;
|
1741
|
-
params:
|
1786
|
+
params: {};
|
1742
1787
|
query: {
|
1743
1788
|
identifier: string;
|
1744
1789
|
chainId: number;
|
@@ -1764,7 +1809,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1764
1809
|
transaction: {
|
1765
1810
|
get: {
|
1766
1811
|
body: unknown;
|
1767
|
-
params:
|
1812
|
+
params: {};
|
1768
1813
|
query: {
|
1769
1814
|
identifier: string;
|
1770
1815
|
chainId: number;
|
@@ -1799,7 +1844,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1799
1844
|
index: {
|
1800
1845
|
get: {
|
1801
1846
|
body: unknown;
|
1802
|
-
params:
|
1847
|
+
params: {};
|
1803
1848
|
query: {
|
1804
1849
|
items?: number | undefined;
|
1805
1850
|
page?: number | undefined;
|
@@ -1827,7 +1872,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1827
1872
|
revenues: {
|
1828
1873
|
get: {
|
1829
1874
|
body: unknown;
|
1830
|
-
params:
|
1875
|
+
params: {};
|
1831
1876
|
query: unknown;
|
1832
1877
|
headers: {
|
1833
1878
|
authorization: string;
|
@@ -2036,7 +2081,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2036
2081
|
campaignId: string;
|
2037
2082
|
distributionChain: number;
|
2038
2083
|
};
|
2039
|
-
params:
|
2084
|
+
params: {};
|
2040
2085
|
query: unknown;
|
2041
2086
|
headers: {
|
2042
2087
|
authorization: string;
|
@@ -2052,7 +2097,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2052
2097
|
index: {
|
2053
2098
|
get: {
|
2054
2099
|
body: unknown;
|
2055
|
-
params:
|
2100
|
+
params: {};
|
2056
2101
|
query: unknown;
|
2057
2102
|
headers: unknown;
|
2058
2103
|
response: {
|
@@ -2073,7 +2118,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2073
2118
|
status: {
|
2074
2119
|
get: {
|
2075
2120
|
body: unknown;
|
2076
|
-
params:
|
2121
|
+
params: {};
|
2077
2122
|
query: {
|
2078
2123
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2079
2124
|
};
|
@@ -2112,7 +2157,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2112
2157
|
unique: {
|
2113
2158
|
get: {
|
2114
2159
|
body: unknown;
|
2115
|
-
params:
|
2160
|
+
params: {};
|
2116
2161
|
query: {
|
2117
2162
|
campaignId: string;
|
2118
2163
|
distributionChain: number;
|
@@ -2162,7 +2207,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2162
2207
|
overlaps: {
|
2163
2208
|
get: {
|
2164
2209
|
body: unknown;
|
2165
|
-
params:
|
2210
|
+
params: {};
|
2166
2211
|
query: {
|
2167
2212
|
campaignId: string;
|
2168
2213
|
distributionChain: number;
|
@@ -2182,11 +2227,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2182
2227
|
index: {
|
2183
2228
|
get: {
|
2184
2229
|
body: unknown;
|
2185
|
-
params:
|
2230
|
+
params: {};
|
2186
2231
|
query: {};
|
2187
2232
|
headers: unknown;
|
2188
2233
|
response: {
|
2189
|
-
200:
|
2234
|
+
200: {
|
2235
|
+
[x: number]: {
|
2236
|
+
[campaignId: string]: number;
|
2237
|
+
};
|
2238
|
+
};
|
2239
|
+
readonly 400: {
|
2240
|
+
message?: string | undefined;
|
2241
|
+
error: string;
|
2242
|
+
};
|
2190
2243
|
};
|
2191
2244
|
};
|
2192
2245
|
};
|
@@ -2195,11 +2248,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2195
2248
|
resolve: {};
|
2196
2249
|
schema: {};
|
2197
2250
|
}, {
|
2198
|
-
derive: {
|
2199
|
-
readonly tracer: import("dd-trace").Tracer;
|
2200
|
-
readonly span: import("dd-trace").Span;
|
2201
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2202
|
-
};
|
2251
|
+
derive: {};
|
2203
2252
|
resolve: {};
|
2204
2253
|
schema: {};
|
2205
2254
|
}>;
|