@merkl/api 0.10.405 → 0.10.407
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/pendings.js +129 -2
- 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
@@ -67,9 +67,9 @@ export declare abstract class CampaignRepository {
|
|
67
67
|
};
|
68
68
|
};
|
69
69
|
static upsert(campaign: CreateCampaignModel): Promise<{
|
70
|
-
params: Prisma.JsonValue;
|
71
70
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
72
71
|
id: string;
|
72
|
+
params: Prisma.JsonValue;
|
73
73
|
subType: number | null;
|
74
74
|
startTimestamp: bigint;
|
75
75
|
endTimestamp: bigint;
|
@@ -110,9 +110,9 @@ export declare abstract class CampaignRepository {
|
|
110
110
|
static checkIfExist(campaign: CampaignUnique): Promise<boolean>;
|
111
111
|
static checkIfIdExist(id: string): Promise<boolean>;
|
112
112
|
static findUnique(campaign: CampaignUnique): Promise<{
|
113
|
-
params: Prisma.JsonValue;
|
114
113
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
115
114
|
id: string;
|
115
|
+
params: Prisma.JsonValue;
|
116
116
|
subType: number | null;
|
117
117
|
startTimestamp: bigint;
|
118
118
|
endTimestamp: bigint;
|
@@ -125,9 +125,9 @@ export declare abstract class CampaignRepository {
|
|
125
125
|
creatorAddress: string;
|
126
126
|
} | null>;
|
127
127
|
static findUniqueOrThrow(id: string): Promise<{
|
128
|
-
params: Prisma.JsonValue;
|
129
128
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
130
129
|
id: string;
|
130
|
+
params: Prisma.JsonValue;
|
131
131
|
subType: number | null;
|
132
132
|
startTimestamp: bigint;
|
133
133
|
endTimestamp: bigint;
|
@@ -179,9 +179,9 @@ export declare abstract class CampaignRepository {
|
|
179
179
|
price: number | null;
|
180
180
|
};
|
181
181
|
} & {
|
182
|
-
params: Prisma.JsonValue;
|
183
182
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
184
183
|
id: string;
|
184
|
+
params: Prisma.JsonValue;
|
185
185
|
subType: number | null;
|
186
186
|
startTimestamp: bigint;
|
187
187
|
endTimestamp: bigint;
|
@@ -199,9 +199,9 @@ export declare abstract class CampaignRepository {
|
|
199
199
|
}[]>;
|
200
200
|
static findChains(): Promise<Record<string, ChainId>>;
|
201
201
|
static updateOpportunity(id: string, data: extendedUpdateCampaignModel): Promise<{
|
202
|
-
params: Prisma.JsonValue;
|
203
202
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
204
203
|
id: string;
|
204
|
+
params: Prisma.JsonValue;
|
205
205
|
subType: number | null;
|
206
206
|
startTimestamp: bigint;
|
207
207
|
endTimestamp: bigint;
|
@@ -214,9 +214,9 @@ export declare abstract class CampaignRepository {
|
|
214
214
|
creatorAddress: string;
|
215
215
|
}>;
|
216
216
|
static updateMetaData(id: string, params: string): Promise<{
|
217
|
-
params: Prisma.JsonValue;
|
218
217
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
219
218
|
id: string;
|
219
|
+
params: Prisma.JsonValue;
|
220
220
|
subType: number | null;
|
221
221
|
startTimestamp: bigint;
|
222
222
|
endTimestamp: bigint;
|
@@ -6,9 +6,9 @@ export declare abstract class CampaignService {
|
|
6
6
|
static hashId(campaign: CampaignUnique): string;
|
7
7
|
static splitIdOrThrow(chainAndCampaignId: `${number}-${string}` | string): CampaignUnique;
|
8
8
|
static create(campaign: Omit<CreateCampaignModel, "id">): Promise<{
|
9
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
10
9
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
11
10
|
id: string;
|
11
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
12
12
|
subType: number | null;
|
13
13
|
startTimestamp: bigint;
|
14
14
|
endTimestamp: bigint;
|
@@ -21,9 +21,9 @@ export declare abstract class CampaignService {
|
|
21
21
|
creatorAddress: string;
|
22
22
|
} | undefined>;
|
23
23
|
static updateMetaData(campaign: Omit<UpdateMetaDataCampaignModel, "id">): Promise<{
|
24
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
25
24
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
26
25
|
id: string;
|
26
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
27
27
|
subType: number | null;
|
28
28
|
startTimestamp: bigint;
|
29
29
|
endTimestamp: bigint;
|
@@ -101,9 +101,9 @@ export declare abstract class CampaignService {
|
|
101
101
|
static checkIfExist(campaign: CampaignUnique): Promise<boolean>;
|
102
102
|
static checkIfIdExist(id: string): Promise<boolean>;
|
103
103
|
static findUnique(campaign: CampaignUnique): Promise<{
|
104
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
105
104
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
106
105
|
id: string;
|
106
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
107
107
|
subType: number | null;
|
108
108
|
startTimestamp: bigint;
|
109
109
|
endTimestamp: bigint;
|
@@ -116,9 +116,9 @@ export declare abstract class CampaignService {
|
|
116
116
|
creatorAddress: string;
|
117
117
|
} | null>;
|
118
118
|
static findUniqueOrThrow(campaign: CampaignUnique | string): Promise<{
|
119
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
120
119
|
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
121
120
|
id: string;
|
121
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
122
122
|
subType: number | null;
|
123
123
|
startTimestamp: bigint;
|
124
124
|
endTimestamp: bigint;
|
@@ -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
|
};
|