@merkl/api 0.10.127 → 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 +129 -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 +81 -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/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 +10 -10
- 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/router.d.ts +79 -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 +84 -78
- package/dist/src/routes/v3/app.d.ts +3 -2
- package/dist/src/routes/v3/blacklist.d.ts +82 -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 +84 -78
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +87 -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 +84 -78
- package/dist/src/routes/v3/opportunity.d.ts +86 -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 +85 -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 +111 -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 +91 -78
- package/dist/src/routes/v3/userRewards.d.ts +83 -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;
|
@@ -185,7 +186,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
185
186
|
query: unknown;
|
186
187
|
headers: unknown;
|
187
188
|
response: {
|
188
|
-
200:
|
189
|
+
200: {
|
189
190
|
aprRecord: {
|
190
191
|
cumulated: number;
|
191
192
|
timestamp: bigint;
|
@@ -267,7 +268,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
267
268
|
tvl: number;
|
268
269
|
apr: number;
|
269
270
|
dailyRewards: number;
|
270
|
-
} & {
|
271
271
|
campaigns: ({
|
272
272
|
params: any;
|
273
273
|
chain: {
|
@@ -304,7 +304,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
304
304
|
opportunityId: string;
|
305
305
|
creatorAddress: string;
|
306
306
|
} | null)[];
|
307
|
-
}
|
307
|
+
} | null | undefined;
|
308
308
|
};
|
309
309
|
};
|
310
310
|
};
|
@@ -315,9 +315,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
315
315
|
index: {
|
316
316
|
get: {
|
317
317
|
body: unknown;
|
318
|
-
params:
|
318
|
+
params: {};
|
319
319
|
query: {
|
320
|
-
sort?:
|
320
|
+
sort?: undefined;
|
321
321
|
name?: string | undefined;
|
322
322
|
tokens?: string | undefined;
|
323
323
|
status?: string | undefined;
|
@@ -327,7 +327,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
327
327
|
page?: number | undefined;
|
328
328
|
action?: string | undefined;
|
329
329
|
mainProtocolId?: string | undefined;
|
330
|
-
order?:
|
330
|
+
order?: undefined;
|
331
331
|
};
|
332
332
|
headers: unknown;
|
333
333
|
response: {
|
@@ -423,9 +423,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
423
423
|
count: {
|
424
424
|
get: {
|
425
425
|
body: unknown;
|
426
|
-
params:
|
426
|
+
params: {};
|
427
427
|
query: {
|
428
|
-
sort?:
|
428
|
+
sort?: undefined;
|
429
429
|
name?: string | undefined;
|
430
430
|
tokens?: string | undefined;
|
431
431
|
status?: string | undefined;
|
@@ -435,7 +435,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
435
435
|
page?: number | undefined;
|
436
436
|
action?: string | undefined;
|
437
437
|
mainProtocolId?: string | undefined;
|
438
|
-
order?:
|
438
|
+
order?: undefined;
|
439
439
|
};
|
440
440
|
headers: unknown;
|
441
441
|
response: {
|
@@ -465,7 +465,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
465
465
|
rewardTokenAddress: string;
|
466
466
|
opportunityIdentifier: string;
|
467
467
|
};
|
468
|
-
params:
|
468
|
+
params: {};
|
469
469
|
query: unknown;
|
470
470
|
headers: {
|
471
471
|
authorization: string;
|
@@ -493,7 +493,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
493
493
|
index: {
|
494
494
|
get: {
|
495
495
|
body: unknown;
|
496
|
-
params:
|
496
|
+
params: {};
|
497
497
|
query: {
|
498
498
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
499
499
|
items?: number | undefined;
|
@@ -553,7 +553,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
553
553
|
count: {
|
554
554
|
get: {
|
555
555
|
body: unknown;
|
556
|
-
params:
|
556
|
+
params: {};
|
557
557
|
query: {
|
558
558
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
559
559
|
items?: number | undefined;
|
@@ -579,7 +579,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
579
579
|
index: {
|
580
580
|
get: {
|
581
581
|
body: unknown;
|
582
|
-
params:
|
582
|
+
params: {};
|
583
583
|
query: {
|
584
584
|
chainId: number;
|
585
585
|
};
|
@@ -601,7 +601,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
601
601
|
count: {
|
602
602
|
get: {
|
603
603
|
body: unknown;
|
604
|
-
params:
|
604
|
+
params: {};
|
605
605
|
query: {
|
606
606
|
chainId: number;
|
607
607
|
};
|
@@ -617,7 +617,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
617
617
|
index: {
|
618
618
|
post: {
|
619
619
|
body: unknown;
|
620
|
-
params:
|
620
|
+
params: {};
|
621
621
|
query: {
|
622
622
|
chainId: number;
|
623
623
|
};
|
@@ -638,17 +638,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
638
638
|
":id": {
|
639
639
|
get: {
|
640
640
|
body: unknown;
|
641
|
-
params:
|
641
|
+
params: {
|
642
|
+
id: string;
|
643
|
+
};
|
642
644
|
query: unknown;
|
643
645
|
headers: unknown;
|
644
646
|
response: {
|
645
|
-
200:
|
647
|
+
200: {
|
646
648
|
name: string;
|
647
649
|
url: string;
|
648
650
|
description: string;
|
649
651
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
650
652
|
icon: string;
|
651
|
-
}
|
653
|
+
} | null;
|
652
654
|
};
|
653
655
|
};
|
654
656
|
};
|
@@ -658,7 +660,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
658
660
|
index: {
|
659
661
|
get: {
|
660
662
|
body: unknown;
|
661
|
-
params:
|
663
|
+
params: {};
|
662
664
|
query: {
|
663
665
|
name?: string | undefined;
|
664
666
|
id?: string[] | undefined;
|
@@ -684,7 +686,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
684
686
|
count: {
|
685
687
|
get: {
|
686
688
|
body: unknown;
|
687
|
-
params:
|
689
|
+
params: {};
|
688
690
|
query: {
|
689
691
|
name?: string | undefined;
|
690
692
|
id?: string[] | undefined;
|
@@ -712,7 +714,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
712
714
|
query: unknown;
|
713
715
|
headers: unknown;
|
714
716
|
response: {
|
715
|
-
200:
|
717
|
+
200: {
|
716
718
|
symbol: string;
|
717
719
|
name: string | null;
|
718
720
|
id: string;
|
@@ -721,9 +723,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
721
723
|
icon: string;
|
722
724
|
decimals: number;
|
723
725
|
verified: boolean;
|
724
|
-
} & {
|
725
726
|
price?: number | null | undefined;
|
726
|
-
}
|
727
|
+
} | undefined;
|
727
728
|
};
|
728
729
|
};
|
729
730
|
};
|
@@ -733,7 +734,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
733
734
|
balances: {
|
734
735
|
get: {
|
735
736
|
body: unknown;
|
736
|
-
params:
|
737
|
+
params: {};
|
737
738
|
query: {
|
738
739
|
tokenAddress?: string | undefined;
|
739
740
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -765,7 +766,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
765
766
|
index: {
|
766
767
|
get: {
|
767
768
|
body: unknown;
|
768
|
-
params:
|
769
|
+
params: {};
|
769
770
|
query: {
|
770
771
|
symbol?: string | undefined;
|
771
772
|
name?: string | undefined;
|
@@ -796,7 +797,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
796
797
|
count: {
|
797
798
|
get: {
|
798
799
|
body: unknown;
|
799
|
-
params:
|
800
|
+
params: {};
|
800
801
|
query: {
|
801
802
|
symbol?: string | undefined;
|
802
803
|
name?: string | undefined;
|
@@ -818,7 +819,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
818
819
|
index: {
|
819
820
|
get: {
|
820
821
|
body: unknown;
|
821
|
-
params:
|
822
|
+
params: {};
|
822
823
|
query: {
|
823
824
|
items?: number | undefined;
|
824
825
|
page?: number | undefined;
|
@@ -837,7 +838,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
837
838
|
total: {
|
838
839
|
get: {
|
839
840
|
body: unknown;
|
840
|
-
params:
|
841
|
+
params: {};
|
841
842
|
query: {
|
842
843
|
items?: number | undefined;
|
843
844
|
page?: number | undefined;
|
@@ -865,13 +866,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
865
866
|
proofs: string[];
|
866
867
|
rewardToken: string;
|
867
868
|
}[];
|
868
|
-
params:
|
869
|
+
params: {};
|
869
870
|
query: unknown;
|
870
871
|
headers: {
|
871
872
|
authorization: string;
|
872
873
|
};
|
873
874
|
response: {
|
874
|
-
200:
|
875
|
+
200: {
|
876
|
+
count: number;
|
877
|
+
};
|
875
878
|
};
|
876
879
|
};
|
877
880
|
};
|
@@ -897,13 +900,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
897
900
|
claimed: string;
|
898
901
|
}[];
|
899
902
|
}[];
|
900
|
-
params:
|
903
|
+
params: {};
|
901
904
|
query: unknown;
|
902
905
|
headers: {
|
903
906
|
authorization: string;
|
904
907
|
};
|
905
908
|
response: {
|
906
|
-
200:
|
909
|
+
200: {
|
910
|
+
count: number;
|
911
|
+
} | undefined;
|
907
912
|
};
|
908
913
|
};
|
909
914
|
};
|
@@ -933,7 +938,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
933
938
|
recipient: string;
|
934
939
|
}[];
|
935
940
|
};
|
936
|
-
params:
|
941
|
+
params: {};
|
937
942
|
query: unknown;
|
938
943
|
headers: {
|
939
944
|
authorization: string;
|
@@ -949,7 +954,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
949
954
|
count: {
|
950
955
|
get: {
|
951
956
|
body: unknown;
|
952
|
-
params:
|
957
|
+
params: {};
|
953
958
|
query: {
|
954
959
|
items?: number | undefined;
|
955
960
|
page?: number | undefined;
|
@@ -971,16 +976,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
971
976
|
chains: {
|
972
977
|
get: {
|
973
978
|
body: unknown;
|
974
|
-
params:
|
979
|
+
params: {};
|
975
980
|
query: unknown;
|
976
981
|
headers: {
|
977
982
|
authorization: string;
|
978
983
|
};
|
979
984
|
response: {
|
980
|
-
200:
|
981
|
-
|
982
|
-
|
983
|
-
|
985
|
+
200: {
|
986
|
+
[x: string]: {
|
987
|
+
breakdown: number;
|
988
|
+
rewards: Record<string, number>;
|
989
|
+
};
|
990
|
+
};
|
984
991
|
};
|
985
992
|
};
|
986
993
|
};
|
@@ -1017,7 +1024,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1017
1024
|
index: {
|
1018
1025
|
get: {
|
1019
1026
|
body: unknown;
|
1020
|
-
params:
|
1027
|
+
params: {};
|
1021
1028
|
query: {
|
1022
1029
|
search?: string | undefined;
|
1023
1030
|
};
|
@@ -1041,7 +1048,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1041
1048
|
count: {
|
1042
1049
|
get: {
|
1043
1050
|
body: unknown;
|
1044
|
-
params:
|
1051
|
+
params: {};
|
1045
1052
|
query: {
|
1046
1053
|
search?: string | undefined;
|
1047
1054
|
};
|
@@ -1059,7 +1066,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1059
1066
|
url: string;
|
1060
1067
|
chainId: number;
|
1061
1068
|
};
|
1062
|
-
params:
|
1069
|
+
params: {};
|
1063
1070
|
query: unknown;
|
1064
1071
|
headers: {
|
1065
1072
|
authorization: string;
|
@@ -1082,12 +1089,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1082
1089
|
index: {
|
1083
1090
|
get: {
|
1084
1091
|
body: unknown;
|
1085
|
-
params:
|
1092
|
+
params: {};
|
1086
1093
|
query: unknown;
|
1087
1094
|
headers: unknown;
|
1088
1095
|
response: {
|
1089
1096
|
200: {
|
1090
|
-
[
|
1097
|
+
[x: string]: number;
|
1091
1098
|
};
|
1092
1099
|
};
|
1093
1100
|
};
|
@@ -1096,7 +1103,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1096
1103
|
array: {
|
1097
1104
|
get: {
|
1098
1105
|
body: unknown;
|
1099
|
-
params:
|
1106
|
+
params: {};
|
1100
1107
|
query: unknown;
|
1101
1108
|
headers: unknown;
|
1102
1109
|
response: {
|
@@ -1128,7 +1135,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1128
1135
|
index: {
|
1129
1136
|
get: {
|
1130
1137
|
body: unknown;
|
1131
|
-
params:
|
1138
|
+
params: {};
|
1132
1139
|
query: unknown;
|
1133
1140
|
headers: unknown;
|
1134
1141
|
response: {
|
@@ -1174,7 +1181,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1174
1181
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1175
1182
|
args: {};
|
1176
1183
|
};
|
1177
|
-
params:
|
1184
|
+
params: {};
|
1178
1185
|
query: unknown;
|
1179
1186
|
headers: {
|
1180
1187
|
authorization: string;
|
@@ -1247,7 +1254,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1247
1254
|
index: {
|
1248
1255
|
get: {
|
1249
1256
|
body: unknown;
|
1250
|
-
params:
|
1257
|
+
params: {};
|
1251
1258
|
query: unknown;
|
1252
1259
|
headers: unknown;
|
1253
1260
|
response: {
|
@@ -1268,12 +1275,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1268
1275
|
all: {
|
1269
1276
|
get: {
|
1270
1277
|
body: unknown;
|
1271
|
-
params:
|
1278
|
+
params: {};
|
1272
1279
|
query: unknown;
|
1273
1280
|
headers: unknown;
|
1274
1281
|
response: {
|
1275
1282
|
200: {
|
1276
|
-
[
|
1283
|
+
[x: string]: boolean;
|
1277
1284
|
};
|
1278
1285
|
};
|
1279
1286
|
};
|
@@ -1307,7 +1314,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1307
1314
|
poolAddress: string;
|
1308
1315
|
userAddress: string;
|
1309
1316
|
};
|
1310
|
-
params:
|
1317
|
+
params: {};
|
1311
1318
|
query: unknown;
|
1312
1319
|
headers: {
|
1313
1320
|
authorization: string;
|
@@ -1352,7 +1359,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1352
1359
|
index: {
|
1353
1360
|
get: {
|
1354
1361
|
body: unknown;
|
1355
|
-
params:
|
1362
|
+
params: {};
|
1356
1363
|
query: {
|
1357
1364
|
items?: number | undefined;
|
1358
1365
|
tags?: string[] | undefined;
|
@@ -1374,7 +1381,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1374
1381
|
tags: {
|
1375
1382
|
get: {
|
1376
1383
|
body: unknown;
|
1377
|
-
params:
|
1384
|
+
params: {};
|
1378
1385
|
query: unknown;
|
1379
1386
|
headers: {
|
1380
1387
|
authorization: string;
|
@@ -1393,7 +1400,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1393
1400
|
":address": {
|
1394
1401
|
get: {
|
1395
1402
|
body: unknown;
|
1396
|
-
params:
|
1403
|
+
params: {
|
1404
|
+
address: string;
|
1405
|
+
};
|
1397
1406
|
query: unknown;
|
1398
1407
|
headers: unknown;
|
1399
1408
|
response: {
|
@@ -1631,7 +1640,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1631
1640
|
tags: string[];
|
1632
1641
|
address: string;
|
1633
1642
|
};
|
1634
|
-
params:
|
1643
|
+
params: {};
|
1635
1644
|
query: unknown;
|
1636
1645
|
headers: {
|
1637
1646
|
authorization: string;
|
@@ -1650,7 +1659,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1650
1659
|
sync: {
|
1651
1660
|
post: {
|
1652
1661
|
body: unknown;
|
1653
|
-
params:
|
1662
|
+
params: {};
|
1654
1663
|
query: unknown;
|
1655
1664
|
headers: {
|
1656
1665
|
authorization: string;
|
@@ -1693,7 +1702,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1693
1702
|
timestamps: {
|
1694
1703
|
get: {
|
1695
1704
|
body: unknown;
|
1696
|
-
params:
|
1705
|
+
params: {};
|
1697
1706
|
query: {
|
1698
1707
|
chainId: number;
|
1699
1708
|
fromTimestamp: string;
|
@@ -1716,7 +1725,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1716
1725
|
index: {
|
1717
1726
|
get: {
|
1718
1727
|
body: unknown;
|
1719
|
-
params:
|
1728
|
+
params: {};
|
1720
1729
|
query: unknown;
|
1721
1730
|
headers: unknown;
|
1722
1731
|
response: {
|
@@ -1736,7 +1745,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1736
1745
|
targets: {
|
1737
1746
|
get: {
|
1738
1747
|
body: unknown;
|
1739
|
-
params:
|
1748
|
+
params: {};
|
1740
1749
|
query: {
|
1741
1750
|
identifier?: string | undefined;
|
1742
1751
|
chainId: number;
|
@@ -1754,7 +1763,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1754
1763
|
protocols: {
|
1755
1764
|
get: {
|
1756
1765
|
body: unknown;
|
1757
|
-
params:
|
1766
|
+
params: {};
|
1758
1767
|
query: {
|
1759
1768
|
chainId?: number | undefined;
|
1760
1769
|
};
|
@@ -1776,7 +1785,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1776
1785
|
quote: {
|
1777
1786
|
get: {
|
1778
1787
|
body: unknown;
|
1779
|
-
params:
|
1788
|
+
params: {};
|
1780
1789
|
query: {
|
1781
1790
|
identifier: string;
|
1782
1791
|
chainId: number;
|
@@ -1802,7 +1811,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1802
1811
|
transaction: {
|
1803
1812
|
get: {
|
1804
1813
|
body: unknown;
|
1805
|
-
params:
|
1814
|
+
params: {};
|
1806
1815
|
query: {
|
1807
1816
|
identifier: string;
|
1808
1817
|
chainId: number;
|
@@ -1837,7 +1846,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1837
1846
|
index: {
|
1838
1847
|
get: {
|
1839
1848
|
body: unknown;
|
1840
|
-
params:
|
1849
|
+
params: {};
|
1841
1850
|
query: {
|
1842
1851
|
items?: number | undefined;
|
1843
1852
|
page?: number | undefined;
|
@@ -1865,7 +1874,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1865
1874
|
revenues: {
|
1866
1875
|
get: {
|
1867
1876
|
body: unknown;
|
1868
|
-
params:
|
1877
|
+
params: {};
|
1869
1878
|
query: unknown;
|
1870
1879
|
headers: {
|
1871
1880
|
authorization: string;
|
@@ -2074,7 +2083,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2074
2083
|
campaignId: string;
|
2075
2084
|
distributionChain: number;
|
2076
2085
|
};
|
2077
|
-
params:
|
2086
|
+
params: {};
|
2078
2087
|
query: unknown;
|
2079
2088
|
headers: {
|
2080
2089
|
authorization: string;
|
@@ -2090,7 +2099,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2090
2099
|
index: {
|
2091
2100
|
get: {
|
2092
2101
|
body: unknown;
|
2093
|
-
params:
|
2102
|
+
params: {};
|
2094
2103
|
query: unknown;
|
2095
2104
|
headers: unknown;
|
2096
2105
|
response: {
|
@@ -2111,7 +2120,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2111
2120
|
status: {
|
2112
2121
|
get: {
|
2113
2122
|
body: unknown;
|
2114
|
-
params:
|
2123
|
+
params: {};
|
2115
2124
|
query: {
|
2116
2125
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2117
2126
|
};
|
@@ -2150,7 +2159,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2150
2159
|
unique: {
|
2151
2160
|
get: {
|
2152
2161
|
body: unknown;
|
2153
|
-
params:
|
2162
|
+
params: {};
|
2154
2163
|
query: {
|
2155
2164
|
campaignId: string;
|
2156
2165
|
distributionChain: number;
|
@@ -2200,7 +2209,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2200
2209
|
overlaps: {
|
2201
2210
|
get: {
|
2202
2211
|
body: unknown;
|
2203
|
-
params:
|
2212
|
+
params: {};
|
2204
2213
|
query: {
|
2205
2214
|
campaignId: string;
|
2206
2215
|
distributionChain: number;
|
@@ -2220,12 +2229,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2220
2229
|
index: {
|
2221
2230
|
get: {
|
2222
2231
|
body: unknown;
|
2223
|
-
params:
|
2232
|
+
params: {};
|
2224
2233
|
query: {
|
2225
2234
|
mainParameter?: string | undefined;
|
2226
2235
|
rewardToken?: string | undefined;
|
2227
2236
|
proof?: string | undefined;
|
2228
|
-
chainId:
|
2237
|
+
chainId: never;
|
2229
2238
|
user: string;
|
2230
2239
|
};
|
2231
2240
|
headers: unknown;
|
@@ -2255,11 +2264,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2255
2264
|
resolve: {};
|
2256
2265
|
schema: {};
|
2257
2266
|
}, {
|
2258
|
-
derive: {
|
2259
|
-
readonly tracer: import("dd-trace").Tracer;
|
2260
|
-
readonly span: import("dd-trace").Span;
|
2261
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2262
|
-
};
|
2267
|
+
derive: {};
|
2263
2268
|
resolve: {};
|
2264
2269
|
schema: {};
|
2265
2270
|
}>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ValueError } from "@sinclair/typebox/compiler";
|
2
|
-
export declare const soft: (p: string) =>
|
3
|
-
export declare const bold: (p: string) =>
|
4
|
-
export declare const err: (p: string) =>
|
2
|
+
export declare const soft: (p: string) => string;
|
3
|
+
export declare const bold: (p: string) => string;
|
4
|
+
export declare const err: (p: string) => string;
|
5
5
|
export declare function logValidationErrors(errors: ValueError[]): boolean;
|