@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
@@ -27,11 +27,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
27
27
|
}, {
|
28
28
|
schema: {};
|
29
29
|
macro: {};
|
30
|
+
macroFn: {};
|
30
31
|
}, false & {
|
31
32
|
index: {
|
32
33
|
get: {
|
33
34
|
body: unknown;
|
34
|
-
params:
|
35
|
+
params: {};
|
35
36
|
query: unknown;
|
36
37
|
headers: unknown;
|
37
38
|
response: {
|
@@ -60,7 +61,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
60
61
|
protocols: string[];
|
61
62
|
mainProtocol: string;
|
62
63
|
};
|
63
|
-
params:
|
64
|
+
params: {};
|
64
65
|
query: unknown;
|
65
66
|
headers: {
|
66
67
|
authorization: string;
|
@@ -181,7 +182,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
181
182
|
query: unknown;
|
182
183
|
headers: unknown;
|
183
184
|
response: {
|
184
|
-
200:
|
185
|
+
200: {
|
185
186
|
aprRecord: {
|
186
187
|
cumulated: number;
|
187
188
|
timestamp: bigint;
|
@@ -263,7 +264,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
263
264
|
tvl: number;
|
264
265
|
apr: number;
|
265
266
|
dailyRewards: number;
|
266
|
-
} & {
|
267
267
|
campaigns: ({
|
268
268
|
params: any;
|
269
269
|
chain: {
|
@@ -300,7 +300,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
300
300
|
opportunityId: string;
|
301
301
|
creatorAddress: string;
|
302
302
|
} | null)[];
|
303
|
-
}
|
303
|
+
} | null | undefined;
|
304
304
|
};
|
305
305
|
};
|
306
306
|
};
|
@@ -311,9 +311,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
311
311
|
index: {
|
312
312
|
get: {
|
313
313
|
body: unknown;
|
314
|
-
params:
|
314
|
+
params: {};
|
315
315
|
query: {
|
316
|
-
sort?:
|
316
|
+
sort?: undefined;
|
317
317
|
name?: string | undefined;
|
318
318
|
tokens?: string | undefined;
|
319
319
|
status?: string | undefined;
|
@@ -323,7 +323,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
323
323
|
page?: number | undefined;
|
324
324
|
action?: string | undefined;
|
325
325
|
mainProtocolId?: string | undefined;
|
326
|
-
order?:
|
326
|
+
order?: undefined;
|
327
327
|
};
|
328
328
|
headers: unknown;
|
329
329
|
response: {
|
@@ -419,9 +419,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
419
419
|
count: {
|
420
420
|
get: {
|
421
421
|
body: unknown;
|
422
|
-
params:
|
422
|
+
params: {};
|
423
423
|
query: {
|
424
|
-
sort?:
|
424
|
+
sort?: undefined;
|
425
425
|
name?: string | undefined;
|
426
426
|
tokens?: string | undefined;
|
427
427
|
status?: string | undefined;
|
@@ -431,7 +431,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
431
431
|
page?: number | undefined;
|
432
432
|
action?: string | undefined;
|
433
433
|
mainProtocolId?: string | undefined;
|
434
|
-
order?:
|
434
|
+
order?: undefined;
|
435
435
|
};
|
436
436
|
headers: unknown;
|
437
437
|
response: {
|
@@ -461,7 +461,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
461
461
|
rewardTokenAddress: string;
|
462
462
|
opportunityIdentifier: string;
|
463
463
|
};
|
464
|
-
params:
|
464
|
+
params: {};
|
465
465
|
query: unknown;
|
466
466
|
headers: {
|
467
467
|
authorization: string;
|
@@ -489,7 +489,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
489
489
|
index: {
|
490
490
|
get: {
|
491
491
|
body: unknown;
|
492
|
-
params:
|
492
|
+
params: {};
|
493
493
|
query: {
|
494
494
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
495
495
|
items?: number | undefined;
|
@@ -549,7 +549,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
549
549
|
count: {
|
550
550
|
get: {
|
551
551
|
body: unknown;
|
552
|
-
params:
|
552
|
+
params: {};
|
553
553
|
query: {
|
554
554
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
555
555
|
items?: number | undefined;
|
@@ -575,7 +575,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
575
575
|
index: {
|
576
576
|
get: {
|
577
577
|
body: unknown;
|
578
|
-
params:
|
578
|
+
params: {};
|
579
579
|
query: {
|
580
580
|
chainId: number;
|
581
581
|
};
|
@@ -597,7 +597,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
597
597
|
count: {
|
598
598
|
get: {
|
599
599
|
body: unknown;
|
600
|
-
params:
|
600
|
+
params: {};
|
601
601
|
query: {
|
602
602
|
chainId: number;
|
603
603
|
};
|
@@ -613,7 +613,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
613
613
|
index: {
|
614
614
|
post: {
|
615
615
|
body: unknown;
|
616
|
-
params:
|
616
|
+
params: {};
|
617
617
|
query: {
|
618
618
|
chainId: number;
|
619
619
|
};
|
@@ -634,17 +634,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
634
634
|
":id": {
|
635
635
|
get: {
|
636
636
|
body: unknown;
|
637
|
-
params:
|
637
|
+
params: {
|
638
|
+
id: string;
|
639
|
+
};
|
638
640
|
query: unknown;
|
639
641
|
headers: unknown;
|
640
642
|
response: {
|
641
|
-
200:
|
643
|
+
200: {
|
642
644
|
name: string;
|
643
645
|
url: string;
|
644
646
|
description: string;
|
645
647
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
646
648
|
icon: string;
|
647
|
-
}
|
649
|
+
} | null;
|
648
650
|
};
|
649
651
|
};
|
650
652
|
};
|
@@ -654,7 +656,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
654
656
|
index: {
|
655
657
|
get: {
|
656
658
|
body: unknown;
|
657
|
-
params:
|
659
|
+
params: {};
|
658
660
|
query: {
|
659
661
|
name?: string | undefined;
|
660
662
|
id?: string[] | undefined;
|
@@ -680,7 +682,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
680
682
|
count: {
|
681
683
|
get: {
|
682
684
|
body: unknown;
|
683
|
-
params:
|
685
|
+
params: {};
|
684
686
|
query: {
|
685
687
|
name?: string | undefined;
|
686
688
|
id?: string[] | undefined;
|
@@ -708,7 +710,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
708
710
|
query: unknown;
|
709
711
|
headers: unknown;
|
710
712
|
response: {
|
711
|
-
200:
|
713
|
+
200: {
|
712
714
|
symbol: string;
|
713
715
|
name: string | null;
|
714
716
|
id: string;
|
@@ -717,9 +719,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
717
719
|
icon: string;
|
718
720
|
decimals: number;
|
719
721
|
verified: boolean;
|
720
|
-
} & {
|
721
722
|
price?: number | null | undefined;
|
722
|
-
}
|
723
|
+
} | undefined;
|
723
724
|
};
|
724
725
|
};
|
725
726
|
};
|
@@ -729,7 +730,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
729
730
|
balances: {
|
730
731
|
get: {
|
731
732
|
body: unknown;
|
732
|
-
params:
|
733
|
+
params: {};
|
733
734
|
query: {
|
734
735
|
tokenAddress?: string | undefined;
|
735
736
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -761,7 +762,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
761
762
|
index: {
|
762
763
|
get: {
|
763
764
|
body: unknown;
|
764
|
-
params:
|
765
|
+
params: {};
|
765
766
|
query: {
|
766
767
|
symbol?: string | undefined;
|
767
768
|
name?: string | undefined;
|
@@ -792,7 +793,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
792
793
|
count: {
|
793
794
|
get: {
|
794
795
|
body: unknown;
|
795
|
-
params:
|
796
|
+
params: {};
|
796
797
|
query: {
|
797
798
|
symbol?: string | undefined;
|
798
799
|
name?: string | undefined;
|
@@ -814,7 +815,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
814
815
|
index: {
|
815
816
|
get: {
|
816
817
|
body: unknown;
|
817
|
-
params:
|
818
|
+
params: {};
|
818
819
|
query: {
|
819
820
|
items?: number | undefined;
|
820
821
|
page?: number | undefined;
|
@@ -833,7 +834,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
833
834
|
total: {
|
834
835
|
get: {
|
835
836
|
body: unknown;
|
836
|
-
params:
|
837
|
+
params: {};
|
837
838
|
query: {
|
838
839
|
items?: number | undefined;
|
839
840
|
page?: number | undefined;
|
@@ -861,13 +862,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
861
862
|
proofs: string[];
|
862
863
|
rewardToken: string;
|
863
864
|
}[];
|
864
|
-
params:
|
865
|
+
params: {};
|
865
866
|
query: unknown;
|
866
867
|
headers: {
|
867
868
|
authorization: string;
|
868
869
|
};
|
869
870
|
response: {
|
870
|
-
200:
|
871
|
+
200: {
|
872
|
+
count: number;
|
873
|
+
};
|
871
874
|
};
|
872
875
|
};
|
873
876
|
};
|
@@ -893,13 +896,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
893
896
|
claimed: string;
|
894
897
|
}[];
|
895
898
|
}[];
|
896
|
-
params:
|
899
|
+
params: {};
|
897
900
|
query: unknown;
|
898
901
|
headers: {
|
899
902
|
authorization: string;
|
900
903
|
};
|
901
904
|
response: {
|
902
|
-
200:
|
905
|
+
200: {
|
906
|
+
count: number;
|
907
|
+
} | undefined;
|
903
908
|
};
|
904
909
|
};
|
905
910
|
};
|
@@ -929,7 +934,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
929
934
|
recipient: string;
|
930
935
|
}[];
|
931
936
|
};
|
932
|
-
params:
|
937
|
+
params: {};
|
933
938
|
query: unknown;
|
934
939
|
headers: {
|
935
940
|
authorization: string;
|
@@ -945,7 +950,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
945
950
|
count: {
|
946
951
|
get: {
|
947
952
|
body: unknown;
|
948
|
-
params:
|
953
|
+
params: {};
|
949
954
|
query: {
|
950
955
|
items?: number | undefined;
|
951
956
|
page?: number | undefined;
|
@@ -967,16 +972,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
967
972
|
chains: {
|
968
973
|
get: {
|
969
974
|
body: unknown;
|
970
|
-
params:
|
975
|
+
params: {};
|
971
976
|
query: unknown;
|
972
977
|
headers: {
|
973
978
|
authorization: string;
|
974
979
|
};
|
975
980
|
response: {
|
976
|
-
200:
|
977
|
-
|
978
|
-
|
979
|
-
|
981
|
+
200: {
|
982
|
+
[x: string]: {
|
983
|
+
breakdown: number;
|
984
|
+
rewards: Record<string, number>;
|
985
|
+
};
|
986
|
+
};
|
980
987
|
};
|
981
988
|
};
|
982
989
|
};
|
@@ -1013,7 +1020,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1013
1020
|
index: {
|
1014
1021
|
get: {
|
1015
1022
|
body: unknown;
|
1016
|
-
params:
|
1023
|
+
params: {};
|
1017
1024
|
query: {
|
1018
1025
|
search?: string | undefined;
|
1019
1026
|
};
|
@@ -1037,7 +1044,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1037
1044
|
count: {
|
1038
1045
|
get: {
|
1039
1046
|
body: unknown;
|
1040
|
-
params:
|
1047
|
+
params: {};
|
1041
1048
|
query: {
|
1042
1049
|
search?: string | undefined;
|
1043
1050
|
};
|
@@ -1055,7 +1062,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1055
1062
|
url: string;
|
1056
1063
|
chainId: number;
|
1057
1064
|
};
|
1058
|
-
params:
|
1065
|
+
params: {};
|
1059
1066
|
query: unknown;
|
1060
1067
|
headers: {
|
1061
1068
|
authorization: string;
|
@@ -1078,12 +1085,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1078
1085
|
index: {
|
1079
1086
|
get: {
|
1080
1087
|
body: unknown;
|
1081
|
-
params:
|
1088
|
+
params: {};
|
1082
1089
|
query: unknown;
|
1083
1090
|
headers: unknown;
|
1084
1091
|
response: {
|
1085
1092
|
200: {
|
1086
|
-
[
|
1093
|
+
[x: string]: number;
|
1087
1094
|
};
|
1088
1095
|
};
|
1089
1096
|
};
|
@@ -1092,7 +1099,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1092
1099
|
array: {
|
1093
1100
|
get: {
|
1094
1101
|
body: unknown;
|
1095
|
-
params:
|
1102
|
+
params: {};
|
1096
1103
|
query: unknown;
|
1097
1104
|
headers: unknown;
|
1098
1105
|
response: {
|
@@ -1124,7 +1131,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1124
1131
|
index: {
|
1125
1132
|
get: {
|
1126
1133
|
body: unknown;
|
1127
|
-
params:
|
1134
|
+
params: {};
|
1128
1135
|
query: unknown;
|
1129
1136
|
headers: unknown;
|
1130
1137
|
response: {
|
@@ -1170,7 +1177,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1170
1177
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1171
1178
|
args: {};
|
1172
1179
|
};
|
1173
|
-
params:
|
1180
|
+
params: {};
|
1174
1181
|
query: unknown;
|
1175
1182
|
headers: {
|
1176
1183
|
authorization: string;
|
@@ -1243,7 +1250,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1243
1250
|
index: {
|
1244
1251
|
get: {
|
1245
1252
|
body: unknown;
|
1246
|
-
params:
|
1253
|
+
params: {};
|
1247
1254
|
query: unknown;
|
1248
1255
|
headers: unknown;
|
1249
1256
|
response: {
|
@@ -1264,12 +1271,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1264
1271
|
all: {
|
1265
1272
|
get: {
|
1266
1273
|
body: unknown;
|
1267
|
-
params:
|
1274
|
+
params: {};
|
1268
1275
|
query: unknown;
|
1269
1276
|
headers: unknown;
|
1270
1277
|
response: {
|
1271
1278
|
200: {
|
1272
|
-
[
|
1279
|
+
[x: string]: boolean;
|
1273
1280
|
};
|
1274
1281
|
};
|
1275
1282
|
};
|
@@ -1303,7 +1310,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1303
1310
|
poolAddress: string;
|
1304
1311
|
userAddress: string;
|
1305
1312
|
};
|
1306
|
-
params:
|
1313
|
+
params: {};
|
1307
1314
|
query: unknown;
|
1308
1315
|
headers: {
|
1309
1316
|
authorization: string;
|
@@ -1348,7 +1355,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1348
1355
|
index: {
|
1349
1356
|
get: {
|
1350
1357
|
body: unknown;
|
1351
|
-
params:
|
1358
|
+
params: {};
|
1352
1359
|
query: {
|
1353
1360
|
items?: number | undefined;
|
1354
1361
|
tags?: string[] | undefined;
|
@@ -1370,7 +1377,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1370
1377
|
tags: {
|
1371
1378
|
get: {
|
1372
1379
|
body: unknown;
|
1373
|
-
params:
|
1380
|
+
params: {};
|
1374
1381
|
query: unknown;
|
1375
1382
|
headers: {
|
1376
1383
|
authorization: string;
|
@@ -1389,7 +1396,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1389
1396
|
":address": {
|
1390
1397
|
get: {
|
1391
1398
|
body: unknown;
|
1392
|
-
params:
|
1399
|
+
params: {
|
1400
|
+
address: string;
|
1401
|
+
};
|
1393
1402
|
query: unknown;
|
1394
1403
|
headers: unknown;
|
1395
1404
|
response: {
|
@@ -1627,7 +1636,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1627
1636
|
tags: string[];
|
1628
1637
|
address: string;
|
1629
1638
|
};
|
1630
|
-
params:
|
1639
|
+
params: {};
|
1631
1640
|
query: unknown;
|
1632
1641
|
headers: {
|
1633
1642
|
authorization: string;
|
@@ -1646,7 +1655,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1646
1655
|
sync: {
|
1647
1656
|
post: {
|
1648
1657
|
body: unknown;
|
1649
|
-
params:
|
1658
|
+
params: {};
|
1650
1659
|
query: unknown;
|
1651
1660
|
headers: {
|
1652
1661
|
authorization: string;
|
@@ -1689,7 +1698,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1689
1698
|
timestamps: {
|
1690
1699
|
get: {
|
1691
1700
|
body: unknown;
|
1692
|
-
params:
|
1701
|
+
params: {};
|
1693
1702
|
query: {
|
1694
1703
|
chainId: number;
|
1695
1704
|
fromTimestamp: string;
|
@@ -1712,7 +1721,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1712
1721
|
index: {
|
1713
1722
|
get: {
|
1714
1723
|
body: unknown;
|
1715
|
-
params:
|
1724
|
+
params: {};
|
1716
1725
|
query: unknown;
|
1717
1726
|
headers: unknown;
|
1718
1727
|
response: {
|
@@ -1732,7 +1741,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1732
1741
|
targets: {
|
1733
1742
|
get: {
|
1734
1743
|
body: unknown;
|
1735
|
-
params:
|
1744
|
+
params: {};
|
1736
1745
|
query: {
|
1737
1746
|
identifier?: string | undefined;
|
1738
1747
|
chainId: number;
|
@@ -1750,7 +1759,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1750
1759
|
protocols: {
|
1751
1760
|
get: {
|
1752
1761
|
body: unknown;
|
1753
|
-
params:
|
1762
|
+
params: {};
|
1754
1763
|
query: {
|
1755
1764
|
chainId?: number | undefined;
|
1756
1765
|
};
|
@@ -1772,7 +1781,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1772
1781
|
quote: {
|
1773
1782
|
get: {
|
1774
1783
|
body: unknown;
|
1775
|
-
params:
|
1784
|
+
params: {};
|
1776
1785
|
query: {
|
1777
1786
|
identifier: string;
|
1778
1787
|
chainId: number;
|
@@ -1798,7 +1807,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1798
1807
|
transaction: {
|
1799
1808
|
get: {
|
1800
1809
|
body: unknown;
|
1801
|
-
params:
|
1810
|
+
params: {};
|
1802
1811
|
query: {
|
1803
1812
|
identifier: string;
|
1804
1813
|
chainId: number;
|
@@ -1833,7 +1842,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1833
1842
|
index: {
|
1834
1843
|
get: {
|
1835
1844
|
body: unknown;
|
1836
|
-
params:
|
1845
|
+
params: {};
|
1837
1846
|
query: {
|
1838
1847
|
items?: number | undefined;
|
1839
1848
|
page?: number | undefined;
|
@@ -1861,7 +1870,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1861
1870
|
revenues: {
|
1862
1871
|
get: {
|
1863
1872
|
body: unknown;
|
1864
|
-
params:
|
1873
|
+
params: {};
|
1865
1874
|
query: unknown;
|
1866
1875
|
headers: {
|
1867
1876
|
authorization: string;
|
@@ -2070,7 +2079,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2070
2079
|
campaignId: string;
|
2071
2080
|
distributionChain: number;
|
2072
2081
|
};
|
2073
|
-
params:
|
2082
|
+
params: {};
|
2074
2083
|
query: unknown;
|
2075
2084
|
headers: {
|
2076
2085
|
authorization: string;
|
@@ -2086,7 +2095,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2086
2095
|
index: {
|
2087
2096
|
get: {
|
2088
2097
|
body: unknown;
|
2089
|
-
params:
|
2098
|
+
params: {};
|
2090
2099
|
query: unknown;
|
2091
2100
|
headers: unknown;
|
2092
2101
|
response: {
|
@@ -2107,7 +2116,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2107
2116
|
status: {
|
2108
2117
|
get: {
|
2109
2118
|
body: unknown;
|
2110
|
-
params:
|
2119
|
+
params: {};
|
2111
2120
|
query: {
|
2112
2121
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2113
2122
|
};
|
@@ -2146,7 +2155,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2146
2155
|
unique: {
|
2147
2156
|
get: {
|
2148
2157
|
body: unknown;
|
2149
|
-
params:
|
2158
|
+
params: {};
|
2150
2159
|
query: {
|
2151
2160
|
campaignId: string;
|
2152
2161
|
distributionChain: number;
|
@@ -2196,7 +2205,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2196
2205
|
overlaps: {
|
2197
2206
|
get: {
|
2198
2207
|
body: unknown;
|
2199
|
-
params:
|
2208
|
+
params: {};
|
2200
2209
|
query: {
|
2201
2210
|
campaignId: string;
|
2202
2211
|
distributionChain: number;
|
@@ -2216,7 +2225,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2216
2225
|
index: {
|
2217
2226
|
get: {
|
2218
2227
|
body: unknown;
|
2219
|
-
params:
|
2228
|
+
params: {};
|
2220
2229
|
query: {
|
2221
2230
|
chainIds?: string | string[] | undefined;
|
2222
2231
|
user: string;
|
@@ -2224,7 +2233,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2224
2233
|
};
|
2225
2234
|
headers: unknown;
|
2226
2235
|
response: {
|
2227
|
-
|
2236
|
+
[x: string]: any;
|
2237
|
+
200: any;
|
2228
2238
|
};
|
2229
2239
|
};
|
2230
2240
|
};
|
@@ -2233,11 +2243,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2233
2243
|
resolve: {};
|
2234
2244
|
schema: {};
|
2235
2245
|
}, {
|
2236
|
-
derive: {
|
2237
|
-
readonly tracer: import("dd-trace").Tracer;
|
2238
|
-
readonly span: import("dd-trace").Span;
|
2239
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2240
|
-
};
|
2246
|
+
derive: {};
|
2241
2247
|
resolve: {};
|
2242
2248
|
schema: {};
|
2243
2249
|
}>;
|