@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
@@ -45,11 +45,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
45
45
|
}, {
|
46
46
|
schema: {};
|
47
47
|
macro: {};
|
48
|
+
macroFn: {};
|
48
49
|
}, false & {
|
49
50
|
index: {
|
50
51
|
get: {
|
51
52
|
body: unknown;
|
52
|
-
params:
|
53
|
+
params: {};
|
53
54
|
query: unknown;
|
54
55
|
headers: unknown;
|
55
56
|
response: {
|
@@ -78,7 +79,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
78
79
|
protocols: string[];
|
79
80
|
mainProtocol: string;
|
80
81
|
};
|
81
|
-
params:
|
82
|
+
params: {};
|
82
83
|
query: unknown;
|
83
84
|
headers: {
|
84
85
|
authorization: string;
|
@@ -199,7 +200,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
199
200
|
query: unknown;
|
200
201
|
headers: unknown;
|
201
202
|
response: {
|
202
|
-
200:
|
203
|
+
200: {
|
203
204
|
aprRecord: {
|
204
205
|
cumulated: number;
|
205
206
|
timestamp: bigint;
|
@@ -281,7 +282,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
281
282
|
tvl: number;
|
282
283
|
apr: number;
|
283
284
|
dailyRewards: number;
|
284
|
-
} & {
|
285
285
|
campaigns: ({
|
286
286
|
params: any;
|
287
287
|
chain: {
|
@@ -318,7 +318,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
318
318
|
opportunityId: string;
|
319
319
|
creatorAddress: string;
|
320
320
|
} | null)[];
|
321
|
-
}
|
321
|
+
} | null | undefined;
|
322
322
|
};
|
323
323
|
};
|
324
324
|
};
|
@@ -329,9 +329,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
329
329
|
index: {
|
330
330
|
get: {
|
331
331
|
body: unknown;
|
332
|
-
params:
|
332
|
+
params: {};
|
333
333
|
query: {
|
334
|
-
sort?:
|
334
|
+
sort?: undefined;
|
335
335
|
name?: string | undefined;
|
336
336
|
tokens?: string | undefined;
|
337
337
|
status?: string | undefined;
|
@@ -341,7 +341,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
341
341
|
page?: number | undefined;
|
342
342
|
action?: string | undefined;
|
343
343
|
mainProtocolId?: string | undefined;
|
344
|
-
order?:
|
344
|
+
order?: undefined;
|
345
345
|
};
|
346
346
|
headers: unknown;
|
347
347
|
response: {
|
@@ -437,9 +437,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
437
437
|
count: {
|
438
438
|
get: {
|
439
439
|
body: unknown;
|
440
|
-
params:
|
440
|
+
params: {};
|
441
441
|
query: {
|
442
|
-
sort?:
|
442
|
+
sort?: undefined;
|
443
443
|
name?: string | undefined;
|
444
444
|
tokens?: string | undefined;
|
445
445
|
status?: string | undefined;
|
@@ -449,7 +449,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
449
449
|
page?: number | undefined;
|
450
450
|
action?: string | undefined;
|
451
451
|
mainProtocolId?: string | undefined;
|
452
|
-
order?:
|
452
|
+
order?: undefined;
|
453
453
|
};
|
454
454
|
headers: unknown;
|
455
455
|
response: {
|
@@ -479,7 +479,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
479
479
|
rewardTokenAddress: string;
|
480
480
|
opportunityIdentifier: string;
|
481
481
|
};
|
482
|
-
params:
|
482
|
+
params: {};
|
483
483
|
query: unknown;
|
484
484
|
headers: {
|
485
485
|
authorization: string;
|
@@ -507,7 +507,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
507
507
|
index: {
|
508
508
|
get: {
|
509
509
|
body: unknown;
|
510
|
-
params:
|
510
|
+
params: {};
|
511
511
|
query: {
|
512
512
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
513
513
|
items?: number | undefined;
|
@@ -567,7 +567,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
567
567
|
count: {
|
568
568
|
get: {
|
569
569
|
body: unknown;
|
570
|
-
params:
|
570
|
+
params: {};
|
571
571
|
query: {
|
572
572
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
573
573
|
items?: number | undefined;
|
@@ -593,7 +593,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
593
593
|
index: {
|
594
594
|
get: {
|
595
595
|
body: unknown;
|
596
|
-
params:
|
596
|
+
params: {};
|
597
597
|
query: {
|
598
598
|
chainId: number;
|
599
599
|
};
|
@@ -615,7 +615,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
615
615
|
count: {
|
616
616
|
get: {
|
617
617
|
body: unknown;
|
618
|
-
params:
|
618
|
+
params: {};
|
619
619
|
query: {
|
620
620
|
chainId: number;
|
621
621
|
};
|
@@ -631,7 +631,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
631
631
|
index: {
|
632
632
|
post: {
|
633
633
|
body: unknown;
|
634
|
-
params:
|
634
|
+
params: {};
|
635
635
|
query: {
|
636
636
|
chainId: number;
|
637
637
|
};
|
@@ -652,17 +652,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
652
652
|
":id": {
|
653
653
|
get: {
|
654
654
|
body: unknown;
|
655
|
-
params:
|
655
|
+
params: {
|
656
|
+
id: string;
|
657
|
+
};
|
656
658
|
query: unknown;
|
657
659
|
headers: unknown;
|
658
660
|
response: {
|
659
|
-
200:
|
661
|
+
200: {
|
660
662
|
name: string;
|
661
663
|
url: string;
|
662
664
|
description: string;
|
663
665
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
664
666
|
icon: string;
|
665
|
-
}
|
667
|
+
} | null;
|
666
668
|
};
|
667
669
|
};
|
668
670
|
};
|
@@ -672,7 +674,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
672
674
|
index: {
|
673
675
|
get: {
|
674
676
|
body: unknown;
|
675
|
-
params:
|
677
|
+
params: {};
|
676
678
|
query: {
|
677
679
|
name?: string | undefined;
|
678
680
|
id?: string[] | undefined;
|
@@ -698,7 +700,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
698
700
|
count: {
|
699
701
|
get: {
|
700
702
|
body: unknown;
|
701
|
-
params:
|
703
|
+
params: {};
|
702
704
|
query: {
|
703
705
|
name?: string | undefined;
|
704
706
|
id?: string[] | undefined;
|
@@ -726,7 +728,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
726
728
|
query: unknown;
|
727
729
|
headers: unknown;
|
728
730
|
response: {
|
729
|
-
200:
|
731
|
+
200: {
|
730
732
|
symbol: string;
|
731
733
|
name: string | null;
|
732
734
|
id: string;
|
@@ -735,9 +737,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
735
737
|
icon: string;
|
736
738
|
decimals: number;
|
737
739
|
verified: boolean;
|
738
|
-
} & {
|
739
740
|
price?: number | null | undefined;
|
740
|
-
}
|
741
|
+
} | undefined;
|
741
742
|
};
|
742
743
|
};
|
743
744
|
};
|
@@ -747,7 +748,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
747
748
|
balances: {
|
748
749
|
get: {
|
749
750
|
body: unknown;
|
750
|
-
params:
|
751
|
+
params: {};
|
751
752
|
query: {
|
752
753
|
tokenAddress?: string | undefined;
|
753
754
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -779,7 +780,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
779
780
|
index: {
|
780
781
|
get: {
|
781
782
|
body: unknown;
|
782
|
-
params:
|
783
|
+
params: {};
|
783
784
|
query: {
|
784
785
|
symbol?: string | undefined;
|
785
786
|
name?: string | undefined;
|
@@ -810,7 +811,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
810
811
|
count: {
|
811
812
|
get: {
|
812
813
|
body: unknown;
|
813
|
-
params:
|
814
|
+
params: {};
|
814
815
|
query: {
|
815
816
|
symbol?: string | undefined;
|
816
817
|
name?: string | undefined;
|
@@ -832,7 +833,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
832
833
|
index: {
|
833
834
|
get: {
|
834
835
|
body: unknown;
|
835
|
-
params:
|
836
|
+
params: {};
|
836
837
|
query: {
|
837
838
|
items?: number | undefined;
|
838
839
|
page?: number | undefined;
|
@@ -851,7 +852,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
851
852
|
total: {
|
852
853
|
get: {
|
853
854
|
body: unknown;
|
854
|
-
params:
|
855
|
+
params: {};
|
855
856
|
query: {
|
856
857
|
items?: number | undefined;
|
857
858
|
page?: number | undefined;
|
@@ -879,13 +880,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
879
880
|
proofs: string[];
|
880
881
|
rewardToken: string;
|
881
882
|
}[];
|
882
|
-
params:
|
883
|
+
params: {};
|
883
884
|
query: unknown;
|
884
885
|
headers: {
|
885
886
|
authorization: string;
|
886
887
|
};
|
887
888
|
response: {
|
888
|
-
200:
|
889
|
+
200: {
|
890
|
+
count: number;
|
891
|
+
};
|
889
892
|
};
|
890
893
|
};
|
891
894
|
};
|
@@ -911,13 +914,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
911
914
|
claimed: string;
|
912
915
|
}[];
|
913
916
|
}[];
|
914
|
-
params:
|
917
|
+
params: {};
|
915
918
|
query: unknown;
|
916
919
|
headers: {
|
917
920
|
authorization: string;
|
918
921
|
};
|
919
922
|
response: {
|
920
|
-
200:
|
923
|
+
200: {
|
924
|
+
count: number;
|
925
|
+
} | undefined;
|
921
926
|
};
|
922
927
|
};
|
923
928
|
};
|
@@ -947,7 +952,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
947
952
|
recipient: string;
|
948
953
|
}[];
|
949
954
|
};
|
950
|
-
params:
|
955
|
+
params: {};
|
951
956
|
query: unknown;
|
952
957
|
headers: {
|
953
958
|
authorization: string;
|
@@ -963,7 +968,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
963
968
|
count: {
|
964
969
|
get: {
|
965
970
|
body: unknown;
|
966
|
-
params:
|
971
|
+
params: {};
|
967
972
|
query: {
|
968
973
|
items?: number | undefined;
|
969
974
|
page?: number | undefined;
|
@@ -985,16 +990,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
985
990
|
chains: {
|
986
991
|
get: {
|
987
992
|
body: unknown;
|
988
|
-
params:
|
993
|
+
params: {};
|
989
994
|
query: unknown;
|
990
995
|
headers: {
|
991
996
|
authorization: string;
|
992
997
|
};
|
993
998
|
response: {
|
994
|
-
200:
|
995
|
-
|
996
|
-
|
997
|
-
|
999
|
+
200: {
|
1000
|
+
[x: string]: {
|
1001
|
+
breakdown: number;
|
1002
|
+
rewards: Record<string, number>;
|
1003
|
+
};
|
1004
|
+
};
|
998
1005
|
};
|
999
1006
|
};
|
1000
1007
|
};
|
@@ -1031,7 +1038,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1031
1038
|
index: {
|
1032
1039
|
get: {
|
1033
1040
|
body: unknown;
|
1034
|
-
params:
|
1041
|
+
params: {};
|
1035
1042
|
query: {
|
1036
1043
|
search?: string | undefined;
|
1037
1044
|
};
|
@@ -1055,7 +1062,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1055
1062
|
count: {
|
1056
1063
|
get: {
|
1057
1064
|
body: unknown;
|
1058
|
-
params:
|
1065
|
+
params: {};
|
1059
1066
|
query: {
|
1060
1067
|
search?: string | undefined;
|
1061
1068
|
};
|
@@ -1073,7 +1080,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1073
1080
|
url: string;
|
1074
1081
|
chainId: number;
|
1075
1082
|
};
|
1076
|
-
params:
|
1083
|
+
params: {};
|
1077
1084
|
query: unknown;
|
1078
1085
|
headers: {
|
1079
1086
|
authorization: string;
|
@@ -1096,12 +1103,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1096
1103
|
index: {
|
1097
1104
|
get: {
|
1098
1105
|
body: unknown;
|
1099
|
-
params:
|
1106
|
+
params: {};
|
1100
1107
|
query: unknown;
|
1101
1108
|
headers: unknown;
|
1102
1109
|
response: {
|
1103
1110
|
200: {
|
1104
|
-
[
|
1111
|
+
[x: string]: number;
|
1105
1112
|
};
|
1106
1113
|
};
|
1107
1114
|
};
|
@@ -1110,7 +1117,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1110
1117
|
array: {
|
1111
1118
|
get: {
|
1112
1119
|
body: unknown;
|
1113
|
-
params:
|
1120
|
+
params: {};
|
1114
1121
|
query: unknown;
|
1115
1122
|
headers: unknown;
|
1116
1123
|
response: {
|
@@ -1142,7 +1149,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1142
1149
|
index: {
|
1143
1150
|
get: {
|
1144
1151
|
body: unknown;
|
1145
|
-
params:
|
1152
|
+
params: {};
|
1146
1153
|
query: unknown;
|
1147
1154
|
headers: unknown;
|
1148
1155
|
response: {
|
@@ -1188,7 +1195,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1188
1195
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1189
1196
|
args: {};
|
1190
1197
|
};
|
1191
|
-
params:
|
1198
|
+
params: {};
|
1192
1199
|
query: unknown;
|
1193
1200
|
headers: {
|
1194
1201
|
authorization: string;
|
@@ -1261,7 +1268,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1261
1268
|
index: {
|
1262
1269
|
get: {
|
1263
1270
|
body: unknown;
|
1264
|
-
params:
|
1271
|
+
params: {};
|
1265
1272
|
query: unknown;
|
1266
1273
|
headers: unknown;
|
1267
1274
|
response: {
|
@@ -1282,12 +1289,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1282
1289
|
all: {
|
1283
1290
|
get: {
|
1284
1291
|
body: unknown;
|
1285
|
-
params:
|
1292
|
+
params: {};
|
1286
1293
|
query: unknown;
|
1287
1294
|
headers: unknown;
|
1288
1295
|
response: {
|
1289
1296
|
200: {
|
1290
|
-
[
|
1297
|
+
[x: string]: boolean;
|
1291
1298
|
};
|
1292
1299
|
};
|
1293
1300
|
};
|
@@ -1321,7 +1328,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1321
1328
|
poolAddress: string;
|
1322
1329
|
userAddress: string;
|
1323
1330
|
};
|
1324
|
-
params:
|
1331
|
+
params: {};
|
1325
1332
|
query: unknown;
|
1326
1333
|
headers: {
|
1327
1334
|
authorization: string;
|
@@ -1366,7 +1373,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1366
1373
|
index: {
|
1367
1374
|
get: {
|
1368
1375
|
body: unknown;
|
1369
|
-
params:
|
1376
|
+
params: {};
|
1370
1377
|
query: {
|
1371
1378
|
items?: number | undefined;
|
1372
1379
|
tags?: string[] | undefined;
|
@@ -1388,7 +1395,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1388
1395
|
tags: {
|
1389
1396
|
get: {
|
1390
1397
|
body: unknown;
|
1391
|
-
params:
|
1398
|
+
params: {};
|
1392
1399
|
query: unknown;
|
1393
1400
|
headers: {
|
1394
1401
|
authorization: string;
|
@@ -1407,7 +1414,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1407
1414
|
":address": {
|
1408
1415
|
get: {
|
1409
1416
|
body: unknown;
|
1410
|
-
params:
|
1417
|
+
params: {
|
1418
|
+
address: string;
|
1419
|
+
};
|
1411
1420
|
query: unknown;
|
1412
1421
|
headers: unknown;
|
1413
1422
|
response: {
|
@@ -1645,7 +1654,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1645
1654
|
tags: string[];
|
1646
1655
|
address: string;
|
1647
1656
|
};
|
1648
|
-
params:
|
1657
|
+
params: {};
|
1649
1658
|
query: unknown;
|
1650
1659
|
headers: {
|
1651
1660
|
authorization: string;
|
@@ -1664,7 +1673,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1664
1673
|
sync: {
|
1665
1674
|
post: {
|
1666
1675
|
body: unknown;
|
1667
|
-
params:
|
1676
|
+
params: {};
|
1668
1677
|
query: unknown;
|
1669
1678
|
headers: {
|
1670
1679
|
authorization: string;
|
@@ -1707,7 +1716,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1707
1716
|
timestamps: {
|
1708
1717
|
get: {
|
1709
1718
|
body: unknown;
|
1710
|
-
params:
|
1719
|
+
params: {};
|
1711
1720
|
query: {
|
1712
1721
|
chainId: number;
|
1713
1722
|
fromTimestamp: string;
|
@@ -1730,7 +1739,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1730
1739
|
index: {
|
1731
1740
|
get: {
|
1732
1741
|
body: unknown;
|
1733
|
-
params:
|
1742
|
+
params: {};
|
1734
1743
|
query: unknown;
|
1735
1744
|
headers: unknown;
|
1736
1745
|
response: {
|
@@ -1750,7 +1759,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1750
1759
|
targets: {
|
1751
1760
|
get: {
|
1752
1761
|
body: unknown;
|
1753
|
-
params:
|
1762
|
+
params: {};
|
1754
1763
|
query: {
|
1755
1764
|
identifier?: string | undefined;
|
1756
1765
|
chainId: number;
|
@@ -1768,7 +1777,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1768
1777
|
protocols: {
|
1769
1778
|
get: {
|
1770
1779
|
body: unknown;
|
1771
|
-
params:
|
1780
|
+
params: {};
|
1772
1781
|
query: {
|
1773
1782
|
chainId?: number | undefined;
|
1774
1783
|
};
|
@@ -1790,7 +1799,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1790
1799
|
quote: {
|
1791
1800
|
get: {
|
1792
1801
|
body: unknown;
|
1793
|
-
params:
|
1802
|
+
params: {};
|
1794
1803
|
query: {
|
1795
1804
|
identifier: string;
|
1796
1805
|
chainId: number;
|
@@ -1816,7 +1825,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1816
1825
|
transaction: {
|
1817
1826
|
get: {
|
1818
1827
|
body: unknown;
|
1819
|
-
params:
|
1828
|
+
params: {};
|
1820
1829
|
query: {
|
1821
1830
|
identifier: string;
|
1822
1831
|
chainId: number;
|
@@ -1851,7 +1860,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1851
1860
|
index: {
|
1852
1861
|
get: {
|
1853
1862
|
body: unknown;
|
1854
|
-
params:
|
1863
|
+
params: {};
|
1855
1864
|
query: {
|
1856
1865
|
items?: number | undefined;
|
1857
1866
|
page?: number | undefined;
|
@@ -1879,7 +1888,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1879
1888
|
revenues: {
|
1880
1889
|
get: {
|
1881
1890
|
body: unknown;
|
1882
|
-
params:
|
1891
|
+
params: {};
|
1883
1892
|
query: unknown;
|
1884
1893
|
headers: {
|
1885
1894
|
authorization: string;
|
@@ -2088,7 +2097,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2088
2097
|
campaignId: string;
|
2089
2098
|
distributionChain: number;
|
2090
2099
|
};
|
2091
|
-
params:
|
2100
|
+
params: {};
|
2092
2101
|
query: unknown;
|
2093
2102
|
headers: {
|
2094
2103
|
authorization: string;
|
@@ -2104,7 +2113,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2104
2113
|
index: {
|
2105
2114
|
get: {
|
2106
2115
|
body: unknown;
|
2107
|
-
params:
|
2116
|
+
params: {};
|
2108
2117
|
query: unknown;
|
2109
2118
|
headers: unknown;
|
2110
2119
|
response: {
|
@@ -2125,7 +2134,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2125
2134
|
status: {
|
2126
2135
|
get: {
|
2127
2136
|
body: unknown;
|
2128
|
-
params:
|
2137
|
+
params: {};
|
2129
2138
|
query: {
|
2130
2139
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2131
2140
|
};
|
@@ -2164,7 +2173,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2164
2173
|
unique: {
|
2165
2174
|
get: {
|
2166
2175
|
body: unknown;
|
2167
|
-
params:
|
2176
|
+
params: {};
|
2168
2177
|
query: {
|
2169
2178
|
campaignId: string;
|
2170
2179
|
distributionChain: number;
|
@@ -2214,7 +2223,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2214
2223
|
overlaps: {
|
2215
2224
|
get: {
|
2216
2225
|
body: unknown;
|
2217
|
-
params:
|
2226
|
+
params: {};
|
2218
2227
|
query: {
|
2219
2228
|
campaignId: string;
|
2220
2229
|
distributionChain: number;
|
@@ -2234,34 +2243,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2234
2243
|
index: {
|
2235
2244
|
get: {
|
2236
2245
|
body: unknown;
|
2237
|
-
params:
|
2246
|
+
params: {};
|
2238
2247
|
query: {
|
2239
|
-
type?:
|
2240
|
-
chainId?:
|
2248
|
+
type?: undefined;
|
2249
|
+
chainId?: undefined;
|
2241
2250
|
mainParameter?: string | undefined;
|
2242
|
-
action?:
|
2251
|
+
action?: undefined;
|
2243
2252
|
campaigns?: boolean | undefined;
|
2244
2253
|
testTokens?: boolean | undefined;
|
2245
2254
|
tag?: string | undefined;
|
2246
2255
|
};
|
2247
2256
|
headers: unknown;
|
2248
2257
|
response: {
|
2249
|
-
200: {
|
2250
|
-
[x: `${any}_${string}`]: {
|
2251
|
-
tags?: string[] | undefined;
|
2252
|
-
name: string;
|
2253
|
-
id: `${any}_${string}`;
|
2254
|
-
status: string;
|
2255
|
-
chainId: unknown;
|
2256
|
-
action: string;
|
2257
|
-
campaigns: {
|
2258
|
-
type: number;
|
2259
|
-
};
|
2260
|
-
tokenIcons: string[];
|
2261
|
-
rewardTokenIcons: string[];
|
2262
|
-
dailyRewardTokens: unknown;
|
2263
|
-
};
|
2264
|
-
};
|
2258
|
+
200: {};
|
2265
2259
|
};
|
2266
2260
|
};
|
2267
2261
|
};
|
@@ -2270,11 +2264,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2270
2264
|
resolve: {};
|
2271
2265
|
schema: {};
|
2272
2266
|
}, {
|
2273
|
-
derive: {
|
2274
|
-
readonly tracer: import("dd-trace").Tracer;
|
2275
|
-
readonly span: import("dd-trace").Span;
|
2276
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2277
|
-
};
|
2267
|
+
derive: {};
|
2278
2268
|
resolve: {};
|
2279
2269
|
schema: {};
|
2280
2270
|
}>;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { type Elysia } from "elysia";
|
2
|
-
import type { OverviewReturnType } from "../../types/returnTypes";
|
3
2
|
export declare const query: import("@sinclair/typebox").TObject<{
|
4
3
|
chainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("elysia").TSchema[]>>;
|
5
4
|
}>;
|
@@ -34,17 +33,36 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
34
33
|
}, {
|
35
34
|
schema: {};
|
36
35
|
macro: {};
|
36
|
+
macroFn: {};
|
37
37
|
}, {
|
38
38
|
index: {
|
39
39
|
get: {
|
40
40
|
body: unknown;
|
41
|
-
params:
|
41
|
+
params: {};
|
42
42
|
query: {
|
43
|
-
chainId?:
|
43
|
+
chainId?: undefined;
|
44
44
|
};
|
45
45
|
headers: unknown;
|
46
46
|
response: {
|
47
|
-
200:
|
47
|
+
200: {
|
48
|
+
disputes: {
|
49
|
+
[chainId: number]: {
|
50
|
+
root: string;
|
51
|
+
endOfDisputePeriod: number;
|
52
|
+
disputeLive: boolean;
|
53
|
+
treeRoot: string;
|
54
|
+
lastTreeRoot: string;
|
55
|
+
};
|
56
|
+
};
|
57
|
+
rewardTokens: {
|
58
|
+
[chainId: number]: {
|
59
|
+
token: string;
|
60
|
+
minimumAmountPerEpoch: number;
|
61
|
+
decimals: number;
|
62
|
+
symbol: string;
|
63
|
+
}[];
|
64
|
+
};
|
65
|
+
};
|
48
66
|
};
|
49
67
|
};
|
50
68
|
};
|