@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
@@ -22,11 +22,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
22
22
|
}, {
|
23
23
|
schema: {};
|
24
24
|
macro: {};
|
25
|
+
macroFn: {};
|
25
26
|
}, false & {
|
26
27
|
index: {
|
27
28
|
get: {
|
28
29
|
body: unknown;
|
29
|
-
params:
|
30
|
+
params: {};
|
30
31
|
query: unknown;
|
31
32
|
headers: unknown;
|
32
33
|
response: {
|
@@ -55,7 +56,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
55
56
|
protocols: string[];
|
56
57
|
mainProtocol: string;
|
57
58
|
};
|
58
|
-
params:
|
59
|
+
params: {};
|
59
60
|
query: unknown;
|
60
61
|
headers: {
|
61
62
|
authorization: string;
|
@@ -176,7 +177,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
176
177
|
query: unknown;
|
177
178
|
headers: unknown;
|
178
179
|
response: {
|
179
|
-
200:
|
180
|
+
200: {
|
180
181
|
aprRecord: {
|
181
182
|
cumulated: number;
|
182
183
|
timestamp: bigint;
|
@@ -258,7 +259,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
258
259
|
tvl: number;
|
259
260
|
apr: number;
|
260
261
|
dailyRewards: number;
|
261
|
-
} & {
|
262
262
|
campaigns: ({
|
263
263
|
params: any;
|
264
264
|
chain: {
|
@@ -295,7 +295,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
295
295
|
opportunityId: string;
|
296
296
|
creatorAddress: string;
|
297
297
|
} | null)[];
|
298
|
-
}
|
298
|
+
} | null | undefined;
|
299
299
|
};
|
300
300
|
};
|
301
301
|
};
|
@@ -306,9 +306,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
306
306
|
index: {
|
307
307
|
get: {
|
308
308
|
body: unknown;
|
309
|
-
params:
|
309
|
+
params: {};
|
310
310
|
query: {
|
311
|
-
sort?:
|
311
|
+
sort?: undefined;
|
312
312
|
name?: string | undefined;
|
313
313
|
tokens?: string | undefined;
|
314
314
|
status?: string | undefined;
|
@@ -318,7 +318,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
318
318
|
page?: number | undefined;
|
319
319
|
action?: string | undefined;
|
320
320
|
mainProtocolId?: string | undefined;
|
321
|
-
order?:
|
321
|
+
order?: undefined;
|
322
322
|
};
|
323
323
|
headers: unknown;
|
324
324
|
response: {
|
@@ -414,9 +414,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
414
414
|
count: {
|
415
415
|
get: {
|
416
416
|
body: unknown;
|
417
|
-
params:
|
417
|
+
params: {};
|
418
418
|
query: {
|
419
|
-
sort?:
|
419
|
+
sort?: undefined;
|
420
420
|
name?: string | undefined;
|
421
421
|
tokens?: string | undefined;
|
422
422
|
status?: string | undefined;
|
@@ -426,7 +426,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
426
426
|
page?: number | undefined;
|
427
427
|
action?: string | undefined;
|
428
428
|
mainProtocolId?: string | undefined;
|
429
|
-
order?:
|
429
|
+
order?: undefined;
|
430
430
|
};
|
431
431
|
headers: unknown;
|
432
432
|
response: {
|
@@ -456,7 +456,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
456
456
|
rewardTokenAddress: string;
|
457
457
|
opportunityIdentifier: string;
|
458
458
|
};
|
459
|
-
params:
|
459
|
+
params: {};
|
460
460
|
query: unknown;
|
461
461
|
headers: {
|
462
462
|
authorization: string;
|
@@ -484,7 +484,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
484
484
|
index: {
|
485
485
|
get: {
|
486
486
|
body: unknown;
|
487
|
-
params:
|
487
|
+
params: {};
|
488
488
|
query: {
|
489
489
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
490
490
|
items?: number | undefined;
|
@@ -544,7 +544,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
544
544
|
count: {
|
545
545
|
get: {
|
546
546
|
body: unknown;
|
547
|
-
params:
|
547
|
+
params: {};
|
548
548
|
query: {
|
549
549
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
550
550
|
items?: number | undefined;
|
@@ -570,7 +570,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
570
570
|
index: {
|
571
571
|
get: {
|
572
572
|
body: unknown;
|
573
|
-
params:
|
573
|
+
params: {};
|
574
574
|
query: {
|
575
575
|
chainId: number;
|
576
576
|
};
|
@@ -592,7 +592,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
592
592
|
count: {
|
593
593
|
get: {
|
594
594
|
body: unknown;
|
595
|
-
params:
|
595
|
+
params: {};
|
596
596
|
query: {
|
597
597
|
chainId: number;
|
598
598
|
};
|
@@ -608,7 +608,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
608
608
|
index: {
|
609
609
|
post: {
|
610
610
|
body: unknown;
|
611
|
-
params:
|
611
|
+
params: {};
|
612
612
|
query: {
|
613
613
|
chainId: number;
|
614
614
|
};
|
@@ -629,17 +629,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
629
629
|
":id": {
|
630
630
|
get: {
|
631
631
|
body: unknown;
|
632
|
-
params:
|
632
|
+
params: {
|
633
|
+
id: string;
|
634
|
+
};
|
633
635
|
query: unknown;
|
634
636
|
headers: unknown;
|
635
637
|
response: {
|
636
|
-
200:
|
638
|
+
200: {
|
637
639
|
name: string;
|
638
640
|
url: string;
|
639
641
|
description: string;
|
640
642
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
641
643
|
icon: string;
|
642
|
-
}
|
644
|
+
} | null;
|
643
645
|
};
|
644
646
|
};
|
645
647
|
};
|
@@ -649,7 +651,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
649
651
|
index: {
|
650
652
|
get: {
|
651
653
|
body: unknown;
|
652
|
-
params:
|
654
|
+
params: {};
|
653
655
|
query: {
|
654
656
|
name?: string | undefined;
|
655
657
|
id?: string[] | undefined;
|
@@ -675,7 +677,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
675
677
|
count: {
|
676
678
|
get: {
|
677
679
|
body: unknown;
|
678
|
-
params:
|
680
|
+
params: {};
|
679
681
|
query: {
|
680
682
|
name?: string | undefined;
|
681
683
|
id?: string[] | undefined;
|
@@ -703,7 +705,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
703
705
|
query: unknown;
|
704
706
|
headers: unknown;
|
705
707
|
response: {
|
706
|
-
200:
|
708
|
+
200: {
|
707
709
|
symbol: string;
|
708
710
|
name: string | null;
|
709
711
|
id: string;
|
@@ -712,9 +714,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
712
714
|
icon: string;
|
713
715
|
decimals: number;
|
714
716
|
verified: boolean;
|
715
|
-
} & {
|
716
717
|
price?: number | null | undefined;
|
717
|
-
}
|
718
|
+
} | undefined;
|
718
719
|
};
|
719
720
|
};
|
720
721
|
};
|
@@ -724,7 +725,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
724
725
|
balances: {
|
725
726
|
get: {
|
726
727
|
body: unknown;
|
727
|
-
params:
|
728
|
+
params: {};
|
728
729
|
query: {
|
729
730
|
tokenAddress?: string | undefined;
|
730
731
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -756,7 +757,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
756
757
|
index: {
|
757
758
|
get: {
|
758
759
|
body: unknown;
|
759
|
-
params:
|
760
|
+
params: {};
|
760
761
|
query: {
|
761
762
|
symbol?: string | undefined;
|
762
763
|
name?: string | undefined;
|
@@ -787,7 +788,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
787
788
|
count: {
|
788
789
|
get: {
|
789
790
|
body: unknown;
|
790
|
-
params:
|
791
|
+
params: {};
|
791
792
|
query: {
|
792
793
|
symbol?: string | undefined;
|
793
794
|
name?: string | undefined;
|
@@ -809,7 +810,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
809
810
|
index: {
|
810
811
|
get: {
|
811
812
|
body: unknown;
|
812
|
-
params:
|
813
|
+
params: {};
|
813
814
|
query: {
|
814
815
|
items?: number | undefined;
|
815
816
|
page?: number | undefined;
|
@@ -828,7 +829,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
828
829
|
total: {
|
829
830
|
get: {
|
830
831
|
body: unknown;
|
831
|
-
params:
|
832
|
+
params: {};
|
832
833
|
query: {
|
833
834
|
items?: number | undefined;
|
834
835
|
page?: number | undefined;
|
@@ -856,13 +857,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
856
857
|
proofs: string[];
|
857
858
|
rewardToken: string;
|
858
859
|
}[];
|
859
|
-
params:
|
860
|
+
params: {};
|
860
861
|
query: unknown;
|
861
862
|
headers: {
|
862
863
|
authorization: string;
|
863
864
|
};
|
864
865
|
response: {
|
865
|
-
200:
|
866
|
+
200: {
|
867
|
+
count: number;
|
868
|
+
};
|
866
869
|
};
|
867
870
|
};
|
868
871
|
};
|
@@ -888,13 +891,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
888
891
|
claimed: string;
|
889
892
|
}[];
|
890
893
|
}[];
|
891
|
-
params:
|
894
|
+
params: {};
|
892
895
|
query: unknown;
|
893
896
|
headers: {
|
894
897
|
authorization: string;
|
895
898
|
};
|
896
899
|
response: {
|
897
|
-
200:
|
900
|
+
200: {
|
901
|
+
count: number;
|
902
|
+
} | undefined;
|
898
903
|
};
|
899
904
|
};
|
900
905
|
};
|
@@ -924,7 +929,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
924
929
|
recipient: string;
|
925
930
|
}[];
|
926
931
|
};
|
927
|
-
params:
|
932
|
+
params: {};
|
928
933
|
query: unknown;
|
929
934
|
headers: {
|
930
935
|
authorization: string;
|
@@ -940,7 +945,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
940
945
|
count: {
|
941
946
|
get: {
|
942
947
|
body: unknown;
|
943
|
-
params:
|
948
|
+
params: {};
|
944
949
|
query: {
|
945
950
|
items?: number | undefined;
|
946
951
|
page?: number | undefined;
|
@@ -962,16 +967,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
962
967
|
chains: {
|
963
968
|
get: {
|
964
969
|
body: unknown;
|
965
|
-
params:
|
970
|
+
params: {};
|
966
971
|
query: unknown;
|
967
972
|
headers: {
|
968
973
|
authorization: string;
|
969
974
|
};
|
970
975
|
response: {
|
971
|
-
200:
|
972
|
-
|
973
|
-
|
974
|
-
|
976
|
+
200: {
|
977
|
+
[x: string]: {
|
978
|
+
breakdown: number;
|
979
|
+
rewards: Record<string, number>;
|
980
|
+
};
|
981
|
+
};
|
975
982
|
};
|
976
983
|
};
|
977
984
|
};
|
@@ -1008,7 +1015,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1008
1015
|
index: {
|
1009
1016
|
get: {
|
1010
1017
|
body: unknown;
|
1011
|
-
params:
|
1018
|
+
params: {};
|
1012
1019
|
query: {
|
1013
1020
|
search?: string | undefined;
|
1014
1021
|
};
|
@@ -1032,7 +1039,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1032
1039
|
count: {
|
1033
1040
|
get: {
|
1034
1041
|
body: unknown;
|
1035
|
-
params:
|
1042
|
+
params: {};
|
1036
1043
|
query: {
|
1037
1044
|
search?: string | undefined;
|
1038
1045
|
};
|
@@ -1050,7 +1057,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1050
1057
|
url: string;
|
1051
1058
|
chainId: number;
|
1052
1059
|
};
|
1053
|
-
params:
|
1060
|
+
params: {};
|
1054
1061
|
query: unknown;
|
1055
1062
|
headers: {
|
1056
1063
|
authorization: string;
|
@@ -1073,12 +1080,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1073
1080
|
index: {
|
1074
1081
|
get: {
|
1075
1082
|
body: unknown;
|
1076
|
-
params:
|
1083
|
+
params: {};
|
1077
1084
|
query: unknown;
|
1078
1085
|
headers: unknown;
|
1079
1086
|
response: {
|
1080
1087
|
200: {
|
1081
|
-
[
|
1088
|
+
[x: string]: number;
|
1082
1089
|
};
|
1083
1090
|
};
|
1084
1091
|
};
|
@@ -1087,7 +1094,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1087
1094
|
array: {
|
1088
1095
|
get: {
|
1089
1096
|
body: unknown;
|
1090
|
-
params:
|
1097
|
+
params: {};
|
1091
1098
|
query: unknown;
|
1092
1099
|
headers: unknown;
|
1093
1100
|
response: {
|
@@ -1119,7 +1126,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1119
1126
|
index: {
|
1120
1127
|
get: {
|
1121
1128
|
body: unknown;
|
1122
|
-
params:
|
1129
|
+
params: {};
|
1123
1130
|
query: unknown;
|
1124
1131
|
headers: unknown;
|
1125
1132
|
response: {
|
@@ -1165,7 +1172,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1165
1172
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1166
1173
|
args: {};
|
1167
1174
|
};
|
1168
|
-
params:
|
1175
|
+
params: {};
|
1169
1176
|
query: unknown;
|
1170
1177
|
headers: {
|
1171
1178
|
authorization: string;
|
@@ -1238,7 +1245,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1238
1245
|
index: {
|
1239
1246
|
get: {
|
1240
1247
|
body: unknown;
|
1241
|
-
params:
|
1248
|
+
params: {};
|
1242
1249
|
query: unknown;
|
1243
1250
|
headers: unknown;
|
1244
1251
|
response: {
|
@@ -1259,12 +1266,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1259
1266
|
all: {
|
1260
1267
|
get: {
|
1261
1268
|
body: unknown;
|
1262
|
-
params:
|
1269
|
+
params: {};
|
1263
1270
|
query: unknown;
|
1264
1271
|
headers: unknown;
|
1265
1272
|
response: {
|
1266
1273
|
200: {
|
1267
|
-
[
|
1274
|
+
[x: string]: boolean;
|
1268
1275
|
};
|
1269
1276
|
};
|
1270
1277
|
};
|
@@ -1298,7 +1305,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1298
1305
|
poolAddress: string;
|
1299
1306
|
userAddress: string;
|
1300
1307
|
};
|
1301
|
-
params:
|
1308
|
+
params: {};
|
1302
1309
|
query: unknown;
|
1303
1310
|
headers: {
|
1304
1311
|
authorization: string;
|
@@ -1343,7 +1350,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1343
1350
|
index: {
|
1344
1351
|
get: {
|
1345
1352
|
body: unknown;
|
1346
|
-
params:
|
1353
|
+
params: {};
|
1347
1354
|
query: {
|
1348
1355
|
items?: number | undefined;
|
1349
1356
|
tags?: string[] | undefined;
|
@@ -1365,7 +1372,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1365
1372
|
tags: {
|
1366
1373
|
get: {
|
1367
1374
|
body: unknown;
|
1368
|
-
params:
|
1375
|
+
params: {};
|
1369
1376
|
query: unknown;
|
1370
1377
|
headers: {
|
1371
1378
|
authorization: string;
|
@@ -1384,7 +1391,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1384
1391
|
":address": {
|
1385
1392
|
get: {
|
1386
1393
|
body: unknown;
|
1387
|
-
params:
|
1394
|
+
params: {
|
1395
|
+
address: string;
|
1396
|
+
};
|
1388
1397
|
query: unknown;
|
1389
1398
|
headers: unknown;
|
1390
1399
|
response: {
|
@@ -1622,7 +1631,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1622
1631
|
tags: string[];
|
1623
1632
|
address: string;
|
1624
1633
|
};
|
1625
|
-
params:
|
1634
|
+
params: {};
|
1626
1635
|
query: unknown;
|
1627
1636
|
headers: {
|
1628
1637
|
authorization: string;
|
@@ -1641,7 +1650,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1641
1650
|
sync: {
|
1642
1651
|
post: {
|
1643
1652
|
body: unknown;
|
1644
|
-
params:
|
1653
|
+
params: {};
|
1645
1654
|
query: unknown;
|
1646
1655
|
headers: {
|
1647
1656
|
authorization: string;
|
@@ -1684,7 +1693,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1684
1693
|
timestamps: {
|
1685
1694
|
get: {
|
1686
1695
|
body: unknown;
|
1687
|
-
params:
|
1696
|
+
params: {};
|
1688
1697
|
query: {
|
1689
1698
|
chainId: number;
|
1690
1699
|
fromTimestamp: string;
|
@@ -1707,7 +1716,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1707
1716
|
index: {
|
1708
1717
|
get: {
|
1709
1718
|
body: unknown;
|
1710
|
-
params:
|
1719
|
+
params: {};
|
1711
1720
|
query: unknown;
|
1712
1721
|
headers: unknown;
|
1713
1722
|
response: {
|
@@ -1727,7 +1736,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1727
1736
|
targets: {
|
1728
1737
|
get: {
|
1729
1738
|
body: unknown;
|
1730
|
-
params:
|
1739
|
+
params: {};
|
1731
1740
|
query: {
|
1732
1741
|
identifier?: string | undefined;
|
1733
1742
|
chainId: number;
|
@@ -1745,7 +1754,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1745
1754
|
protocols: {
|
1746
1755
|
get: {
|
1747
1756
|
body: unknown;
|
1748
|
-
params:
|
1757
|
+
params: {};
|
1749
1758
|
query: {
|
1750
1759
|
chainId?: number | undefined;
|
1751
1760
|
};
|
@@ -1767,7 +1776,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1767
1776
|
quote: {
|
1768
1777
|
get: {
|
1769
1778
|
body: unknown;
|
1770
|
-
params:
|
1779
|
+
params: {};
|
1771
1780
|
query: {
|
1772
1781
|
identifier: string;
|
1773
1782
|
chainId: number;
|
@@ -1793,7 +1802,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1793
1802
|
transaction: {
|
1794
1803
|
get: {
|
1795
1804
|
body: unknown;
|
1796
|
-
params:
|
1805
|
+
params: {};
|
1797
1806
|
query: {
|
1798
1807
|
identifier: string;
|
1799
1808
|
chainId: number;
|
@@ -1828,7 +1837,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1828
1837
|
index: {
|
1829
1838
|
get: {
|
1830
1839
|
body: unknown;
|
1831
|
-
params:
|
1840
|
+
params: {};
|
1832
1841
|
query: {
|
1833
1842
|
items?: number | undefined;
|
1834
1843
|
page?: number | undefined;
|
@@ -1856,7 +1865,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1856
1865
|
revenues: {
|
1857
1866
|
get: {
|
1858
1867
|
body: unknown;
|
1859
|
-
params:
|
1868
|
+
params: {};
|
1860
1869
|
query: unknown;
|
1861
1870
|
headers: {
|
1862
1871
|
authorization: string;
|
@@ -2065,7 +2074,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2065
2074
|
campaignId: string;
|
2066
2075
|
distributionChain: number;
|
2067
2076
|
};
|
2068
|
-
params:
|
2077
|
+
params: {};
|
2069
2078
|
query: unknown;
|
2070
2079
|
headers: {
|
2071
2080
|
authorization: string;
|
@@ -2081,7 +2090,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2081
2090
|
index: {
|
2082
2091
|
get: {
|
2083
2092
|
body: unknown;
|
2084
|
-
params:
|
2093
|
+
params: {};
|
2085
2094
|
query: unknown;
|
2086
2095
|
headers: unknown;
|
2087
2096
|
response: {
|
@@ -2102,7 +2111,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2102
2111
|
status: {
|
2103
2112
|
get: {
|
2104
2113
|
body: unknown;
|
2105
|
-
params:
|
2114
|
+
params: {};
|
2106
2115
|
query: {
|
2107
2116
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2108
2117
|
};
|
@@ -2141,7 +2150,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2141
2150
|
unique: {
|
2142
2151
|
get: {
|
2143
2152
|
body: unknown;
|
2144
|
-
params:
|
2153
|
+
params: {};
|
2145
2154
|
query: {
|
2146
2155
|
campaignId: string;
|
2147
2156
|
distributionChain: number;
|
@@ -2191,7 +2200,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2191
2200
|
overlaps: {
|
2192
2201
|
get: {
|
2193
2202
|
body: unknown;
|
2194
|
-
params:
|
2203
|
+
params: {};
|
2195
2204
|
query: {
|
2196
2205
|
campaignId: string;
|
2197
2206
|
distributionChain: number;
|
@@ -2213,11 +2222,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2213
2222
|
body: {
|
2214
2223
|
[x: string]: string[];
|
2215
2224
|
};
|
2216
|
-
params:
|
2225
|
+
params: {};
|
2217
2226
|
query: unknown;
|
2218
2227
|
headers: unknown;
|
2219
2228
|
response: {
|
2220
|
-
200:
|
2229
|
+
200: {
|
2230
|
+
[x: string]: Record<string, any>;
|
2231
|
+
} | {
|
2232
|
+
error: string;
|
2233
|
+
};
|
2221
2234
|
};
|
2222
2235
|
};
|
2223
2236
|
};
|
@@ -2226,11 +2239,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2226
2239
|
resolve: {};
|
2227
2240
|
schema: {};
|
2228
2241
|
}, {
|
2229
|
-
derive: {
|
2230
|
-
readonly tracer: import("dd-trace").Tracer;
|
2231
|
-
readonly span: import("dd-trace").Span;
|
2232
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2233
|
-
};
|
2242
|
+
derive: {};
|
2234
2243
|
resolve: {};
|
2235
2244
|
schema: {};
|
2236
2245
|
}>;
|
@@ -15,11 +15,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
15
15
|
}, {
|
16
16
|
schema: {};
|
17
17
|
macro: {};
|
18
|
+
macroFn: {};
|
18
19
|
}, {
|
19
20
|
index: {
|
20
21
|
get: {
|
21
22
|
body: unknown;
|
22
|
-
params:
|
23
|
+
params: {};
|
23
24
|
query: {
|
24
25
|
from?: number | undefined;
|
25
26
|
to?: number | undefined;
|
@@ -16,11 +16,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
16
16
|
}, {
|
17
17
|
schema: {};
|
18
18
|
macro: {};
|
19
|
+
macroFn: {};
|
19
20
|
}, {
|
20
21
|
index: {
|
21
22
|
get: {
|
22
23
|
body: unknown;
|
23
|
-
params:
|
24
|
+
params: {};
|
24
25
|
query: {
|
25
26
|
chainIds?: string | string[] | undefined;
|
26
27
|
creatorTag?: string | undefined;
|
@@ -16,15 +16,25 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
16
16
|
}, {
|
17
17
|
schema: {};
|
18
18
|
macro: {};
|
19
|
+
macroFn: {};
|
19
20
|
}, {
|
20
21
|
index: {
|
21
22
|
get: {
|
22
23
|
body: unknown;
|
23
|
-
params:
|
24
|
+
params: {};
|
24
25
|
query: {};
|
25
26
|
headers: unknown;
|
26
27
|
response: {
|
27
|
-
200:
|
28
|
+
200: {
|
29
|
+
[x: string]: {
|
30
|
+
address: string;
|
31
|
+
symbolCToken: string;
|
32
|
+
decimalsCToken: number;
|
33
|
+
underlying: string;
|
34
|
+
symbolUnderlying: string;
|
35
|
+
decimalsUnderlying: number;
|
36
|
+
}[];
|
37
|
+
};
|
28
38
|
};
|
29
39
|
};
|
30
40
|
};
|
@@ -14,11 +14,12 @@ 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
|
chainId: number;
|
24
25
|
user: string;
|