@merkl/api 0.10.391 → 0.10.393
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database/api/.generated/edge.js +9 -7
- package/dist/database/api/.generated/index-browser.js +4 -4
- package/dist/database/api/.generated/index.d.ts +3687 -491
- package/dist/database/api/.generated/index.js +9 -7
- package/dist/database/api/.generated/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/runtime/edge-esm.js +18 -18
- package/dist/database/api/.generated/runtime/edge.js +18 -18
- package/dist/database/api/.generated/runtime/index-browser.d.ts +1 -1
- package/dist/database/api/.generated/runtime/library.d.ts +107 -38
- package/dist/database/api/.generated/runtime/library.js +53 -53
- package/dist/database/api/.generated/runtime/react-native.js +26 -26
- package/dist/database/api/.generated/runtime/wasm.js +19 -19
- package/dist/database/api/.generated/wasm.js +4 -4
- package/dist/database/engine/.generated/edge.js +9 -7
- package/dist/database/engine/.generated/index-browser.js +4 -4
- package/dist/database/engine/.generated/index.d.ts +1891 -257
- package/dist/database/engine/.generated/index.js +9 -7
- package/dist/database/engine/.generated/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/package.json +1 -1
- package/dist/database/engine/.generated/runtime/edge-esm.js +18 -18
- package/dist/database/engine/.generated/runtime/edge.js +18 -18
- package/dist/database/engine/.generated/runtime/index-browser.d.ts +1 -1
- package/dist/database/engine/.generated/runtime/library.d.ts +107 -38
- package/dist/database/engine/.generated/runtime/library.js +53 -53
- package/dist/database/engine/.generated/runtime/react-native.js +26 -26
- package/dist/database/engine/.generated/runtime/wasm.js +19 -19
- package/dist/database/engine/.generated/wasm.js +4 -4
- package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +12 -2
- package/dist/src/backgroundJobs/jobs/health.d.ts +12 -2
- package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +3 -2
- package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +3 -2
- package/dist/src/backgroundJobs/jobs/sync.d.ts +12 -2
- package/dist/src/eden/index.d.ts +4021 -117
- package/dist/src/entities/opportunity.js +1 -1
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +3 -2
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +3 -2
- package/dist/src/index.d.ts +1343 -49
- package/dist/src/internal/controllers/endingCampaigns.d.ts +12 -2
- package/dist/src/internal/controllers/unclaimed.d.ts +12 -2
- package/dist/src/jobs/etl/pendings.js +38 -38
- package/dist/src/jobs/etl/reward-breakdowns.js +55 -52
- package/dist/src/jobs/etl/rewards.js +37 -35
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +5 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +8 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.js +2 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +4 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.js +8 -0
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +66 -2
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +30 -2
- package/dist/src/modules/v4/boost/boost.controller.d.ts +12 -2
- package/dist/src/modules/v4/bucket/bucket.service.d.ts +1 -1
- package/dist/src/modules/v4/bucket/bucket.service.js +5 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +78 -5
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +6 -6
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +4 -4
- package/dist/src/modules/v4/chain/chain.controller.d.ts +39 -2
- package/dist/src/modules/v4/claims/claims.controller.d.ts +12 -2
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +39 -2
- package/dist/src/modules/v4/creator/creator.controller.d.ts +39 -2
- package/dist/src/modules/v4/dungeonKeeper/dungeonKeeper.controller.d.ts +3 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +31 -3
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
- package/dist/src/modules/v4/explorer/explorer.controller.d.ts +12 -2
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +31 -3
- package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +12 -2
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +21 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +118 -18
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +30 -30
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -12
- package/dist/src/modules/v4/price/price.controller.d.ts +48 -2
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +75 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +0 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +3 -10
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +46 -9
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +5 -5
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +111 -2
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -3
- package/dist/src/modules/v4/reward/reward.service.d.ts +18 -18
- package/dist/src/modules/v4/router.d.ts +973 -36
- package/dist/src/modules/v4/status/status.controller.d.ts +48 -2
- package/dist/src/modules/v4/token/token.controller.d.ts +75 -2
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +12 -2
- package/dist/src/modules/v4/user/user.controller.d.ts +90 -8
- package/dist/src/plugins/error-handling.plugin.d.ts +3 -2
- package/dist/src/plugins/logger.plugin.d.ts +3 -2
- package/dist/src/routes/v1/allowances.d.ts +12 -2
- package/dist/src/routes/v1/balances.d.ts +12 -2
- package/dist/src/routes/v1/prices.d.ts +12 -2
- package/dist/src/routes/v1/router.d.ts +39 -2
- package/dist/src/routes/v1/tokens.d.ts +12 -2
- package/dist/src/routes/v2/merkl.d.ts +12 -2
- package/dist/src/routes/v2/router.d.ts +12 -2
- package/dist/src/routes/v3/app.d.ts +12 -2
- package/dist/src/routes/v3/blacklist.d.ts +12 -2
- package/dist/src/routes/v3/campaign/delay.d.ts +12 -2
- package/dist/src/routes/v3/campaignClaims.d.ts +12 -2
- package/dist/src/routes/v3/campaignReport.d.ts +12 -2
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +12 -2
- package/dist/src/routes/v3/campaigns.d.ts +12 -2
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +12 -2
- package/dist/src/routes/v3/campaignsInfo.d.ts +12 -2
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +12 -2
- package/dist/src/routes/v3/claims.d.ts +12 -2
- package/dist/src/routes/v3/compoundV2.d.ts +12 -2
- package/dist/src/routes/v3/createCampaign.d.ts +12 -2
- package/dist/src/routes/v3/dolomite.d.ts +12 -2
- package/dist/src/routes/v3/euler.d.ts +12 -2
- package/dist/src/routes/v3/exports/campaigns.d.ts +12 -2
- package/dist/src/routes/v3/fetch.d.ts +12 -2
- package/dist/src/routes/v3/health.d.ts +12 -2
- package/dist/src/routes/v3/lostyield.d.ts +12 -2
- package/dist/src/routes/v3/merkl.d.ts +3 -2
- package/dist/src/routes/v3/morphoMarkets.d.ts +12 -2
- package/dist/src/routes/v3/morphoVaults.d.ts +12 -2
- package/dist/src/routes/v3/multiChainPositions.d.ts +12 -2
- package/dist/src/routes/v3/opportunity.d.ts +12 -2
- package/dist/src/routes/v3/overview.d.ts +12 -2
- package/dist/src/routes/v3/parse.d.ts +12 -2
- package/dist/src/routes/v3/payload.d.ts +12 -2
- package/dist/src/routes/v3/poolInfo.d.ts +12 -2
- package/dist/src/routes/v3/positions.d.ts +12 -2
- package/dist/src/routes/v3/radiant.d.ts +12 -2
- package/dist/src/routes/v3/recipients.d.ts +12 -2
- package/dist/src/routes/v3/rewards.d.ts +12 -2
- package/dist/src/routes/v3/rewardsReport.d.ts +12 -2
- package/dist/src/routes/v3/router.d.ts +328 -3
- package/dist/src/routes/v3/silo.d.ts +12 -2
- package/dist/src/routes/v3/token.d.ts +12 -2
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +12 -2
- package/dist/src/routes/v3/twt/participants.d.ts +12 -2
- package/dist/src/routes/v3/uniswapv4.d.ts +12 -2
- package/dist/src/routes/v3/updates.d.ts +12 -2
- package/dist/src/routes/v3/userRewards.d.ts +12 -2
- package/dist/src/utils/decodeCalls.js +12 -3
- package/dist/src/utils/encodeCalls.js +20 -7
- package/dist/src/utils/error.d.ts +3 -2
- package/dist/src/utils/generateCardName.js +4 -0
- package/dist/src/utils/logger.d.ts +29 -5
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +24 -24
@@ -1,16 +1,17 @@
|
|
1
1
|
import { Elysia } from "elysia";
|
2
|
-
export declare const CreatorController: Elysia<"/creators",
|
2
|
+
export declare const CreatorController: Elysia<"/creators", {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
typebox: import("@sinclair/typebox").TModule<{}>;
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
+
parser: {};
|
14
15
|
}, {
|
15
16
|
creators: {
|
16
17
|
index: {
|
@@ -31,6 +32,15 @@ export declare const CreatorController: Elysia<"/creators", false, {
|
|
31
32
|
} & {
|
32
33
|
icon?: string | undefined;
|
33
34
|
})[];
|
35
|
+
422: {
|
36
|
+
type: "validation";
|
37
|
+
on: string;
|
38
|
+
summary?: string;
|
39
|
+
message?: string;
|
40
|
+
found?: unknown;
|
41
|
+
property?: string;
|
42
|
+
expected?: string;
|
43
|
+
};
|
34
44
|
};
|
35
45
|
};
|
36
46
|
};
|
@@ -52,6 +62,15 @@ export declare const CreatorController: Elysia<"/creators", false, {
|
|
52
62
|
addresses: string[];
|
53
63
|
icon?: string | undefined;
|
54
64
|
};
|
65
|
+
422: {
|
66
|
+
type: "validation";
|
67
|
+
on: string;
|
68
|
+
summary?: string;
|
69
|
+
message?: string;
|
70
|
+
found?: unknown;
|
71
|
+
property?: string;
|
72
|
+
expected?: string;
|
73
|
+
};
|
55
74
|
};
|
56
75
|
};
|
57
76
|
};
|
@@ -77,6 +96,15 @@ export declare const CreatorController: Elysia<"/creators", false, {
|
|
77
96
|
id: string;
|
78
97
|
icon: string | null;
|
79
98
|
};
|
99
|
+
422: {
|
100
|
+
type: "validation";
|
101
|
+
on: string;
|
102
|
+
summary?: string;
|
103
|
+
message?: string;
|
104
|
+
found?: unknown;
|
105
|
+
property?: string;
|
106
|
+
expected?: string;
|
107
|
+
};
|
80
108
|
};
|
81
109
|
};
|
82
110
|
};
|
@@ -103,6 +131,15 @@ export declare const CreatorController: Elysia<"/creators", false, {
|
|
103
131
|
id: string;
|
104
132
|
icon: string | null;
|
105
133
|
};
|
134
|
+
422: {
|
135
|
+
type: "validation";
|
136
|
+
on: string;
|
137
|
+
summary?: string;
|
138
|
+
message?: string;
|
139
|
+
found?: unknown;
|
140
|
+
property?: string;
|
141
|
+
expected?: string;
|
142
|
+
};
|
106
143
|
};
|
107
144
|
};
|
108
145
|
};
|
@@ -1,16 +1,17 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const DungeonKeeperController: Elysia<"/dungeonkeeper",
|
2
|
+
export declare const DungeonKeeperController: Elysia<"/dungeonkeeper", {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
typebox: import("@sinclair/typebox").TModule<{}>;
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
+
parser: {};
|
14
15
|
}, {
|
15
16
|
dungeonkeeper: {
|
16
17
|
get: {
|
@@ -1,16 +1,17 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const DynamicDataController: Elysia<"/dynamic-data",
|
2
|
+
export declare const DynamicDataController: Elysia<"/dynamic-data", {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
typebox: import("@sinclair/typebox").TModule<{}>;
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
+
parser: {};
|
14
15
|
}, {
|
15
16
|
"dynamic-data": {
|
16
17
|
index: {
|
@@ -34,6 +35,15 @@ export declare const DynamicDataController: Elysia<"/dynamic-data", false, {
|
|
34
35
|
priceTargetToken: number;
|
35
36
|
type: string;
|
36
37
|
};
|
38
|
+
422: {
|
39
|
+
type: "validation";
|
40
|
+
on: string;
|
41
|
+
summary?: string;
|
42
|
+
message?: string;
|
43
|
+
found?: unknown;
|
44
|
+
property?: string;
|
45
|
+
expected?: string;
|
46
|
+
};
|
37
47
|
};
|
38
48
|
};
|
39
49
|
};
|
@@ -62,8 +72,8 @@ export declare const DynamicDataController: Elysia<"/dynamic-data", false, {
|
|
62
72
|
rewardTokenAddress?: string | undefined;
|
63
73
|
distributionChain?: {} | undefined;
|
64
74
|
opportunityIdentifier?: string | undefined;
|
65
|
-
type: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | "ION" | "EIGENLAYER" | "ERC20TRANSFERS" | "ERC20LOGPROCESSOR" | "ERC20REBASELOGPROCESSOR" | "VEST" | "ERC20_FIX_APR" | "HYPERDRIVELOGPROCESSOR" | "HYPERDRIVELOGFIXPROCESSOR";
|
66
75
|
params: {};
|
76
|
+
type: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | "ION" | "EIGENLAYER" | "ERC20TRANSFERS" | "ERC20LOGPROCESSOR" | "ERC20REBASELOGPROCESSOR" | "VEST" | "ERC20_FIX_APR" | "HYPERDRIVELOGPROCESSOR" | "HYPERDRIVELOGFIXPROCESSOR";
|
67
77
|
computeChainId: number;
|
68
78
|
};
|
69
79
|
params: {};
|
@@ -73,6 +83,15 @@ export declare const DynamicDataController: Elysia<"/dynamic-data", false, {
|
|
73
83
|
};
|
74
84
|
response: {
|
75
85
|
200: any[];
|
86
|
+
422: {
|
87
|
+
type: "validation";
|
88
|
+
on: string;
|
89
|
+
summary?: string;
|
90
|
+
message?: string;
|
91
|
+
found?: unknown;
|
92
|
+
property?: string;
|
93
|
+
expected?: string;
|
94
|
+
};
|
76
95
|
};
|
77
96
|
};
|
78
97
|
};
|
@@ -106,6 +125,15 @@ export declare const DynamicDataController: Elysia<"/dynamic-data", false, {
|
|
106
125
|
};
|
107
126
|
response: {
|
108
127
|
200: any[];
|
128
|
+
422: {
|
129
|
+
type: "validation";
|
130
|
+
on: string;
|
131
|
+
summary?: string;
|
132
|
+
message?: string;
|
133
|
+
found?: unknown;
|
134
|
+
property?: string;
|
135
|
+
expected?: string;
|
136
|
+
};
|
109
137
|
};
|
110
138
|
};
|
111
139
|
};
|
@@ -6,9 +6,9 @@ export declare abstract class EnsoService {
|
|
6
6
|
static getSlug(protocolId: ProtocolId | string): EnsoSlug | undefined;
|
7
7
|
static getProtocolId(slug: EnsoSlug | string): ProtocolId | undefined;
|
8
8
|
static getCompatibleProtocols(query: GetParticipateProtocolsQuery): Promise<({
|
9
|
+
description: string;
|
9
10
|
name: string;
|
10
11
|
url: string;
|
11
|
-
description: string;
|
12
12
|
id: string;
|
13
13
|
tags: string[];
|
14
14
|
icon: string;
|
@@ -1,16 +1,17 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const ExplorerController: Elysia<"/explorers",
|
2
|
+
export declare const ExplorerController: Elysia<"/explorers", {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
typebox: import("@sinclair/typebox").TModule<{}>;
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
+
parser: {};
|
14
15
|
}, {
|
15
16
|
explorers: {
|
16
17
|
post: {
|
@@ -31,6 +32,15 @@ export declare const ExplorerController: Elysia<"/explorers", false, {
|
|
31
32
|
id: string;
|
32
33
|
chainId: number;
|
33
34
|
};
|
35
|
+
422: {
|
36
|
+
type: "validation";
|
37
|
+
on: string;
|
38
|
+
summary?: string;
|
39
|
+
message?: string;
|
40
|
+
found?: unknown;
|
41
|
+
property?: string;
|
42
|
+
expected?: string;
|
43
|
+
};
|
34
44
|
};
|
35
45
|
};
|
36
46
|
};
|
@@ -1,16 +1,17 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const InteractionController: Elysia<"/interaction",
|
2
|
+
export declare const InteractionController: Elysia<"/interaction", {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
typebox: import("@sinclair/typebox").TModule<{}>;
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
+
parser: {};
|
14
15
|
}, {
|
15
16
|
interaction: {
|
16
17
|
targets: {
|
@@ -25,6 +26,15 @@ export declare const InteractionController: Elysia<"/interaction", false, {
|
|
25
26
|
headers: unknown;
|
26
27
|
response: {
|
27
28
|
200: import("./interaction.model").InteractionTarget[];
|
29
|
+
422: {
|
30
|
+
type: "validation";
|
31
|
+
on: string;
|
32
|
+
summary?: string;
|
33
|
+
message?: string;
|
34
|
+
found?: unknown;
|
35
|
+
property?: string;
|
36
|
+
expected?: string;
|
37
|
+
};
|
28
38
|
};
|
29
39
|
};
|
30
40
|
};
|
@@ -41,13 +51,22 @@ export declare const InteractionController: Elysia<"/interaction", false, {
|
|
41
51
|
headers: unknown;
|
42
52
|
response: {
|
43
53
|
200: ({
|
54
|
+
description: string;
|
44
55
|
name: string;
|
45
56
|
url: string;
|
46
|
-
description: string;
|
47
57
|
id: string;
|
48
58
|
tags: string[];
|
49
59
|
icon: string;
|
50
60
|
} & {})[];
|
61
|
+
422: {
|
62
|
+
type: "validation";
|
63
|
+
on: string;
|
64
|
+
summary?: string;
|
65
|
+
message?: string;
|
66
|
+
found?: unknown;
|
67
|
+
property?: string;
|
68
|
+
expected?: string;
|
69
|
+
};
|
51
70
|
};
|
52
71
|
};
|
53
72
|
};
|
@@ -76,6 +95,15 @@ export declare const InteractionController: Elysia<"/interaction", false, {
|
|
76
95
|
transaction: import("./interaction.model").UserTransaction;
|
77
96
|
approval: import("./interaction.model").UserTransaction;
|
78
97
|
} | undefined;
|
98
|
+
422: {
|
99
|
+
type: "validation";
|
100
|
+
on: string;
|
101
|
+
summary?: string;
|
102
|
+
message?: string;
|
103
|
+
found?: unknown;
|
104
|
+
property?: string;
|
105
|
+
expected?: string;
|
106
|
+
};
|
79
107
|
};
|
80
108
|
};
|
81
109
|
};
|
@@ -1,16 +1,17 @@
|
|
1
1
|
import { Elysia } from "elysia";
|
2
|
-
export declare const LiquidityController: Elysia<"/liquidity",
|
2
|
+
export declare const LiquidityController: Elysia<"/liquidity", {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
typebox: import("@sinclair/typebox").TModule<{}>;
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
+
parser: {};
|
14
15
|
}, {
|
15
16
|
liquidity: {
|
16
17
|
index: {
|
@@ -24,6 +25,15 @@ export declare const LiquidityController: Elysia<"/liquidity", false, {
|
|
24
25
|
headers: unknown;
|
25
26
|
response: {
|
26
27
|
200: import("./liquidity.model").PositionT[];
|
28
|
+
422: {
|
29
|
+
type: "validation";
|
30
|
+
on: string;
|
31
|
+
summary?: string;
|
32
|
+
message?: string;
|
33
|
+
found?: unknown;
|
34
|
+
property?: string;
|
35
|
+
expected?: string;
|
36
|
+
};
|
27
37
|
};
|
28
38
|
};
|
29
39
|
};
|
@@ -1,16 +1,17 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const MerklRootController: Elysia<"/roots",
|
2
|
+
export declare const MerklRootController: Elysia<"/roots", {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
typebox: import("@sinclair/typebox").TModule<{}>;
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
+
parser: {};
|
14
15
|
}, {
|
15
16
|
roots: {
|
16
17
|
index: {
|
@@ -30,6 +31,15 @@ export declare const MerklRootController: Elysia<"/roots", false, {
|
|
30
31
|
root: string;
|
31
32
|
epoch: number;
|
32
33
|
}[];
|
34
|
+
422: {
|
35
|
+
type: "validation";
|
36
|
+
on: string;
|
37
|
+
summary?: string;
|
38
|
+
message?: string;
|
39
|
+
found?: unknown;
|
40
|
+
property?: string;
|
41
|
+
expected?: string;
|
42
|
+
};
|
33
43
|
};
|
34
44
|
};
|
35
45
|
};
|
@@ -76,6 +86,15 @@ export declare const MerklRootController: Elysia<"/roots", false, {
|
|
76
86
|
root: string;
|
77
87
|
epoch: number;
|
78
88
|
};
|
89
|
+
422: {
|
90
|
+
type: "validation";
|
91
|
+
on: string;
|
92
|
+
summary?: string;
|
93
|
+
message?: string;
|
94
|
+
found?: unknown;
|
95
|
+
property?: string;
|
96
|
+
expected?: string;
|
97
|
+
};
|
79
98
|
};
|
80
99
|
};
|
81
100
|
};
|