@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
@@ -16,6 +16,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
16
16
|
}, {
|
17
17
|
schema: {};
|
18
18
|
macro: {};
|
19
|
+
macroFn: {};
|
19
20
|
}, {
|
20
21
|
v4: {};
|
21
22
|
} & {
|
@@ -37,7 +38,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
37
38
|
protocols: string[];
|
38
39
|
mainProtocol: string;
|
39
40
|
};
|
40
|
-
params:
|
41
|
+
params: {};
|
41
42
|
query: unknown;
|
42
43
|
headers: {
|
43
44
|
authorization: string;
|
@@ -158,7 +159,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
158
159
|
query: unknown;
|
159
160
|
headers: unknown;
|
160
161
|
response: {
|
161
|
-
200:
|
162
|
+
200: {
|
162
163
|
aprRecord: {
|
163
164
|
cumulated: number;
|
164
165
|
timestamp: bigint;
|
@@ -240,7 +241,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
240
241
|
tvl: number;
|
241
242
|
apr: number;
|
242
243
|
dailyRewards: number;
|
243
|
-
} & {
|
244
244
|
campaigns: ({
|
245
245
|
params: any;
|
246
246
|
chain: {
|
@@ -277,7 +277,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
277
277
|
opportunityId: string;
|
278
278
|
creatorAddress: string;
|
279
279
|
} | null)[];
|
280
|
-
}
|
280
|
+
} | null | undefined;
|
281
281
|
};
|
282
282
|
};
|
283
283
|
};
|
@@ -288,9 +288,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
288
288
|
index: {
|
289
289
|
get: {
|
290
290
|
body: unknown;
|
291
|
-
params:
|
291
|
+
params: {};
|
292
292
|
query: {
|
293
|
-
sort?:
|
293
|
+
sort?: undefined;
|
294
294
|
name?: string | undefined;
|
295
295
|
tokens?: string | undefined;
|
296
296
|
status?: string | undefined;
|
@@ -300,7 +300,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
300
300
|
page?: number | undefined;
|
301
301
|
action?: string | undefined;
|
302
302
|
mainProtocolId?: string | undefined;
|
303
|
-
order?:
|
303
|
+
order?: undefined;
|
304
304
|
};
|
305
305
|
headers: unknown;
|
306
306
|
response: {
|
@@ -396,9 +396,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
396
396
|
count: {
|
397
397
|
get: {
|
398
398
|
body: unknown;
|
399
|
-
params:
|
399
|
+
params: {};
|
400
400
|
query: {
|
401
|
-
sort?:
|
401
|
+
sort?: undefined;
|
402
402
|
name?: string | undefined;
|
403
403
|
tokens?: string | undefined;
|
404
404
|
status?: string | undefined;
|
@@ -408,7 +408,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
408
408
|
page?: number | undefined;
|
409
409
|
action?: string | undefined;
|
410
410
|
mainProtocolId?: string | undefined;
|
411
|
-
order?:
|
411
|
+
order?: undefined;
|
412
412
|
};
|
413
413
|
headers: unknown;
|
414
414
|
response: {
|
@@ -438,7 +438,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
438
438
|
rewardTokenAddress: string;
|
439
439
|
opportunityIdentifier: string;
|
440
440
|
};
|
441
|
-
params:
|
441
|
+
params: {};
|
442
442
|
query: unknown;
|
443
443
|
headers: {
|
444
444
|
authorization: string;
|
@@ -466,7 +466,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
466
466
|
index: {
|
467
467
|
get: {
|
468
468
|
body: unknown;
|
469
|
-
params:
|
469
|
+
params: {};
|
470
470
|
query: {
|
471
471
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
472
472
|
items?: number | undefined;
|
@@ -526,7 +526,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
526
526
|
count: {
|
527
527
|
get: {
|
528
528
|
body: unknown;
|
529
|
-
params:
|
529
|
+
params: {};
|
530
530
|
query: {
|
531
531
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
532
532
|
items?: number | undefined;
|
@@ -552,7 +552,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
552
552
|
index: {
|
553
553
|
get: {
|
554
554
|
body: unknown;
|
555
|
-
params:
|
555
|
+
params: {};
|
556
556
|
query: {
|
557
557
|
chainId: number;
|
558
558
|
};
|
@@ -574,7 +574,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
574
574
|
count: {
|
575
575
|
get: {
|
576
576
|
body: unknown;
|
577
|
-
params:
|
577
|
+
params: {};
|
578
578
|
query: {
|
579
579
|
chainId: number;
|
580
580
|
};
|
@@ -590,7 +590,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
590
590
|
index: {
|
591
591
|
post: {
|
592
592
|
body: unknown;
|
593
|
-
params:
|
593
|
+
params: {};
|
594
594
|
query: {
|
595
595
|
chainId: number;
|
596
596
|
};
|
@@ -611,17 +611,19 @@ export declare const v4: Elysia<"/v4", false, {
|
|
611
611
|
":id": {
|
612
612
|
get: {
|
613
613
|
body: unknown;
|
614
|
-
params:
|
614
|
+
params: {
|
615
|
+
id: string;
|
616
|
+
};
|
615
617
|
query: unknown;
|
616
618
|
headers: unknown;
|
617
619
|
response: {
|
618
|
-
200:
|
620
|
+
200: {
|
619
621
|
name: string;
|
620
622
|
url: string;
|
621
623
|
description: string;
|
622
624
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
623
625
|
icon: string;
|
624
|
-
}
|
626
|
+
} | null;
|
625
627
|
};
|
626
628
|
};
|
627
629
|
};
|
@@ -631,7 +633,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
631
633
|
index: {
|
632
634
|
get: {
|
633
635
|
body: unknown;
|
634
|
-
params:
|
636
|
+
params: {};
|
635
637
|
query: {
|
636
638
|
name?: string | undefined;
|
637
639
|
id?: string[] | undefined;
|
@@ -657,7 +659,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
657
659
|
count: {
|
658
660
|
get: {
|
659
661
|
body: unknown;
|
660
|
-
params:
|
662
|
+
params: {};
|
661
663
|
query: {
|
662
664
|
name?: string | undefined;
|
663
665
|
id?: string[] | undefined;
|
@@ -685,7 +687,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
685
687
|
query: unknown;
|
686
688
|
headers: unknown;
|
687
689
|
response: {
|
688
|
-
200:
|
690
|
+
200: {
|
689
691
|
symbol: string;
|
690
692
|
name: string | null;
|
691
693
|
id: string;
|
@@ -694,9 +696,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
694
696
|
icon: string;
|
695
697
|
decimals: number;
|
696
698
|
verified: boolean;
|
697
|
-
} & {
|
698
699
|
price?: number | null | undefined;
|
699
|
-
}
|
700
|
+
} | undefined;
|
700
701
|
};
|
701
702
|
};
|
702
703
|
};
|
@@ -706,7 +707,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
706
707
|
balances: {
|
707
708
|
get: {
|
708
709
|
body: unknown;
|
709
|
-
params:
|
710
|
+
params: {};
|
710
711
|
query: {
|
711
712
|
tokenAddress?: string | undefined;
|
712
713
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -738,7 +739,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
738
739
|
index: {
|
739
740
|
get: {
|
740
741
|
body: unknown;
|
741
|
-
params:
|
742
|
+
params: {};
|
742
743
|
query: {
|
743
744
|
symbol?: string | undefined;
|
744
745
|
name?: string | undefined;
|
@@ -769,7 +770,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
769
770
|
count: {
|
770
771
|
get: {
|
771
772
|
body: unknown;
|
772
|
-
params:
|
773
|
+
params: {};
|
773
774
|
query: {
|
774
775
|
symbol?: string | undefined;
|
775
776
|
name?: string | undefined;
|
@@ -791,7 +792,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
791
792
|
index: {
|
792
793
|
get: {
|
793
794
|
body: unknown;
|
794
|
-
params:
|
795
|
+
params: {};
|
795
796
|
query: {
|
796
797
|
items?: number | undefined;
|
797
798
|
page?: number | undefined;
|
@@ -810,7 +811,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
810
811
|
total: {
|
811
812
|
get: {
|
812
813
|
body: unknown;
|
813
|
-
params:
|
814
|
+
params: {};
|
814
815
|
query: {
|
815
816
|
items?: number | undefined;
|
816
817
|
page?: number | undefined;
|
@@ -838,13 +839,15 @@ export declare const v4: Elysia<"/v4", false, {
|
|
838
839
|
proofs: string[];
|
839
840
|
rewardToken: string;
|
840
841
|
}[];
|
841
|
-
params:
|
842
|
+
params: {};
|
842
843
|
query: unknown;
|
843
844
|
headers: {
|
844
845
|
authorization: string;
|
845
846
|
};
|
846
847
|
response: {
|
847
|
-
200:
|
848
|
+
200: {
|
849
|
+
count: number;
|
850
|
+
};
|
848
851
|
};
|
849
852
|
};
|
850
853
|
};
|
@@ -870,13 +873,15 @@ export declare const v4: Elysia<"/v4", false, {
|
|
870
873
|
claimed: string;
|
871
874
|
}[];
|
872
875
|
}[];
|
873
|
-
params:
|
876
|
+
params: {};
|
874
877
|
query: unknown;
|
875
878
|
headers: {
|
876
879
|
authorization: string;
|
877
880
|
};
|
878
881
|
response: {
|
879
|
-
200:
|
882
|
+
200: {
|
883
|
+
count: number;
|
884
|
+
} | undefined;
|
880
885
|
};
|
881
886
|
};
|
882
887
|
};
|
@@ -906,7 +911,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
906
911
|
recipient: string;
|
907
912
|
}[];
|
908
913
|
};
|
909
|
-
params:
|
914
|
+
params: {};
|
910
915
|
query: unknown;
|
911
916
|
headers: {
|
912
917
|
authorization: string;
|
@@ -922,7 +927,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
922
927
|
count: {
|
923
928
|
get: {
|
924
929
|
body: unknown;
|
925
|
-
params:
|
930
|
+
params: {};
|
926
931
|
query: {
|
927
932
|
items?: number | undefined;
|
928
933
|
page?: number | undefined;
|
@@ -944,16 +949,18 @@ export declare const v4: Elysia<"/v4", false, {
|
|
944
949
|
chains: {
|
945
950
|
get: {
|
946
951
|
body: unknown;
|
947
|
-
params:
|
952
|
+
params: {};
|
948
953
|
query: unknown;
|
949
954
|
headers: {
|
950
955
|
authorization: string;
|
951
956
|
};
|
952
957
|
response: {
|
953
|
-
200:
|
954
|
-
|
955
|
-
|
956
|
-
|
958
|
+
200: {
|
959
|
+
[x: string]: {
|
960
|
+
breakdown: number;
|
961
|
+
rewards: Record<string, number>;
|
962
|
+
};
|
963
|
+
};
|
957
964
|
};
|
958
965
|
};
|
959
966
|
};
|
@@ -990,7 +997,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
990
997
|
index: {
|
991
998
|
get: {
|
992
999
|
body: unknown;
|
993
|
-
params:
|
1000
|
+
params: {};
|
994
1001
|
query: {
|
995
1002
|
search?: string | undefined;
|
996
1003
|
};
|
@@ -1014,7 +1021,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1014
1021
|
count: {
|
1015
1022
|
get: {
|
1016
1023
|
body: unknown;
|
1017
|
-
params:
|
1024
|
+
params: {};
|
1018
1025
|
query: {
|
1019
1026
|
search?: string | undefined;
|
1020
1027
|
};
|
@@ -1032,7 +1039,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1032
1039
|
url: string;
|
1033
1040
|
chainId: number;
|
1034
1041
|
};
|
1035
|
-
params:
|
1042
|
+
params: {};
|
1036
1043
|
query: unknown;
|
1037
1044
|
headers: {
|
1038
1045
|
authorization: string;
|
@@ -1055,12 +1062,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1055
1062
|
index: {
|
1056
1063
|
get: {
|
1057
1064
|
body: unknown;
|
1058
|
-
params:
|
1065
|
+
params: {};
|
1059
1066
|
query: unknown;
|
1060
1067
|
headers: unknown;
|
1061
1068
|
response: {
|
1062
1069
|
200: {
|
1063
|
-
[
|
1070
|
+
[x: string]: number;
|
1064
1071
|
};
|
1065
1072
|
};
|
1066
1073
|
};
|
@@ -1069,7 +1076,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1069
1076
|
array: {
|
1070
1077
|
get: {
|
1071
1078
|
body: unknown;
|
1072
|
-
params:
|
1079
|
+
params: {};
|
1073
1080
|
query: unknown;
|
1074
1081
|
headers: unknown;
|
1075
1082
|
response: {
|
@@ -1101,7 +1108,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1101
1108
|
index: {
|
1102
1109
|
get: {
|
1103
1110
|
body: unknown;
|
1104
|
-
params:
|
1111
|
+
params: {};
|
1105
1112
|
query: unknown;
|
1106
1113
|
headers: unknown;
|
1107
1114
|
response: {
|
@@ -1147,7 +1154,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1147
1154
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1148
1155
|
args: {};
|
1149
1156
|
};
|
1150
|
-
params:
|
1157
|
+
params: {};
|
1151
1158
|
query: unknown;
|
1152
1159
|
headers: {
|
1153
1160
|
authorization: string;
|
@@ -1220,7 +1227,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1220
1227
|
index: {
|
1221
1228
|
get: {
|
1222
1229
|
body: unknown;
|
1223
|
-
params:
|
1230
|
+
params: {};
|
1224
1231
|
query: unknown;
|
1225
1232
|
headers: unknown;
|
1226
1233
|
response: {
|
@@ -1241,12 +1248,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1241
1248
|
all: {
|
1242
1249
|
get: {
|
1243
1250
|
body: unknown;
|
1244
|
-
params:
|
1251
|
+
params: {};
|
1245
1252
|
query: unknown;
|
1246
1253
|
headers: unknown;
|
1247
1254
|
response: {
|
1248
1255
|
200: {
|
1249
|
-
[
|
1256
|
+
[x: string]: boolean;
|
1250
1257
|
};
|
1251
1258
|
};
|
1252
1259
|
};
|
@@ -1280,7 +1287,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1280
1287
|
poolAddress: string;
|
1281
1288
|
userAddress: string;
|
1282
1289
|
};
|
1283
|
-
params:
|
1290
|
+
params: {};
|
1284
1291
|
query: unknown;
|
1285
1292
|
headers: {
|
1286
1293
|
authorization: string;
|
@@ -1325,7 +1332,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1325
1332
|
index: {
|
1326
1333
|
get: {
|
1327
1334
|
body: unknown;
|
1328
|
-
params:
|
1335
|
+
params: {};
|
1329
1336
|
query: {
|
1330
1337
|
items?: number | undefined;
|
1331
1338
|
tags?: string[] | undefined;
|
@@ -1347,7 +1354,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1347
1354
|
tags: {
|
1348
1355
|
get: {
|
1349
1356
|
body: unknown;
|
1350
|
-
params:
|
1357
|
+
params: {};
|
1351
1358
|
query: unknown;
|
1352
1359
|
headers: {
|
1353
1360
|
authorization: string;
|
@@ -1366,7 +1373,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1366
1373
|
":address": {
|
1367
1374
|
get: {
|
1368
1375
|
body: unknown;
|
1369
|
-
params:
|
1376
|
+
params: {
|
1377
|
+
address: string;
|
1378
|
+
};
|
1370
1379
|
query: unknown;
|
1371
1380
|
headers: unknown;
|
1372
1381
|
response: {
|
@@ -1604,7 +1613,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1604
1613
|
tags: string[];
|
1605
1614
|
address: string;
|
1606
1615
|
};
|
1607
|
-
params:
|
1616
|
+
params: {};
|
1608
1617
|
query: unknown;
|
1609
1618
|
headers: {
|
1610
1619
|
authorization: string;
|
@@ -1623,7 +1632,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1623
1632
|
sync: {
|
1624
1633
|
post: {
|
1625
1634
|
body: unknown;
|
1626
|
-
params:
|
1635
|
+
params: {};
|
1627
1636
|
query: unknown;
|
1628
1637
|
headers: {
|
1629
1638
|
authorization: string;
|
@@ -1666,7 +1675,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1666
1675
|
timestamps: {
|
1667
1676
|
get: {
|
1668
1677
|
body: unknown;
|
1669
|
-
params:
|
1678
|
+
params: {};
|
1670
1679
|
query: {
|
1671
1680
|
chainId: number;
|
1672
1681
|
fromTimestamp: string;
|
@@ -1689,7 +1698,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1689
1698
|
index: {
|
1690
1699
|
get: {
|
1691
1700
|
body: unknown;
|
1692
|
-
params:
|
1701
|
+
params: {};
|
1693
1702
|
query: unknown;
|
1694
1703
|
headers: unknown;
|
1695
1704
|
response: {
|
@@ -1709,7 +1718,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1709
1718
|
targets: {
|
1710
1719
|
get: {
|
1711
1720
|
body: unknown;
|
1712
|
-
params:
|
1721
|
+
params: {};
|
1713
1722
|
query: {
|
1714
1723
|
identifier?: string | undefined;
|
1715
1724
|
chainId: number;
|
@@ -1727,7 +1736,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1727
1736
|
protocols: {
|
1728
1737
|
get: {
|
1729
1738
|
body: unknown;
|
1730
|
-
params:
|
1739
|
+
params: {};
|
1731
1740
|
query: {
|
1732
1741
|
chainId?: number | undefined;
|
1733
1742
|
};
|
@@ -1749,7 +1758,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1749
1758
|
quote: {
|
1750
1759
|
get: {
|
1751
1760
|
body: unknown;
|
1752
|
-
params:
|
1761
|
+
params: {};
|
1753
1762
|
query: {
|
1754
1763
|
identifier: string;
|
1755
1764
|
chainId: number;
|
@@ -1775,7 +1784,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1775
1784
|
transaction: {
|
1776
1785
|
get: {
|
1777
1786
|
body: unknown;
|
1778
|
-
params:
|
1787
|
+
params: {};
|
1779
1788
|
query: {
|
1780
1789
|
identifier: string;
|
1781
1790
|
chainId: number;
|
@@ -1810,7 +1819,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1810
1819
|
index: {
|
1811
1820
|
get: {
|
1812
1821
|
body: unknown;
|
1813
|
-
params:
|
1822
|
+
params: {};
|
1814
1823
|
query: {
|
1815
1824
|
items?: number | undefined;
|
1816
1825
|
page?: number | undefined;
|
@@ -1838,7 +1847,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1838
1847
|
revenues: {
|
1839
1848
|
get: {
|
1840
1849
|
body: unknown;
|
1841
|
-
params:
|
1850
|
+
params: {};
|
1842
1851
|
query: unknown;
|
1843
1852
|
headers: {
|
1844
1853
|
authorization: string;
|
@@ -2047,7 +2056,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2047
2056
|
campaignId: string;
|
2048
2057
|
distributionChain: number;
|
2049
2058
|
};
|
2050
|
-
params:
|
2059
|
+
params: {};
|
2051
2060
|
query: unknown;
|
2052
2061
|
headers: {
|
2053
2062
|
authorization: string;
|
@@ -2063,7 +2072,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2063
2072
|
index: {
|
2064
2073
|
get: {
|
2065
2074
|
body: unknown;
|
2066
|
-
params:
|
2075
|
+
params: {};
|
2067
2076
|
query: unknown;
|
2068
2077
|
headers: unknown;
|
2069
2078
|
response: {
|
@@ -2084,7 +2093,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2084
2093
|
status: {
|
2085
2094
|
get: {
|
2086
2095
|
body: unknown;
|
2087
|
-
params:
|
2096
|
+
params: {};
|
2088
2097
|
query: {
|
2089
2098
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2090
2099
|
};
|
@@ -2123,7 +2132,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2123
2132
|
unique: {
|
2124
2133
|
get: {
|
2125
2134
|
body: unknown;
|
2126
|
-
params:
|
2135
|
+
params: {};
|
2127
2136
|
query: {
|
2128
2137
|
campaignId: string;
|
2129
2138
|
distributionChain: number;
|
@@ -2173,7 +2182,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2173
2182
|
overlaps: {
|
2174
2183
|
get: {
|
2175
2184
|
body: unknown;
|
2176
|
-
params:
|
2185
|
+
params: {};
|
2177
2186
|
query: {
|
2178
2187
|
campaignId: string;
|
2179
2188
|
distributionChain: number;
|
@@ -10,6 +10,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
|
+
macroFn: {};
|
13
14
|
}, {
|
14
15
|
campaignStatus: {
|
15
16
|
engine: {
|
@@ -32,7 +33,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
32
33
|
campaignId: string;
|
33
34
|
distributionChain: number;
|
34
35
|
};
|
35
|
-
params:
|
36
|
+
params: {};
|
36
37
|
query: unknown;
|
37
38
|
headers: {
|
38
39
|
authorization: string;
|
@@ -48,7 +49,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
48
49
|
index: {
|
49
50
|
get: {
|
50
51
|
body: unknown;
|
51
|
-
params:
|
52
|
+
params: {};
|
52
53
|
query: unknown;
|
53
54
|
headers: unknown;
|
54
55
|
response: {
|
@@ -69,7 +70,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
69
70
|
status: {
|
70
71
|
get: {
|
71
72
|
body: unknown;
|
72
|
-
params:
|
73
|
+
params: {};
|
73
74
|
query: {
|
74
75
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
75
76
|
};
|
@@ -108,7 +109,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
108
109
|
unique: {
|
109
110
|
get: {
|
110
111
|
body: unknown;
|
111
|
-
params:
|
112
|
+
params: {};
|
112
113
|
query: {
|
113
114
|
campaignId: string;
|
114
115
|
distributionChain: number;
|
@@ -158,7 +159,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
158
159
|
overlaps: {
|
159
160
|
get: {
|
160
161
|
body: unknown;
|
161
|
-
params:
|
162
|
+
params: {};
|
162
163
|
query: {
|
163
164
|
campaignId: string;
|
164
165
|
distributionChain: number;
|
@@ -10,6 +10,7 @@ export declare const TokenController: Elysia<"/tokens", false, {
|
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
|
+
macroFn: {};
|
13
14
|
}, {
|
14
15
|
tokens: {
|
15
16
|
":id": {
|
@@ -21,7 +22,7 @@ export declare const TokenController: Elysia<"/tokens", false, {
|
|
21
22
|
query: unknown;
|
22
23
|
headers: unknown;
|
23
24
|
response: {
|
24
|
-
200:
|
25
|
+
200: {
|
25
26
|
symbol: string;
|
26
27
|
name: string | null;
|
27
28
|
id: string;
|
@@ -30,9 +31,8 @@ export declare const TokenController: Elysia<"/tokens", false, {
|
|
30
31
|
icon: string;
|
31
32
|
decimals: number;
|
32
33
|
verified: boolean;
|
33
|
-
} & {
|
34
34
|
price?: number | null | undefined;
|
35
|
-
}
|
35
|
+
} | undefined;
|
36
36
|
};
|
37
37
|
};
|
38
38
|
};
|
@@ -42,7 +42,7 @@ export declare const TokenController: Elysia<"/tokens", false, {
|
|
42
42
|
balances: {
|
43
43
|
get: {
|
44
44
|
body: unknown;
|
45
|
-
params:
|
45
|
+
params: {};
|
46
46
|
query: {
|
47
47
|
tokenAddress?: string | undefined;
|
48
48
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -74,7 +74,7 @@ export declare const TokenController: Elysia<"/tokens", false, {
|
|
74
74
|
index: {
|
75
75
|
get: {
|
76
76
|
body: unknown;
|
77
|
-
params:
|
77
|
+
params: {};
|
78
78
|
query: {
|
79
79
|
symbol?: string | undefined;
|
80
80
|
name?: string | undefined;
|
@@ -105,7 +105,7 @@ export declare const TokenController: Elysia<"/tokens", false, {
|
|
105
105
|
count: {
|
106
106
|
get: {
|
107
107
|
body: unknown;
|
108
|
-
params:
|
108
|
+
params: {};
|
109
109
|
query: {
|
110
110
|
symbol?: string | undefined;
|
111
111
|
name?: string | undefined;
|