@merkl/api 0.10.404 → 0.10.406
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/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -12
- package/dist/src/backgroundJobs/jobs/health.d.ts +2 -12
- package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -3
- package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -3
- package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -12
- package/dist/src/eden/index.d.ts +10853 -8818
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +2 -3
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +2 -3
- package/dist/src/index.d.ts +66 -1379
- package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -12
- package/dist/src/internal/controllers/unclaimed.d.ts +2 -12
- package/dist/src/jobs/etl/reward-breakdowns.js +4 -3
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -66
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -30
- package/dist/src/modules/v4/boost/boost.controller.d.ts +2 -12
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +5 -78
- 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 +2 -39
- package/dist/src/modules/v4/claims/claims.controller.d.ts +2 -12
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -39
- package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -39
- package/dist/src/modules/v4/dungeonKeeper/dungeonKeeper.controller.d.ts +2 -3
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +3 -31
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
- package/dist/src/modules/v4/explorer/explorer.controller.d.ts +2 -12
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +3 -31
- package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +2 -12
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +2 -21
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +18 -118
- 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 +2 -48
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +2 -75
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +9 -46
- 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 +5 -147
- 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 +45 -1009
- package/dist/src/modules/v4/status/status.controller.d.ts +2 -48
- package/dist/src/modules/v4/token/token.controller.d.ts +2 -75
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -12
- package/dist/src/modules/v4/user/user.controller.d.ts +8 -90
- package/dist/src/plugins/error-handling.plugin.d.ts +2 -3
- package/dist/src/plugins/logger.plugin.d.ts +2 -3
- package/dist/src/routes/v1/allowances.d.ts +2 -12
- package/dist/src/routes/v1/balances.d.ts +2 -12
- package/dist/src/routes/v1/prices.d.ts +2 -12
- package/dist/src/routes/v1/router.d.ts +2 -39
- package/dist/src/routes/v1/tokens.d.ts +2 -12
- package/dist/src/routes/v2/merkl.d.ts +2 -12
- package/dist/src/routes/v2/router.d.ts +2 -12
- package/dist/src/routes/v3/app.d.ts +2 -12
- package/dist/src/routes/v3/blacklist.d.ts +2 -12
- package/dist/src/routes/v3/campaign/delay.d.ts +2 -12
- package/dist/src/routes/v3/campaignClaims.d.ts +2 -12
- package/dist/src/routes/v3/campaignReport.d.ts +2 -12
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +2 -12
- package/dist/src/routes/v3/campaigns.d.ts +2 -12
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -12
- package/dist/src/routes/v3/campaignsInfo.d.ts +2 -12
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -12
- package/dist/src/routes/v3/claims.d.ts +2 -12
- package/dist/src/routes/v3/compoundV2.d.ts +2 -12
- package/dist/src/routes/v3/createCampaign.d.ts +2 -12
- package/dist/src/routes/v3/dolomite.d.ts +2 -12
- package/dist/src/routes/v3/euler.d.ts +2 -12
- package/dist/src/routes/v3/exports/campaigns.d.ts +2 -12
- package/dist/src/routes/v3/fetch.d.ts +2 -12
- package/dist/src/routes/v3/health.d.ts +2 -12
- package/dist/src/routes/v3/lostyield.d.ts +2 -12
- package/dist/src/routes/v3/merkl.d.ts +2 -3
- package/dist/src/routes/v3/morphoMarkets.d.ts +2 -12
- package/dist/src/routes/v3/morphoVaults.d.ts +2 -12
- package/dist/src/routes/v3/multiChainPositions.d.ts +2 -12
- package/dist/src/routes/v3/opportunity.d.ts +2 -12
- package/dist/src/routes/v3/overview.d.ts +2 -12
- package/dist/src/routes/v3/parse.d.ts +2 -12
- package/dist/src/routes/v3/payload.d.ts +2 -12
- package/dist/src/routes/v3/poolInfo.d.ts +2 -12
- package/dist/src/routes/v3/positions.d.ts +2 -12
- package/dist/src/routes/v3/radiant.d.ts +2 -12
- package/dist/src/routes/v3/recipients.d.ts +2 -12
- package/dist/src/routes/v3/rewards.d.ts +2 -12
- package/dist/src/routes/v3/rewardsReport.d.ts +2 -12
- package/dist/src/routes/v3/router.d.ts +3 -328
- package/dist/src/routes/v3/silo.d.ts +2 -12
- package/dist/src/routes/v3/token.d.ts +2 -12
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -12
- package/dist/src/routes/v3/twt/participants.d.ts +2 -12
- package/dist/src/routes/v3/uniswapv4.d.ts +2 -12
- package/dist/src/routes/v3/updates.d.ts +2 -12
- package/dist/src/routes/v3/userRewards.d.ts +2 -12
- package/dist/src/utils/error.d.ts +2 -3
- package/dist/src/utils/logger.d.ts +8 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +6 -6
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const ChainController: Elysia<"/chains", {
|
2
|
+
export declare const ChainController: Elysia<"/chains", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
chains: {
|
17
16
|
":chainId": {
|
@@ -34,15 +33,6 @@ export declare const ChainController: Elysia<"/chains", {
|
|
34
33
|
chainId: number;
|
35
34
|
}[];
|
36
35
|
} | null;
|
37
|
-
422: {
|
38
|
-
type: "validation";
|
39
|
-
on: string;
|
40
|
-
summary?: string;
|
41
|
-
message?: string;
|
42
|
-
found?: unknown;
|
43
|
-
property?: string;
|
44
|
-
expected?: string;
|
45
|
-
};
|
46
36
|
};
|
47
37
|
};
|
48
38
|
};
|
@@ -69,15 +59,6 @@ export declare const ChainController: Elysia<"/chains", {
|
|
69
59
|
chainId: number;
|
70
60
|
}[];
|
71
61
|
}[];
|
72
|
-
422: {
|
73
|
-
type: "validation";
|
74
|
-
on: string;
|
75
|
-
summary?: string;
|
76
|
-
message?: string;
|
77
|
-
found?: unknown;
|
78
|
-
property?: string;
|
79
|
-
expected?: string;
|
80
|
-
};
|
81
62
|
};
|
82
63
|
};
|
83
64
|
};
|
@@ -94,15 +75,6 @@ export declare const ChainController: Elysia<"/chains", {
|
|
94
75
|
headers: unknown;
|
95
76
|
response: {
|
96
77
|
200: number;
|
97
|
-
422: {
|
98
|
-
type: "validation";
|
99
|
-
on: string;
|
100
|
-
summary?: string;
|
101
|
-
message?: string;
|
102
|
-
found?: unknown;
|
103
|
-
property?: string;
|
104
|
-
expected?: string;
|
105
|
-
};
|
106
78
|
};
|
107
79
|
};
|
108
80
|
};
|
@@ -127,15 +99,6 @@ export declare const ChainController: Elysia<"/chains", {
|
|
127
99
|
id: number;
|
128
100
|
icon: string;
|
129
101
|
};
|
130
|
-
422: {
|
131
|
-
type: "validation";
|
132
|
-
on: string;
|
133
|
-
summary?: string;
|
134
|
-
message?: string;
|
135
|
-
found?: unknown;
|
136
|
-
property?: string;
|
137
|
-
expected?: string;
|
138
|
-
};
|
139
102
|
};
|
140
103
|
};
|
141
104
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const ClaimController: Elysia<"/claims", {
|
2
|
+
export declare const ClaimController: Elysia<"/claims", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
claims: {
|
17
16
|
":address": {
|
@@ -28,15 +27,6 @@ export declare const ClaimController: Elysia<"/claims", {
|
|
28
27
|
200: (import("./claims.model").ClaimModel & {
|
29
28
|
token?: import("..").Token["model"];
|
30
29
|
})[];
|
31
|
-
422: {
|
32
|
-
type: "validation";
|
33
|
-
on: string;
|
34
|
-
summary?: string;
|
35
|
-
message?: string;
|
36
|
-
found?: unknown;
|
37
|
-
property?: string;
|
38
|
-
expected?: string;
|
39
|
-
};
|
40
30
|
};
|
41
31
|
};
|
42
32
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const ComputedValueController: Elysia<"/value", {
|
2
|
+
export declare const ComputedValueController: Elysia<"/value", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
value: {
|
17
16
|
campaign: {
|
@@ -31,15 +30,6 @@ export declare const ComputedValueController: Elysia<"/value", {
|
|
31
30
|
totalDistributedInUSD: number | null;
|
32
31
|
forfeitingBoost: number | null;
|
33
32
|
} | null;
|
34
|
-
422: {
|
35
|
-
type: "validation";
|
36
|
-
on: string;
|
37
|
-
summary?: string;
|
38
|
-
message?: string;
|
39
|
-
found?: unknown;
|
40
|
-
property?: string;
|
41
|
-
expected?: string;
|
42
|
-
};
|
43
33
|
};
|
44
34
|
};
|
45
35
|
};
|
@@ -66,15 +56,6 @@ export declare const ComputedValueController: Elysia<"/value", {
|
|
66
56
|
campaignId: string;
|
67
57
|
boost: number | null;
|
68
58
|
}[];
|
69
|
-
422: {
|
70
|
-
type: "validation";
|
71
|
-
on: string;
|
72
|
-
summary?: string;
|
73
|
-
message?: string;
|
74
|
-
found?: unknown;
|
75
|
-
property?: string;
|
76
|
-
expected?: string;
|
77
|
-
};
|
78
59
|
};
|
79
60
|
};
|
80
61
|
};
|
@@ -98,15 +79,6 @@ export declare const ComputedValueController: Elysia<"/value", {
|
|
98
79
|
};
|
99
80
|
response: {
|
100
81
|
200: void;
|
101
|
-
422: {
|
102
|
-
type: "validation";
|
103
|
-
on: string;
|
104
|
-
summary?: string;
|
105
|
-
message?: string;
|
106
|
-
found?: unknown;
|
107
|
-
property?: string;
|
108
|
-
expected?: string;
|
109
|
-
};
|
110
82
|
};
|
111
83
|
};
|
112
84
|
};
|
@@ -131,15 +103,6 @@ export declare const ComputedValueController: Elysia<"/value", {
|
|
131
103
|
};
|
132
104
|
response: {
|
133
105
|
200: void;
|
134
|
-
422: {
|
135
|
-
type: "validation";
|
136
|
-
on: string;
|
137
|
-
summary?: string;
|
138
|
-
message?: string;
|
139
|
-
found?: unknown;
|
140
|
-
property?: string;
|
141
|
-
expected?: string;
|
142
|
-
};
|
143
106
|
};
|
144
107
|
};
|
145
108
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import { Elysia } from "elysia";
|
2
|
-
export declare const CreatorController: Elysia<"/creators", {
|
2
|
+
export declare const CreatorController: Elysia<"/creators", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
creators: {
|
17
16
|
index: {
|
@@ -32,15 +31,6 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
32
31
|
} & {
|
33
32
|
icon?: string | undefined;
|
34
33
|
})[];
|
35
|
-
422: {
|
36
|
-
type: "validation";
|
37
|
-
on: string;
|
38
|
-
summary?: string;
|
39
|
-
message?: string;
|
40
|
-
found?: unknown;
|
41
|
-
property?: string;
|
42
|
-
expected?: string;
|
43
|
-
};
|
44
34
|
};
|
45
35
|
};
|
46
36
|
};
|
@@ -62,15 +52,6 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
62
52
|
addresses: string[];
|
63
53
|
icon?: string | undefined;
|
64
54
|
};
|
65
|
-
422: {
|
66
|
-
type: "validation";
|
67
|
-
on: string;
|
68
|
-
summary?: string;
|
69
|
-
message?: string;
|
70
|
-
found?: unknown;
|
71
|
-
property?: string;
|
72
|
-
expected?: string;
|
73
|
-
};
|
74
55
|
};
|
75
56
|
};
|
76
57
|
};
|
@@ -96,15 +77,6 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
96
77
|
id: string;
|
97
78
|
icon: string | null;
|
98
79
|
};
|
99
|
-
422: {
|
100
|
-
type: "validation";
|
101
|
-
on: string;
|
102
|
-
summary?: string;
|
103
|
-
message?: string;
|
104
|
-
found?: unknown;
|
105
|
-
property?: string;
|
106
|
-
expected?: string;
|
107
|
-
};
|
108
80
|
};
|
109
81
|
};
|
110
82
|
};
|
@@ -131,15 +103,6 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
131
103
|
id: string;
|
132
104
|
icon: string | null;
|
133
105
|
};
|
134
|
-
422: {
|
135
|
-
type: "validation";
|
136
|
-
on: string;
|
137
|
-
summary?: string;
|
138
|
-
message?: string;
|
139
|
-
found?: unknown;
|
140
|
-
property?: string;
|
141
|
-
expected?: string;
|
142
|
-
};
|
143
106
|
};
|
144
107
|
};
|
145
108
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const DungeonKeeperController: Elysia<"/dungeonkeeper", {
|
2
|
+
export declare const DungeonKeeperController: Elysia<"/dungeonkeeper", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
dungeonkeeper: {
|
17
16
|
get: {
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const DynamicDataController: Elysia<"/dynamic-data", {
|
2
|
+
export declare const DynamicDataController: Elysia<"/dynamic-data", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
"dynamic-data": {
|
17
16
|
index: {
|
@@ -35,15 +34,6 @@ export declare const DynamicDataController: Elysia<"/dynamic-data", {
|
|
35
34
|
priceTargetToken: number;
|
36
35
|
type: string;
|
37
36
|
};
|
38
|
-
422: {
|
39
|
-
type: "validation";
|
40
|
-
on: string;
|
41
|
-
summary?: string;
|
42
|
-
message?: string;
|
43
|
-
found?: unknown;
|
44
|
-
property?: string;
|
45
|
-
expected?: string;
|
46
|
-
};
|
47
37
|
};
|
48
38
|
};
|
49
39
|
};
|
@@ -72,8 +62,8 @@ export declare const DynamicDataController: Elysia<"/dynamic-data", {
|
|
72
62
|
rewardTokenAddress?: string | undefined;
|
73
63
|
distributionChain?: {} | undefined;
|
74
64
|
opportunityIdentifier?: string | undefined;
|
75
|
-
params: {};
|
76
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
|
+
params: {};
|
77
67
|
computeChainId: number;
|
78
68
|
};
|
79
69
|
params: {};
|
@@ -83,15 +73,6 @@ export declare const DynamicDataController: Elysia<"/dynamic-data", {
|
|
83
73
|
};
|
84
74
|
response: {
|
85
75
|
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
|
-
};
|
95
76
|
};
|
96
77
|
};
|
97
78
|
};
|
@@ -125,15 +106,6 @@ export declare const DynamicDataController: Elysia<"/dynamic-data", {
|
|
125
106
|
};
|
126
107
|
response: {
|
127
108
|
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
|
-
};
|
137
109
|
};
|
138
110
|
};
|
139
111
|
};
|
@@ -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;
|
10
9
|
name: string;
|
11
10
|
url: string;
|
11
|
+
description: string;
|
12
12
|
id: string;
|
13
13
|
tags: string[];
|
14
14
|
icon: string;
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const ExplorerController: Elysia<"/explorers", {
|
2
|
+
export declare const ExplorerController: Elysia<"/explorers", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
explorers: {
|
17
16
|
post: {
|
@@ -32,15 +31,6 @@ export declare const ExplorerController: Elysia<"/explorers", {
|
|
32
31
|
id: string;
|
33
32
|
chainId: number;
|
34
33
|
};
|
35
|
-
422: {
|
36
|
-
type: "validation";
|
37
|
-
on: string;
|
38
|
-
summary?: string;
|
39
|
-
message?: string;
|
40
|
-
found?: unknown;
|
41
|
-
property?: string;
|
42
|
-
expected?: string;
|
43
|
-
};
|
44
34
|
};
|
45
35
|
};
|
46
36
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const InteractionController: Elysia<"/interaction", {
|
2
|
+
export declare const InteractionController: Elysia<"/interaction", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
interaction: {
|
17
16
|
targets: {
|
@@ -26,15 +25,6 @@ export declare const InteractionController: Elysia<"/interaction", {
|
|
26
25
|
headers: unknown;
|
27
26
|
response: {
|
28
27
|
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
|
-
};
|
38
28
|
};
|
39
29
|
};
|
40
30
|
};
|
@@ -51,22 +41,13 @@ export declare const InteractionController: Elysia<"/interaction", {
|
|
51
41
|
headers: unknown;
|
52
42
|
response: {
|
53
43
|
200: ({
|
54
|
-
description: string;
|
55
44
|
name: string;
|
56
45
|
url: string;
|
46
|
+
description: string;
|
57
47
|
id: string;
|
58
48
|
tags: string[];
|
59
49
|
icon: string;
|
60
50
|
} & {})[];
|
61
|
-
422: {
|
62
|
-
type: "validation";
|
63
|
-
on: string;
|
64
|
-
summary?: string;
|
65
|
-
message?: string;
|
66
|
-
found?: unknown;
|
67
|
-
property?: string;
|
68
|
-
expected?: string;
|
69
|
-
};
|
70
51
|
};
|
71
52
|
};
|
72
53
|
};
|
@@ -95,15 +76,6 @@ export declare const InteractionController: Elysia<"/interaction", {
|
|
95
76
|
transaction: import("./interaction.model").UserTransaction;
|
96
77
|
approval: import("./interaction.model").UserTransaction;
|
97
78
|
} | 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
|
-
};
|
107
79
|
};
|
108
80
|
};
|
109
81
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import { Elysia } from "elysia";
|
2
|
-
export declare const LiquidityController: Elysia<"/liquidity", {
|
2
|
+
export declare const LiquidityController: Elysia<"/liquidity", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
liquidity: {
|
17
16
|
index: {
|
@@ -25,15 +24,6 @@ export declare const LiquidityController: Elysia<"/liquidity", {
|
|
25
24
|
headers: unknown;
|
26
25
|
response: {
|
27
26
|
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
|
-
};
|
37
27
|
};
|
38
28
|
};
|
39
29
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const MerklRootController: Elysia<"/roots", {
|
2
|
+
export declare const MerklRootController: Elysia<"/roots", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
roots: {
|
17
16
|
index: {
|
@@ -31,15 +30,6 @@ export declare const MerklRootController: Elysia<"/roots", {
|
|
31
30
|
root: string;
|
32
31
|
epoch: number;
|
33
32
|
}[];
|
34
|
-
422: {
|
35
|
-
type: "validation";
|
36
|
-
on: string;
|
37
|
-
summary?: string;
|
38
|
-
message?: string;
|
39
|
-
found?: unknown;
|
40
|
-
property?: string;
|
41
|
-
expected?: string;
|
42
|
-
};
|
43
33
|
};
|
44
34
|
};
|
45
35
|
};
|
@@ -86,15 +76,6 @@ export declare const MerklRootController: Elysia<"/roots", {
|
|
86
76
|
root: string;
|
87
77
|
epoch: number;
|
88
78
|
};
|
89
|
-
422: {
|
90
|
-
type: "validation";
|
91
|
-
on: string;
|
92
|
-
summary?: string;
|
93
|
-
message?: string;
|
94
|
-
found?: unknown;
|
95
|
-
property?: string;
|
96
|
-
expected?: string;
|
97
|
-
};
|
98
79
|
};
|
99
80
|
};
|
100
81
|
};
|