@merkl/api 0.10.127 → 0.10.129
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
@@ -30,11 +30,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
30
30
|
}, {
|
31
31
|
schema: {};
|
32
32
|
macro: {};
|
33
|
+
macroFn: {};
|
33
34
|
}, false & {
|
34
35
|
index: {
|
35
36
|
get: {
|
36
37
|
body: unknown;
|
37
|
-
params:
|
38
|
+
params: {};
|
38
39
|
query: unknown;
|
39
40
|
headers: unknown;
|
40
41
|
response: {
|
@@ -63,7 +64,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
63
64
|
protocols: string[];
|
64
65
|
mainProtocol: string;
|
65
66
|
};
|
66
|
-
params:
|
67
|
+
params: {};
|
67
68
|
query: unknown;
|
68
69
|
headers: {
|
69
70
|
authorization: string;
|
@@ -184,7 +185,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
184
185
|
query: unknown;
|
185
186
|
headers: unknown;
|
186
187
|
response: {
|
187
|
-
200:
|
188
|
+
200: {
|
188
189
|
aprRecord: {
|
189
190
|
cumulated: number;
|
190
191
|
timestamp: bigint;
|
@@ -266,7 +267,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
266
267
|
tvl: number;
|
267
268
|
apr: number;
|
268
269
|
dailyRewards: number;
|
269
|
-
} & {
|
270
270
|
campaigns: ({
|
271
271
|
params: any;
|
272
272
|
chain: {
|
@@ -303,7 +303,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
303
303
|
opportunityId: string;
|
304
304
|
creatorAddress: string;
|
305
305
|
} | null)[];
|
306
|
-
}
|
306
|
+
} | null | undefined;
|
307
307
|
};
|
308
308
|
};
|
309
309
|
};
|
@@ -314,9 +314,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
314
314
|
index: {
|
315
315
|
get: {
|
316
316
|
body: unknown;
|
317
|
-
params:
|
317
|
+
params: {};
|
318
318
|
query: {
|
319
|
-
sort?:
|
319
|
+
sort?: undefined;
|
320
320
|
name?: string | undefined;
|
321
321
|
tokens?: string | undefined;
|
322
322
|
status?: string | undefined;
|
@@ -326,7 +326,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
326
326
|
page?: number | undefined;
|
327
327
|
action?: string | undefined;
|
328
328
|
mainProtocolId?: string | undefined;
|
329
|
-
order?:
|
329
|
+
order?: undefined;
|
330
330
|
};
|
331
331
|
headers: unknown;
|
332
332
|
response: {
|
@@ -422,9 +422,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
422
422
|
count: {
|
423
423
|
get: {
|
424
424
|
body: unknown;
|
425
|
-
params:
|
425
|
+
params: {};
|
426
426
|
query: {
|
427
|
-
sort?:
|
427
|
+
sort?: undefined;
|
428
428
|
name?: string | undefined;
|
429
429
|
tokens?: string | undefined;
|
430
430
|
status?: string | undefined;
|
@@ -434,7 +434,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
434
434
|
page?: number | undefined;
|
435
435
|
action?: string | undefined;
|
436
436
|
mainProtocolId?: string | undefined;
|
437
|
-
order?:
|
437
|
+
order?: undefined;
|
438
438
|
};
|
439
439
|
headers: unknown;
|
440
440
|
response: {
|
@@ -464,7 +464,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
464
464
|
rewardTokenAddress: string;
|
465
465
|
opportunityIdentifier: string;
|
466
466
|
};
|
467
|
-
params:
|
467
|
+
params: {};
|
468
468
|
query: unknown;
|
469
469
|
headers: {
|
470
470
|
authorization: string;
|
@@ -492,7 +492,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
492
492
|
index: {
|
493
493
|
get: {
|
494
494
|
body: unknown;
|
495
|
-
params:
|
495
|
+
params: {};
|
496
496
|
query: {
|
497
497
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
498
498
|
items?: number | undefined;
|
@@ -552,7 +552,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
552
552
|
count: {
|
553
553
|
get: {
|
554
554
|
body: unknown;
|
555
|
-
params:
|
555
|
+
params: {};
|
556
556
|
query: {
|
557
557
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
558
558
|
items?: number | undefined;
|
@@ -578,7 +578,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
578
578
|
index: {
|
579
579
|
get: {
|
580
580
|
body: unknown;
|
581
|
-
params:
|
581
|
+
params: {};
|
582
582
|
query: {
|
583
583
|
chainId: number;
|
584
584
|
};
|
@@ -600,7 +600,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
600
600
|
count: {
|
601
601
|
get: {
|
602
602
|
body: unknown;
|
603
|
-
params:
|
603
|
+
params: {};
|
604
604
|
query: {
|
605
605
|
chainId: number;
|
606
606
|
};
|
@@ -616,7 +616,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
616
616
|
index: {
|
617
617
|
post: {
|
618
618
|
body: unknown;
|
619
|
-
params:
|
619
|
+
params: {};
|
620
620
|
query: {
|
621
621
|
chainId: number;
|
622
622
|
};
|
@@ -637,17 +637,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
637
637
|
":id": {
|
638
638
|
get: {
|
639
639
|
body: unknown;
|
640
|
-
params:
|
640
|
+
params: {
|
641
|
+
id: string;
|
642
|
+
};
|
641
643
|
query: unknown;
|
642
644
|
headers: unknown;
|
643
645
|
response: {
|
644
|
-
200:
|
646
|
+
200: {
|
645
647
|
name: string;
|
646
648
|
url: string;
|
647
649
|
description: string;
|
648
650
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
649
651
|
icon: string;
|
650
|
-
}
|
652
|
+
} | null;
|
651
653
|
};
|
652
654
|
};
|
653
655
|
};
|
@@ -657,7 +659,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
657
659
|
index: {
|
658
660
|
get: {
|
659
661
|
body: unknown;
|
660
|
-
params:
|
662
|
+
params: {};
|
661
663
|
query: {
|
662
664
|
name?: string | undefined;
|
663
665
|
id?: string[] | undefined;
|
@@ -683,7 +685,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
683
685
|
count: {
|
684
686
|
get: {
|
685
687
|
body: unknown;
|
686
|
-
params:
|
688
|
+
params: {};
|
687
689
|
query: {
|
688
690
|
name?: string | undefined;
|
689
691
|
id?: string[] | undefined;
|
@@ -711,7 +713,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
711
713
|
query: unknown;
|
712
714
|
headers: unknown;
|
713
715
|
response: {
|
714
|
-
200:
|
716
|
+
200: {
|
715
717
|
symbol: string;
|
716
718
|
name: string | null;
|
717
719
|
id: string;
|
@@ -720,9 +722,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
720
722
|
icon: string;
|
721
723
|
decimals: number;
|
722
724
|
verified: boolean;
|
723
|
-
} & {
|
724
725
|
price?: number | null | undefined;
|
725
|
-
}
|
726
|
+
} | undefined;
|
726
727
|
};
|
727
728
|
};
|
728
729
|
};
|
@@ -732,7 +733,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
732
733
|
balances: {
|
733
734
|
get: {
|
734
735
|
body: unknown;
|
735
|
-
params:
|
736
|
+
params: {};
|
736
737
|
query: {
|
737
738
|
tokenAddress?: string | undefined;
|
738
739
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -764,7 +765,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
764
765
|
index: {
|
765
766
|
get: {
|
766
767
|
body: unknown;
|
767
|
-
params:
|
768
|
+
params: {};
|
768
769
|
query: {
|
769
770
|
symbol?: string | undefined;
|
770
771
|
name?: string | undefined;
|
@@ -795,7 +796,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
795
796
|
count: {
|
796
797
|
get: {
|
797
798
|
body: unknown;
|
798
|
-
params:
|
799
|
+
params: {};
|
799
800
|
query: {
|
800
801
|
symbol?: string | undefined;
|
801
802
|
name?: string | undefined;
|
@@ -817,7 +818,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
817
818
|
index: {
|
818
819
|
get: {
|
819
820
|
body: unknown;
|
820
|
-
params:
|
821
|
+
params: {};
|
821
822
|
query: {
|
822
823
|
items?: number | undefined;
|
823
824
|
page?: number | undefined;
|
@@ -836,7 +837,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
836
837
|
total: {
|
837
838
|
get: {
|
838
839
|
body: unknown;
|
839
|
-
params:
|
840
|
+
params: {};
|
840
841
|
query: {
|
841
842
|
items?: number | undefined;
|
842
843
|
page?: number | undefined;
|
@@ -864,13 +865,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
864
865
|
proofs: string[];
|
865
866
|
rewardToken: string;
|
866
867
|
}[];
|
867
|
-
params:
|
868
|
+
params: {};
|
868
869
|
query: unknown;
|
869
870
|
headers: {
|
870
871
|
authorization: string;
|
871
872
|
};
|
872
873
|
response: {
|
873
|
-
200:
|
874
|
+
200: {
|
875
|
+
count: number;
|
876
|
+
};
|
874
877
|
};
|
875
878
|
};
|
876
879
|
};
|
@@ -896,13 +899,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
896
899
|
claimed: string;
|
897
900
|
}[];
|
898
901
|
}[];
|
899
|
-
params:
|
902
|
+
params: {};
|
900
903
|
query: unknown;
|
901
904
|
headers: {
|
902
905
|
authorization: string;
|
903
906
|
};
|
904
907
|
response: {
|
905
|
-
200:
|
908
|
+
200: {
|
909
|
+
count: number;
|
910
|
+
} | undefined;
|
906
911
|
};
|
907
912
|
};
|
908
913
|
};
|
@@ -932,7 +937,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
932
937
|
recipient: string;
|
933
938
|
}[];
|
934
939
|
};
|
935
|
-
params:
|
940
|
+
params: {};
|
936
941
|
query: unknown;
|
937
942
|
headers: {
|
938
943
|
authorization: string;
|
@@ -948,7 +953,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
948
953
|
count: {
|
949
954
|
get: {
|
950
955
|
body: unknown;
|
951
|
-
params:
|
956
|
+
params: {};
|
952
957
|
query: {
|
953
958
|
items?: number | undefined;
|
954
959
|
page?: number | undefined;
|
@@ -970,16 +975,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
970
975
|
chains: {
|
971
976
|
get: {
|
972
977
|
body: unknown;
|
973
|
-
params:
|
978
|
+
params: {};
|
974
979
|
query: unknown;
|
975
980
|
headers: {
|
976
981
|
authorization: string;
|
977
982
|
};
|
978
983
|
response: {
|
979
|
-
200:
|
980
|
-
|
981
|
-
|
982
|
-
|
984
|
+
200: {
|
985
|
+
[x: string]: {
|
986
|
+
breakdown: number;
|
987
|
+
rewards: Record<string, number>;
|
988
|
+
};
|
989
|
+
};
|
983
990
|
};
|
984
991
|
};
|
985
992
|
};
|
@@ -1016,7 +1023,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1016
1023
|
index: {
|
1017
1024
|
get: {
|
1018
1025
|
body: unknown;
|
1019
|
-
params:
|
1026
|
+
params: {};
|
1020
1027
|
query: {
|
1021
1028
|
search?: string | undefined;
|
1022
1029
|
};
|
@@ -1040,7 +1047,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1040
1047
|
count: {
|
1041
1048
|
get: {
|
1042
1049
|
body: unknown;
|
1043
|
-
params:
|
1050
|
+
params: {};
|
1044
1051
|
query: {
|
1045
1052
|
search?: string | undefined;
|
1046
1053
|
};
|
@@ -1058,7 +1065,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1058
1065
|
url: string;
|
1059
1066
|
chainId: number;
|
1060
1067
|
};
|
1061
|
-
params:
|
1068
|
+
params: {};
|
1062
1069
|
query: unknown;
|
1063
1070
|
headers: {
|
1064
1071
|
authorization: string;
|
@@ -1081,12 +1088,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1081
1088
|
index: {
|
1082
1089
|
get: {
|
1083
1090
|
body: unknown;
|
1084
|
-
params:
|
1091
|
+
params: {};
|
1085
1092
|
query: unknown;
|
1086
1093
|
headers: unknown;
|
1087
1094
|
response: {
|
1088
1095
|
200: {
|
1089
|
-
[
|
1096
|
+
[x: string]: number;
|
1090
1097
|
};
|
1091
1098
|
};
|
1092
1099
|
};
|
@@ -1095,7 +1102,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1095
1102
|
array: {
|
1096
1103
|
get: {
|
1097
1104
|
body: unknown;
|
1098
|
-
params:
|
1105
|
+
params: {};
|
1099
1106
|
query: unknown;
|
1100
1107
|
headers: unknown;
|
1101
1108
|
response: {
|
@@ -1127,7 +1134,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1127
1134
|
index: {
|
1128
1135
|
get: {
|
1129
1136
|
body: unknown;
|
1130
|
-
params:
|
1137
|
+
params: {};
|
1131
1138
|
query: unknown;
|
1132
1139
|
headers: unknown;
|
1133
1140
|
response: {
|
@@ -1173,7 +1180,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1173
1180
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1174
1181
|
args: {};
|
1175
1182
|
};
|
1176
|
-
params:
|
1183
|
+
params: {};
|
1177
1184
|
query: unknown;
|
1178
1185
|
headers: {
|
1179
1186
|
authorization: string;
|
@@ -1246,7 +1253,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1246
1253
|
index: {
|
1247
1254
|
get: {
|
1248
1255
|
body: unknown;
|
1249
|
-
params:
|
1256
|
+
params: {};
|
1250
1257
|
query: unknown;
|
1251
1258
|
headers: unknown;
|
1252
1259
|
response: {
|
@@ -1267,12 +1274,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1267
1274
|
all: {
|
1268
1275
|
get: {
|
1269
1276
|
body: unknown;
|
1270
|
-
params:
|
1277
|
+
params: {};
|
1271
1278
|
query: unknown;
|
1272
1279
|
headers: unknown;
|
1273
1280
|
response: {
|
1274
1281
|
200: {
|
1275
|
-
[
|
1282
|
+
[x: string]: boolean;
|
1276
1283
|
};
|
1277
1284
|
};
|
1278
1285
|
};
|
@@ -1306,7 +1313,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1306
1313
|
poolAddress: string;
|
1307
1314
|
userAddress: string;
|
1308
1315
|
};
|
1309
|
-
params:
|
1316
|
+
params: {};
|
1310
1317
|
query: unknown;
|
1311
1318
|
headers: {
|
1312
1319
|
authorization: string;
|
@@ -1351,7 +1358,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1351
1358
|
index: {
|
1352
1359
|
get: {
|
1353
1360
|
body: unknown;
|
1354
|
-
params:
|
1361
|
+
params: {};
|
1355
1362
|
query: {
|
1356
1363
|
items?: number | undefined;
|
1357
1364
|
tags?: string[] | undefined;
|
@@ -1373,7 +1380,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1373
1380
|
tags: {
|
1374
1381
|
get: {
|
1375
1382
|
body: unknown;
|
1376
|
-
params:
|
1383
|
+
params: {};
|
1377
1384
|
query: unknown;
|
1378
1385
|
headers: {
|
1379
1386
|
authorization: string;
|
@@ -1392,7 +1399,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1392
1399
|
":address": {
|
1393
1400
|
get: {
|
1394
1401
|
body: unknown;
|
1395
|
-
params:
|
1402
|
+
params: {
|
1403
|
+
address: string;
|
1404
|
+
};
|
1396
1405
|
query: unknown;
|
1397
1406
|
headers: unknown;
|
1398
1407
|
response: {
|
@@ -1630,7 +1639,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1630
1639
|
tags: string[];
|
1631
1640
|
address: string;
|
1632
1641
|
};
|
1633
|
-
params:
|
1642
|
+
params: {};
|
1634
1643
|
query: unknown;
|
1635
1644
|
headers: {
|
1636
1645
|
authorization: string;
|
@@ -1649,7 +1658,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1649
1658
|
sync: {
|
1650
1659
|
post: {
|
1651
1660
|
body: unknown;
|
1652
|
-
params:
|
1661
|
+
params: {};
|
1653
1662
|
query: unknown;
|
1654
1663
|
headers: {
|
1655
1664
|
authorization: string;
|
@@ -1692,7 +1701,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1692
1701
|
timestamps: {
|
1693
1702
|
get: {
|
1694
1703
|
body: unknown;
|
1695
|
-
params:
|
1704
|
+
params: {};
|
1696
1705
|
query: {
|
1697
1706
|
chainId: number;
|
1698
1707
|
fromTimestamp: string;
|
@@ -1715,7 +1724,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1715
1724
|
index: {
|
1716
1725
|
get: {
|
1717
1726
|
body: unknown;
|
1718
|
-
params:
|
1727
|
+
params: {};
|
1719
1728
|
query: unknown;
|
1720
1729
|
headers: unknown;
|
1721
1730
|
response: {
|
@@ -1735,7 +1744,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1735
1744
|
targets: {
|
1736
1745
|
get: {
|
1737
1746
|
body: unknown;
|
1738
|
-
params:
|
1747
|
+
params: {};
|
1739
1748
|
query: {
|
1740
1749
|
identifier?: string | undefined;
|
1741
1750
|
chainId: number;
|
@@ -1753,7 +1762,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1753
1762
|
protocols: {
|
1754
1763
|
get: {
|
1755
1764
|
body: unknown;
|
1756
|
-
params:
|
1765
|
+
params: {};
|
1757
1766
|
query: {
|
1758
1767
|
chainId?: number | undefined;
|
1759
1768
|
};
|
@@ -1775,7 +1784,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1775
1784
|
quote: {
|
1776
1785
|
get: {
|
1777
1786
|
body: unknown;
|
1778
|
-
params:
|
1787
|
+
params: {};
|
1779
1788
|
query: {
|
1780
1789
|
identifier: string;
|
1781
1790
|
chainId: number;
|
@@ -1801,7 +1810,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1801
1810
|
transaction: {
|
1802
1811
|
get: {
|
1803
1812
|
body: unknown;
|
1804
|
-
params:
|
1813
|
+
params: {};
|
1805
1814
|
query: {
|
1806
1815
|
identifier: string;
|
1807
1816
|
chainId: number;
|
@@ -1836,7 +1845,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1836
1845
|
index: {
|
1837
1846
|
get: {
|
1838
1847
|
body: unknown;
|
1839
|
-
params:
|
1848
|
+
params: {};
|
1840
1849
|
query: {
|
1841
1850
|
items?: number | undefined;
|
1842
1851
|
page?: number | undefined;
|
@@ -1864,7 +1873,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1864
1873
|
revenues: {
|
1865
1874
|
get: {
|
1866
1875
|
body: unknown;
|
1867
|
-
params:
|
1876
|
+
params: {};
|
1868
1877
|
query: unknown;
|
1869
1878
|
headers: {
|
1870
1879
|
authorization: string;
|
@@ -2073,7 +2082,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2073
2082
|
campaignId: string;
|
2074
2083
|
distributionChain: number;
|
2075
2084
|
};
|
2076
|
-
params:
|
2085
|
+
params: {};
|
2077
2086
|
query: unknown;
|
2078
2087
|
headers: {
|
2079
2088
|
authorization: string;
|
@@ -2089,7 +2098,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2089
2098
|
index: {
|
2090
2099
|
get: {
|
2091
2100
|
body: unknown;
|
2092
|
-
params:
|
2101
|
+
params: {};
|
2093
2102
|
query: unknown;
|
2094
2103
|
headers: unknown;
|
2095
2104
|
response: {
|
@@ -2110,7 +2119,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2110
2119
|
status: {
|
2111
2120
|
get: {
|
2112
2121
|
body: unknown;
|
2113
|
-
params:
|
2122
|
+
params: {};
|
2114
2123
|
query: {
|
2115
2124
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2116
2125
|
};
|
@@ -2149,7 +2158,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2149
2158
|
unique: {
|
2150
2159
|
get: {
|
2151
2160
|
body: unknown;
|
2152
|
-
params:
|
2161
|
+
params: {};
|
2153
2162
|
query: {
|
2154
2163
|
campaignId: string;
|
2155
2164
|
distributionChain: number;
|
@@ -2199,7 +2208,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2199
2208
|
overlaps: {
|
2200
2209
|
get: {
|
2201
2210
|
body: unknown;
|
2202
|
-
params:
|
2211
|
+
params: {};
|
2203
2212
|
query: {
|
2204
2213
|
campaignId: string;
|
2205
2214
|
distributionChain: number;
|
@@ -2219,13 +2228,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2219
2228
|
index: {
|
2220
2229
|
get: {
|
2221
2230
|
body: unknown;
|
2222
|
-
params:
|
2231
|
+
params: {};
|
2223
2232
|
query: {
|
2224
2233
|
chainIds?: string | string[] | undefined;
|
2225
2234
|
};
|
2226
2235
|
headers: unknown;
|
2227
2236
|
response: {
|
2228
|
-
|
2237
|
+
[x: string]: any;
|
2238
|
+
200: any;
|
2229
2239
|
};
|
2230
2240
|
};
|
2231
2241
|
};
|
@@ -2234,11 +2244,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2234
2244
|
resolve: {};
|
2235
2245
|
schema: {};
|
2236
2246
|
}, {
|
2237
|
-
derive: {
|
2238
|
-
readonly tracer: import("dd-trace").Tracer;
|
2239
|
-
readonly span: import("dd-trace").Span;
|
2240
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2241
|
-
};
|
2247
|
+
derive: {};
|
2242
2248
|
resolve: {};
|
2243
2249
|
schema: {};
|
2244
2250
|
}>;
|
@@ -14,15 +14,16 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
14
14
|
}, {
|
15
15
|
schema: {};
|
16
16
|
macro: {};
|
17
|
+
macroFn: {};
|
17
18
|
}, {
|
18
19
|
index: {
|
19
20
|
get: {
|
20
21
|
body: unknown;
|
21
|
-
params:
|
22
|
+
params: {};
|
22
23
|
query: {};
|
23
24
|
headers: unknown;
|
24
25
|
response: {
|
25
|
-
[x:
|
26
|
+
[x: string]: any;
|
26
27
|
200: any;
|
27
28
|
};
|
28
29
|
};
|