@merkl/api 0.10.199 → 0.10.201
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/eden/index.d.ts +2 -6398
- package/dist/src/errors/HttpError.d.ts +5 -0
- package/dist/src/errors/HttpError.js +6 -0
- package/dist/src/errors/NotFound.error.d.ts +4 -0
- package/dist/src/errors/NotFound.error.js +5 -0
- package/dist/src/index.d.ts +1 -2464
- package/dist/src/index.js +56 -7
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicData.js +15 -22
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/factoryFinder.js +1 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +3 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +8 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GammaProcessor.d.ts +43 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GammaProcessor.js +63 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.js +3 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/NoLinkVaultProcessor.d.ts +36 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/NoLinkVaultProcessor.js +51 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/StakingProcessor.d.ts +0 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/StakingProcessor.js +15 -7
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +4 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPrices.d.ts +1 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPrices.js +13 -572
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.d.ts +2 -21
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.js +197 -1174
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2.d.ts +1 -5
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2.js +11 -634
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3.d.ts +1 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3.js +10 -380
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4.js +11 -312
- package/dist/src/libs/campaigns/campaignTypes/EulerDynamicData.js +8 -8
- package/dist/src/libs/campaigns/campaignTypes/RadiantDynamicData.js +3 -4
- package/dist/src/libs/campaigns/campaignsDynamicData.js +0 -5
- package/dist/src/modules/v4/accounting/accounting.controller.js +1 -1
- package/dist/src/modules/v4/apr/apr.model.d.ts +26 -0
- package/dist/src/modules/v4/apr/apr.model.js +15 -1
- package/dist/src/modules/v4/blacklist/blacklist.controller.js +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +6 -4
- package/dist/src/modules/v4/campaign/campaign.controller.js +14 -4
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +51 -5
- package/dist/src/modules/v4/campaign/campaign.model.js +48 -13
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.repository.js +10 -2
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -2
- package/dist/src/modules/v4/chain/chain.controller.d.ts +2 -2
- package/dist/src/modules/v4/chain/chain.controller.js +7 -2
- package/dist/src/modules/v4/chain/chain.model.d.ts +6 -1
- package/dist/src/modules/v4/chain/chain.model.js +8 -1
- package/dist/src/modules/v4/chain/chain.repository.js +1 -1
- package/dist/src/modules/v4/claims/claims.controller.js +1 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.js +4 -1
- package/dist/src/modules/v4/enso/enso.model.d.ts +1 -1
- package/dist/src/modules/v4/enso/enso.model.js +2 -1
- package/dist/src/modules/v4/enso/enso.service.d.ts +0 -1
- package/dist/src/modules/v4/enso/enso.service.js +4 -4
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +26 -17
- package/dist/src/modules/v4/interaction/interaction.controller.js +19 -28
- package/dist/src/modules/v4/interaction/interaction.model.d.ts +17 -5
- package/dist/src/modules/v4/interaction/interaction.model.js +3 -3
- package/dist/src/modules/v4/interaction/interaction.service.d.ts +18 -3
- package/dist/src/modules/v4/interaction/interaction.service.js +89 -11
- package/dist/src/modules/v4/kyberzap/kyberzap.model.d.ts +72 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.model.js +79 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.service.d.ts +15 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.service.js +84 -0
- package/dist/src/modules/v4/liquidity/liquidity.controller.js +1 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.js +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +224 -213
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +39 -10
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +252 -22
- package/dist/src/modules/v4/opportunity/opportunity.model.js +58 -15
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -11
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -232
- package/dist/src/modules/v4/opportunity/opportunity.service.js +0 -32
- package/dist/src/modules/v4/price/price.controller.js +1 -1
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +23 -24
- package/dist/src/modules/v4/protocol/protocol.controller.js +15 -9
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +13 -1
- package/dist/src/modules/v4/protocol/protocol.model.js +12 -8
- package/dist/src/modules/v4/reward/reward.controller.js +1 -1
- package/dist/src/modules/v4/reward/reward.model.d.ts +44 -1
- package/dist/src/modules/v4/reward/reward.model.js +15 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.service.d.ts +11 -11
- package/dist/src/modules/v4/reward/reward.service.js +1 -1
- package/dist/src/modules/v4/router.d.ts +289 -268
- package/dist/src/modules/v4/status/status.controller.js +2 -3
- package/dist/src/modules/v4/status/status.model.d.ts +12 -0
- package/dist/src/modules/v4/status/status.model.js +12 -0
- package/dist/src/modules/v4/token/token.controller.d.ts +4 -4
- package/dist/src/modules/v4/token/token.controller.js +1 -1
- package/dist/src/modules/v4/token/token.model.d.ts +12 -0
- package/dist/src/modules/v4/token/token.model.js +12 -0
- package/dist/src/modules/v4/token/token.repository.d.ts +2 -2
- package/dist/src/modules/v4/token/token.service.d.ts +7 -7
- package/dist/src/modules/v4/tvl/tvl.model.d.ts +24 -0
- package/dist/src/modules/v4/tvl/tvl.model.js +15 -1
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +1 -1
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.js +9 -8
- package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
- package/dist/src/modules/v4/user/user.controller.js +20 -17
- package/dist/src/modules/v4/user/user.model.d.ts +30 -0
- package/dist/src/modules/v4/user/user.model.js +27 -0
- package/dist/src/modules/v4/zyfi/zyfi.model.d.ts +45 -0
- package/dist/src/modules/v4/zyfi/zyfi.model.js +1 -0
- package/dist/src/modules/v4/zyfi/zyfi.service.d.ts +30 -0
- package/dist/src/modules/v4/zyfi/zyfi.service.js +35 -0
- package/dist/src/plugins/error-handling.plugin.d.ts +2 -2
- package/dist/src/plugins/error-handling.plugin.js +9 -3
- package/dist/src/plugins/logger.plugin.js +1 -20
- package/dist/src/routes/v1/allowances.d.ts +1 -1
- package/dist/src/routes/v1/allowances.js +1 -1
- package/dist/src/routes/v1/balances.d.ts +1 -1
- package/dist/src/routes/v1/balances.js +1 -1
- package/dist/src/routes/v1/prices.d.ts +1 -1
- package/dist/src/routes/v1/prices.js +1 -1
- package/dist/src/routes/v1/router.d.ts +102 -0
- package/dist/src/routes/v1/router.js +6 -0
- package/dist/src/routes/v1/tokens.d.ts +1 -1
- package/dist/src/routes/v1/tokens.js +1 -1
- package/dist/src/routes/v2/merkl.d.ts +5 -5
- package/dist/src/routes/v2/merkl.js +1 -1
- package/dist/src/routes/v2/router.d.ts +46 -0
- package/dist/src/routes/v2/router.js +3 -0
- package/dist/src/routes/v3/app.d.ts +1 -1
- package/dist/src/routes/v3/app.js +1 -1
- package/dist/src/routes/v3/blacklist.d.ts +1 -2479
- package/dist/src/routes/v3/blacklist.js +1 -1
- package/dist/src/routes/v3/campaignClaims.d.ts +1 -1
- package/dist/src/routes/v3/campaignClaims.js +1 -1
- package/dist/src/routes/v3/campaignReport.d.ts +1 -1
- package/dist/src/routes/v3/campaignReport.js +1 -1
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +1 -1
- package/dist/src/routes/v3/campaignUnclaimed.js +1 -1
- package/dist/src/routes/v3/campaigns.d.ts +1 -2483
- package/dist/src/routes/v3/campaigns.js +1 -1
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +1 -1
- package/dist/src/routes/v3/campaignsForMainParameter.js +1 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +1 -2481
- package/dist/src/routes/v3/campaignsInfo.js +1 -1
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +1 -1
- package/dist/src/routes/v3/campaignsRewardsReport.js +1 -1
- package/dist/src/routes/v3/claims.d.ts +2 -2
- package/dist/src/routes/v3/claims.js +1 -1
- package/dist/src/routes/v3/compoundV2.d.ts +1 -1
- package/dist/src/routes/v3/compoundV2.js +1 -1
- package/dist/src/routes/v3/createCampaign.d.ts +1 -1
- package/dist/src/routes/v3/createCampaign.js +1 -1
- package/dist/src/routes/v3/dolomite.d.ts +1 -1
- package/dist/src/routes/v3/dolomite.js +1 -1
- package/dist/src/routes/v3/euler.d.ts +1 -1
- package/dist/src/routes/v3/euler.js +1 -1
- package/dist/src/routes/v3/fetch.d.ts +1 -1
- package/dist/src/routes/v3/fetch.js +1 -1
- package/dist/src/routes/v3/health.d.ts +1 -1
- package/dist/src/routes/v3/health.js +1 -1
- package/dist/src/routes/v3/lostyield.d.ts +1 -1
- package/dist/src/routes/v3/lostyield.js +1 -1
- package/dist/src/routes/v3/merkl.d.ts +1 -1
- package/dist/src/routes/v3/merkl.js +1 -1
- package/dist/src/routes/v3/morphoMarkets.d.ts +1 -1
- package/dist/src/routes/v3/morphoMarkets.js +1 -1
- package/dist/src/routes/v3/morphoVaults.d.ts +1 -1
- package/dist/src/routes/v3/morphoVaults.js +1 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +1 -2480
- package/dist/src/routes/v3/multiChainPositions.js +1 -1
- package/dist/src/routes/v3/opportunity.d.ts +1 -2483
- package/dist/src/routes/v3/opportunity.js +1 -1
- package/dist/src/routes/v3/overview.d.ts +1 -1
- package/dist/src/routes/v3/overview.js +1 -1
- package/dist/src/routes/v3/parse.d.ts +1 -1
- package/dist/src/routes/v3/parse.js +1 -1
- package/dist/src/routes/v3/payload.d.ts +1 -1
- package/dist/src/routes/v3/payload.js +1 -1
- package/dist/src/routes/v3/poolInfo.js +1 -1
- package/dist/src/routes/v3/positions.d.ts +1 -2479
- package/dist/src/routes/v3/positions.js +1 -1
- package/dist/src/routes/v3/radiant.d.ts +1 -1
- package/dist/src/routes/v3/radiant.js +1 -1
- package/dist/src/routes/v3/recipients.d.ts +1 -1
- package/dist/src/routes/v3/recipients.js +1 -1
- package/dist/src/routes/v3/rewards.d.ts +1 -2508
- package/dist/src/routes/v3/rewards.js +1 -1
- package/dist/src/routes/v3/rewardsReport.d.ts +1 -1
- package/dist/src/routes/v3/rewardsReport.js +1 -1
- package/dist/src/routes/v3/router.d.ts +1 -0
- package/dist/src/routes/v3/router.js +74 -0
- package/dist/src/routes/v3/silo.d.ts +1 -1
- package/dist/src/routes/v3/silo.js +1 -1
- package/dist/src/routes/v3/token.d.ts +1 -1
- package/dist/src/routes/v3/token.js +1 -1
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +1 -1
- package/dist/src/routes/v3/tokenUnclaimed.js +1 -1
- package/dist/src/routes/v3/updates.d.ts +1 -2483
- package/dist/src/routes/v3/updates.js +1 -1
- package/dist/src/routes/v3/userRewards.d.ts +1 -2499
- package/dist/src/routes/v3/userRewards.js +1 -1
- package/dist/src/utils/decodeCalls.js +12 -1
- package/dist/src/utils/encodeCalls.js +26 -3
- package/dist/src/utils/generateCardName.js +2 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +2 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.d.ts +0 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.js +0 -155
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.d.ts +0 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.js +0 -24
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +0 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +0 -230
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.d.ts +0 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.js +0 -22
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.d.ts +0 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.js +0 -22
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.d.ts +0 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.js +0 -22
- package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.d.ts +0 -3
- package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.js +0 -75
@@ -51,13 +51,25 @@ export declare const v4: Elysia<"/v4", false, {
|
|
51
51
|
};
|
52
52
|
} & {
|
53
53
|
opportunities: {
|
54
|
-
|
54
|
+
index: {
|
55
55
|
get: {
|
56
56
|
body: unknown;
|
57
|
-
params: {
|
58
|
-
|
57
|
+
params: {};
|
58
|
+
query: {
|
59
|
+
sort?: string | undefined;
|
60
|
+
name?: string | undefined;
|
61
|
+
tokens?: string | undefined;
|
62
|
+
status?: string | undefined;
|
63
|
+
items?: number | undefined;
|
64
|
+
tags?: string | undefined;
|
65
|
+
page?: number | undefined;
|
66
|
+
chainId?: string | undefined;
|
67
|
+
action?: string | undefined;
|
68
|
+
mainProtocolId?: string | undefined;
|
69
|
+
order?: string | undefined;
|
70
|
+
test?: boolean | undefined;
|
71
|
+
minimumTvl?: number | undefined;
|
59
72
|
};
|
60
|
-
query: unknown;
|
61
73
|
headers: unknown;
|
62
74
|
response: {
|
63
75
|
200: {
|
@@ -97,9 +109,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
97
109
|
symbol: string;
|
98
110
|
name: string | null;
|
99
111
|
id: string;
|
112
|
+
icon: string;
|
100
113
|
chainId: number;
|
101
114
|
address: string;
|
102
|
-
icon: string;
|
103
115
|
decimals: number;
|
104
116
|
displaySymbol: string;
|
105
117
|
verified: boolean;
|
@@ -114,9 +126,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
114
126
|
symbol: string;
|
115
127
|
name: string | null;
|
116
128
|
id: string;
|
129
|
+
icon: string;
|
117
130
|
chainId: number;
|
118
131
|
address: string;
|
119
|
-
icon: string;
|
120
132
|
decimals: number;
|
121
133
|
verified: boolean;
|
122
134
|
isTest: boolean;
|
@@ -146,7 +158,143 @@ export declare const v4: Elysia<"/v4", false, {
|
|
146
158
|
tvl: number;
|
147
159
|
apr: number;
|
148
160
|
dailyRewards: number;
|
149
|
-
}
|
161
|
+
}[];
|
162
|
+
};
|
163
|
+
};
|
164
|
+
};
|
165
|
+
};
|
166
|
+
} & {
|
167
|
+
opportunities: {
|
168
|
+
count: {
|
169
|
+
get: {
|
170
|
+
body: unknown;
|
171
|
+
params: {};
|
172
|
+
query: {
|
173
|
+
sort?: string | undefined;
|
174
|
+
name?: string | undefined;
|
175
|
+
tokens?: string | undefined;
|
176
|
+
status?: string | undefined;
|
177
|
+
items?: number | undefined;
|
178
|
+
tags?: string | undefined;
|
179
|
+
page?: number | undefined;
|
180
|
+
chainId?: string | undefined;
|
181
|
+
action?: string | undefined;
|
182
|
+
mainProtocolId?: string | undefined;
|
183
|
+
order?: string | undefined;
|
184
|
+
test?: boolean | undefined;
|
185
|
+
minimumTvl?: number | undefined;
|
186
|
+
};
|
187
|
+
headers: unknown;
|
188
|
+
response: {
|
189
|
+
200: number;
|
190
|
+
};
|
191
|
+
};
|
192
|
+
};
|
193
|
+
};
|
194
|
+
} & {
|
195
|
+
opportunities: {
|
196
|
+
":id": {
|
197
|
+
get: {
|
198
|
+
body: unknown;
|
199
|
+
params: {
|
200
|
+
id: string;
|
201
|
+
};
|
202
|
+
query: unknown;
|
203
|
+
headers: unknown;
|
204
|
+
response: {
|
205
|
+
200: {
|
206
|
+
protocol?: {
|
207
|
+
name: string;
|
208
|
+
url: string;
|
209
|
+
description: string;
|
210
|
+
id: string;
|
211
|
+
tags: ("AMM" | "ALM" | "DEX" | "LENDING")[];
|
212
|
+
icon: string;
|
213
|
+
} | null | undefined;
|
214
|
+
aprRecord?: {
|
215
|
+
timestamp: string | bigint;
|
216
|
+
cumulated: number;
|
217
|
+
breakdowns: {
|
218
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
219
|
+
id: number;
|
220
|
+
identifier: string;
|
221
|
+
value: number;
|
222
|
+
aprRecordId: string;
|
223
|
+
}[];
|
224
|
+
} | undefined;
|
225
|
+
tvlRecord?: {
|
226
|
+
total: number;
|
227
|
+
timestamp: string | bigint;
|
228
|
+
breakdowns: {
|
229
|
+
type: "TOKEN" | "PROTOCOL";
|
230
|
+
id: number;
|
231
|
+
identifier: string;
|
232
|
+
value: number;
|
233
|
+
tvlRecordId: string;
|
234
|
+
}[];
|
235
|
+
} | undefined;
|
236
|
+
rewardsRecord?: {
|
237
|
+
total: number;
|
238
|
+
id: string;
|
239
|
+
timestamp: string | bigint;
|
240
|
+
breakdowns: {
|
241
|
+
token: {
|
242
|
+
price?: number | null | undefined;
|
243
|
+
symbol: string;
|
244
|
+
name: string | null;
|
245
|
+
id: string;
|
246
|
+
icon: string;
|
247
|
+
chainId: number;
|
248
|
+
address: string;
|
249
|
+
decimals: number;
|
250
|
+
verified: boolean;
|
251
|
+
isTest: boolean;
|
252
|
+
};
|
253
|
+
id: number;
|
254
|
+
value: number;
|
255
|
+
campaignId: string;
|
256
|
+
amount: string | bigint;
|
257
|
+
dailyRewardsRecordId: string;
|
258
|
+
}[];
|
259
|
+
} | undefined;
|
260
|
+
name: string;
|
261
|
+
type: string;
|
262
|
+
tokens: {
|
263
|
+
price?: number | null | undefined;
|
264
|
+
symbol: string;
|
265
|
+
name: string | null;
|
266
|
+
id: string;
|
267
|
+
icon: string;
|
268
|
+
chainId: number;
|
269
|
+
address: string;
|
270
|
+
decimals: number;
|
271
|
+
verified: boolean;
|
272
|
+
isTest: boolean;
|
273
|
+
}[];
|
274
|
+
id: string;
|
275
|
+
status: string;
|
276
|
+
tags: string[];
|
277
|
+
identifier: string;
|
278
|
+
chain: {
|
279
|
+
name: string;
|
280
|
+
id: number;
|
281
|
+
icon: string;
|
282
|
+
};
|
283
|
+
chainId: number;
|
284
|
+
action: string;
|
285
|
+
tvl: number;
|
286
|
+
apr: number;
|
287
|
+
dailyRewards: number;
|
288
|
+
};
|
289
|
+
readonly 404: {
|
290
|
+
message: string;
|
291
|
+
name: string;
|
292
|
+
};
|
293
|
+
readonly 500: {
|
294
|
+
code: string;
|
295
|
+
info: string;
|
296
|
+
httpCode: number;
|
297
|
+
};
|
150
298
|
};
|
151
299
|
};
|
152
300
|
};
|
@@ -164,129 +312,113 @@ export declare const v4: Elysia<"/v4", false, {
|
|
164
312
|
headers: unknown;
|
165
313
|
response: {
|
166
314
|
200: {
|
167
|
-
|
315
|
+
protocol?: {
|
316
|
+
name: string;
|
317
|
+
url: string;
|
318
|
+
description: string;
|
319
|
+
id: string;
|
320
|
+
tags: ("AMM" | "ALM" | "DEX" | "LENDING")[];
|
321
|
+
icon: string;
|
322
|
+
} | null | undefined;
|
323
|
+
aprRecord?: {
|
324
|
+
timestamp: string | bigint;
|
168
325
|
cumulated: number;
|
169
|
-
timestamp: bigint;
|
170
326
|
breakdowns: {
|
171
|
-
type:
|
327
|
+
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
172
328
|
id: number;
|
173
329
|
identifier: string;
|
174
330
|
value: number;
|
175
331
|
aprRecordId: string;
|
176
332
|
}[];
|
177
|
-
};
|
178
|
-
tvlRecord
|
179
|
-
id: string;
|
333
|
+
} | undefined;
|
334
|
+
tvlRecord?: {
|
180
335
|
total: number;
|
181
|
-
timestamp: bigint;
|
336
|
+
timestamp: string | bigint;
|
182
337
|
breakdowns: {
|
183
|
-
type:
|
338
|
+
type: "TOKEN" | "PROTOCOL";
|
184
339
|
id: number;
|
185
340
|
identifier: string;
|
186
341
|
value: number;
|
187
342
|
tvlRecordId: string;
|
188
343
|
}[];
|
189
|
-
};
|
190
|
-
rewardsRecord
|
191
|
-
id: string;
|
344
|
+
} | undefined;
|
345
|
+
rewardsRecord?: {
|
192
346
|
total: number;
|
193
|
-
|
347
|
+
id: string;
|
348
|
+
timestamp: string | bigint;
|
194
349
|
breakdowns: {
|
195
|
-
id: number;
|
196
|
-
value: number;
|
197
|
-
campaignId: string;
|
198
|
-
dailyRewardsRecordId: string;
|
199
350
|
token: {
|
351
|
+
price?: number | null | undefined;
|
200
352
|
symbol: string;
|
201
353
|
name: string | null;
|
202
354
|
id: string;
|
355
|
+
icon: string;
|
203
356
|
chainId: number;
|
204
357
|
address: string;
|
205
|
-
icon: string;
|
206
358
|
decimals: number;
|
207
|
-
displaySymbol: string;
|
208
359
|
verified: boolean;
|
209
360
|
isTest: boolean;
|
210
|
-
price: number | null;
|
211
361
|
};
|
212
|
-
|
362
|
+
id: number;
|
363
|
+
value: number;
|
364
|
+
campaignId: string;
|
365
|
+
amount: string | bigint;
|
366
|
+
dailyRewardsRecordId: string;
|
213
367
|
}[];
|
214
|
-
};
|
215
|
-
|
216
|
-
|
368
|
+
} | undefined;
|
369
|
+
name: string;
|
370
|
+
type: string;
|
371
|
+
tokens: {
|
372
|
+
price?: number | null | undefined;
|
217
373
|
symbol: string;
|
218
374
|
name: string | null;
|
219
375
|
id: string;
|
376
|
+
icon: string;
|
220
377
|
chainId: number;
|
221
378
|
address: string;
|
222
|
-
icon: string;
|
223
379
|
decimals: number;
|
224
380
|
verified: boolean;
|
225
381
|
isTest: boolean;
|
226
|
-
}
|
227
|
-
|
228
|
-
|
382
|
+
}[];
|
383
|
+
id: string;
|
384
|
+
status: string;
|
385
|
+
tags: string[];
|
386
|
+
identifier: string;
|
229
387
|
chain: {
|
230
388
|
name: string;
|
231
389
|
id: number;
|
232
390
|
icon: string;
|
233
391
|
};
|
234
|
-
protocol: {
|
235
|
-
name: string;
|
236
|
-
url: string;
|
237
|
-
description: string;
|
238
|
-
id: string;
|
239
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
240
|
-
icon: string;
|
241
|
-
} | undefined;
|
242
|
-
name: string;
|
243
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
244
|
-
status: import("../../../database/api/.generated").$Enums.Status;
|
245
|
-
tags: string[];
|
246
|
-
identifier: string;
|
247
392
|
chainId: number;
|
248
|
-
action:
|
393
|
+
action: string;
|
249
394
|
tvl: number;
|
250
395
|
apr: number;
|
251
396
|
dailyRewards: number;
|
252
397
|
campaigns: {
|
253
|
-
|
254
|
-
|
398
|
+
campaignStatus?: {
|
399
|
+
error?: string | undefined;
|
400
|
+
details?: any;
|
401
|
+
status: string;
|
402
|
+
campaignId: string;
|
403
|
+
computedUntil: string | bigint;
|
404
|
+
processingStarted: string | bigint;
|
405
|
+
} | undefined;
|
406
|
+
distributionChain?: {
|
255
407
|
name: string;
|
256
408
|
id: number;
|
257
409
|
icon: string;
|
258
|
-
};
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
address: string;
|
265
|
-
icon: string;
|
266
|
-
decimals: number;
|
267
|
-
verified: boolean;
|
268
|
-
isTest: boolean;
|
269
|
-
} & {
|
270
|
-
price?: number | null | undefined;
|
271
|
-
};
|
272
|
-
distributionChain: {
|
410
|
+
} | undefined;
|
411
|
+
type: string;
|
412
|
+
id: string;
|
413
|
+
params: any;
|
414
|
+
subType: number | null;
|
415
|
+
chain: {
|
273
416
|
name: string;
|
274
417
|
id: number;
|
275
418
|
icon: string;
|
276
|
-
} | undefined;
|
277
|
-
campaignStatus: {
|
278
|
-
error: string;
|
279
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
280
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
281
|
-
campaignId: string;
|
282
|
-
computedUntil: bigint;
|
283
|
-
processingStarted: bigint;
|
284
419
|
};
|
285
|
-
|
286
|
-
|
287
|
-
subType: number | null;
|
288
|
-
startTimestamp: bigint;
|
289
|
-
endTimestamp: bigint;
|
420
|
+
startTimestamp: string | bigint;
|
421
|
+
endTimestamp: string | bigint;
|
290
422
|
computeChainId: number;
|
291
423
|
distributionChainId: number;
|
292
424
|
campaignId: string;
|
@@ -294,151 +426,30 @@ export declare const v4: Elysia<"/v4", false, {
|
|
294
426
|
amount: string;
|
295
427
|
opportunityId: string;
|
296
428
|
creatorAddress: string;
|
297
|
-
|
298
|
-
|
299
|
-
};
|
300
|
-
};
|
301
|
-
};
|
302
|
-
};
|
303
|
-
};
|
304
|
-
} & {
|
305
|
-
opportunities: {
|
306
|
-
index: {
|
307
|
-
get: {
|
308
|
-
body: unknown;
|
309
|
-
params: {};
|
310
|
-
query: {
|
311
|
-
sort?: "tvl" | "apr" | "rewards" | undefined;
|
312
|
-
name?: string | undefined;
|
313
|
-
tokens?: string | undefined;
|
314
|
-
status?: string | undefined;
|
315
|
-
items?: number | undefined;
|
316
|
-
tags?: string | undefined;
|
317
|
-
chainId?: string | undefined;
|
318
|
-
page?: number | undefined;
|
319
|
-
action?: string | undefined;
|
320
|
-
mainProtocolId?: string | undefined;
|
321
|
-
order?: "asc" | "desc" | undefined;
|
322
|
-
test?: boolean | undefined;
|
323
|
-
minimumTvl?: number | undefined;
|
324
|
-
};
|
325
|
-
headers: unknown;
|
326
|
-
response: {
|
327
|
-
200: {
|
328
|
-
aprRecord: {
|
329
|
-
cumulated: number;
|
330
|
-
timestamp: bigint;
|
331
|
-
breakdowns: {
|
332
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
333
|
-
id: number;
|
334
|
-
identifier: string;
|
335
|
-
value: number;
|
336
|
-
aprRecordId: string;
|
337
|
-
}[];
|
338
|
-
};
|
339
|
-
tvlRecord: {
|
340
|
-
id: string;
|
341
|
-
total: number;
|
342
|
-
timestamp: bigint;
|
343
|
-
breakdowns: {
|
344
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
345
|
-
id: number;
|
346
|
-
identifier: string;
|
347
|
-
value: number;
|
348
|
-
tvlRecordId: string;
|
349
|
-
}[];
|
350
|
-
};
|
351
|
-
rewardsRecord: {
|
352
|
-
id: string;
|
353
|
-
total: number;
|
354
|
-
timestamp: bigint;
|
355
|
-
breakdowns: {
|
356
|
-
id: number;
|
357
|
-
value: number;
|
358
|
-
campaignId: string;
|
359
|
-
dailyRewardsRecordId: string;
|
360
|
-
token: {
|
429
|
+
rewardToken: {
|
430
|
+
price?: number | null | undefined;
|
361
431
|
symbol: string;
|
362
432
|
name: string | null;
|
363
433
|
id: string;
|
434
|
+
icon: string;
|
364
435
|
chainId: number;
|
365
436
|
address: string;
|
366
|
-
icon: string;
|
367
437
|
decimals: number;
|
368
|
-
displaySymbol: string;
|
369
438
|
verified: boolean;
|
370
439
|
isTest: boolean;
|
371
|
-
price: number | null;
|
372
440
|
};
|
373
|
-
amount: bigint;
|
374
441
|
}[];
|
375
442
|
};
|
376
|
-
|
377
|
-
|
378
|
-
symbol: string;
|
379
|
-
name: string | null;
|
380
|
-
id: string;
|
381
|
-
chainId: number;
|
382
|
-
address: string;
|
383
|
-
icon: string;
|
384
|
-
decimals: number;
|
385
|
-
verified: boolean;
|
386
|
-
isTest: boolean;
|
387
|
-
} & {
|
388
|
-
price?: number | null | undefined;
|
389
|
-
})[];
|
390
|
-
chain: {
|
443
|
+
readonly 404: {
|
444
|
+
message: string;
|
391
445
|
name: string;
|
392
|
-
id: number;
|
393
|
-
icon: string;
|
394
446
|
};
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
icon: string;
|
402
|
-
} | undefined;
|
403
|
-
name: string;
|
404
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
405
|
-
status: import("../../../database/api/.generated").$Enums.Status;
|
406
|
-
tags: string[];
|
407
|
-
identifier: string;
|
408
|
-
chainId: number;
|
409
|
-
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
410
|
-
tvl: number;
|
411
|
-
apr: number;
|
412
|
-
dailyRewards: number;
|
413
|
-
}[];
|
414
|
-
};
|
415
|
-
};
|
416
|
-
};
|
417
|
-
};
|
418
|
-
} & {
|
419
|
-
opportunities: {
|
420
|
-
count: {
|
421
|
-
get: {
|
422
|
-
body: unknown;
|
423
|
-
params: {};
|
424
|
-
query: {
|
425
|
-
sort?: "tvl" | "apr" | "rewards" | undefined;
|
426
|
-
name?: string | undefined;
|
427
|
-
tokens?: string | undefined;
|
428
|
-
status?: string | undefined;
|
429
|
-
items?: number | undefined;
|
430
|
-
tags?: string | undefined;
|
431
|
-
chainId?: string | undefined;
|
432
|
-
page?: number | undefined;
|
433
|
-
action?: string | undefined;
|
434
|
-
mainProtocolId?: string | undefined;
|
435
|
-
order?: "asc" | "desc" | undefined;
|
436
|
-
test?: boolean | undefined;
|
437
|
-
minimumTvl?: number | undefined;
|
438
|
-
};
|
439
|
-
headers: unknown;
|
440
|
-
response: {
|
441
|
-
200: number;
|
447
|
+
readonly 500: {
|
448
|
+
code: string;
|
449
|
+
info: string;
|
450
|
+
httpCode: number;
|
451
|
+
};
|
452
|
+
};
|
442
453
|
};
|
443
454
|
};
|
444
455
|
};
|
@@ -453,17 +464,17 @@ export declare const v4: Elysia<"/v4", false, {
|
|
453
464
|
field: never;
|
454
465
|
};
|
455
466
|
query: {
|
456
|
-
sort?:
|
467
|
+
sort?: string | undefined;
|
457
468
|
name?: string | undefined;
|
458
469
|
tokens?: string | undefined;
|
459
470
|
status?: string | undefined;
|
460
471
|
items?: number | undefined;
|
461
472
|
tags?: string | undefined;
|
462
|
-
chainId?: string | undefined;
|
463
473
|
page?: number | undefined;
|
474
|
+
chainId?: string | undefined;
|
464
475
|
action?: string | undefined;
|
465
476
|
mainProtocolId?: string | undefined;
|
466
|
-
order?:
|
477
|
+
order?: string | undefined;
|
467
478
|
test?: boolean | undefined;
|
468
479
|
minimumTvl?: number | undefined;
|
469
480
|
};
|
@@ -522,13 +533,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
522
533
|
subType?: number | undefined;
|
523
534
|
type: number;
|
524
535
|
params: string;
|
536
|
+
creator: string;
|
525
537
|
chainId: number;
|
526
538
|
startTimestamp: string;
|
527
539
|
endTimestamp: string;
|
528
540
|
computeChainId: number;
|
529
541
|
campaignId: string;
|
530
542
|
amount: string;
|
531
|
-
creator: string;
|
532
543
|
rewardTokenAddress: string;
|
533
544
|
opportunityIdentifier: string;
|
534
545
|
};
|
@@ -565,16 +576,17 @@ export declare const v4: Elysia<"/v4", false, {
|
|
565
576
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
566
577
|
items?: number | undefined;
|
567
578
|
subType?: number | undefined;
|
579
|
+
page?: number | undefined;
|
568
580
|
chainId?: number | undefined;
|
569
581
|
startTimestamp?: string | undefined;
|
570
582
|
endTimestamp?: string | undefined;
|
571
583
|
tokenAddress?: string | undefined;
|
572
|
-
page?: number | undefined;
|
573
584
|
mainParameter?: string | undefined;
|
574
585
|
campaignId?: string | undefined;
|
575
586
|
opportunityId?: string | undefined;
|
576
587
|
test?: boolean | undefined;
|
577
588
|
tokenSymbol?: string | undefined;
|
589
|
+
creatorTag: string;
|
578
590
|
};
|
579
591
|
headers: unknown;
|
580
592
|
response: {
|
@@ -589,9 +601,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
589
601
|
symbol: string;
|
590
602
|
name: string | null;
|
591
603
|
id: string;
|
604
|
+
icon: string;
|
592
605
|
chainId: number;
|
593
606
|
address: string;
|
594
|
-
icon: string;
|
595
607
|
decimals: number;
|
596
608
|
verified: boolean;
|
597
609
|
isTest: boolean;
|
@@ -636,16 +648,17 @@ export declare const v4: Elysia<"/v4", false, {
|
|
636
648
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
637
649
|
items?: number | undefined;
|
638
650
|
subType?: number | undefined;
|
651
|
+
page?: number | undefined;
|
639
652
|
chainId?: number | undefined;
|
640
653
|
startTimestamp?: string | undefined;
|
641
654
|
endTimestamp?: string | undefined;
|
642
655
|
tokenAddress?: string | undefined;
|
643
|
-
page?: number | undefined;
|
644
656
|
mainParameter?: string | undefined;
|
645
657
|
campaignId?: string | undefined;
|
646
658
|
opportunityId?: string | undefined;
|
647
659
|
test?: boolean | undefined;
|
648
660
|
tokenSymbol?: string | undefined;
|
661
|
+
creatorTag: string;
|
649
662
|
};
|
650
663
|
headers: unknown;
|
651
664
|
response: {
|
@@ -713,29 +726,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
713
726
|
};
|
714
727
|
} & {
|
715
728
|
v4: {
|
716
|
-
protocols: {
|
717
|
-
":id": {
|
718
|
-
get: {
|
719
|
-
body: unknown;
|
720
|
-
params: {
|
721
|
-
id: string;
|
722
|
-
};
|
723
|
-
query: unknown;
|
724
|
-
headers: unknown;
|
725
|
-
response: {
|
726
|
-
200: {
|
727
|
-
name: string;
|
728
|
-
url: string;
|
729
|
-
description: string;
|
730
|
-
id: string;
|
731
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
732
|
-
icon: string;
|
733
|
-
} | null;
|
734
|
-
};
|
735
|
-
};
|
736
|
-
};
|
737
|
-
};
|
738
|
-
} & {
|
739
729
|
protocols: {
|
740
730
|
index: {
|
741
731
|
get: {
|
@@ -743,7 +733,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
743
733
|
params: {};
|
744
734
|
query: {
|
745
735
|
name?: string | undefined;
|
746
|
-
id?: string[] | undefined;
|
747
736
|
items?: number | undefined;
|
748
737
|
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
749
738
|
page?: number | undefined;
|
@@ -776,6 +765,29 @@ export declare const v4: Elysia<"/v4", false, {
|
|
776
765
|
};
|
777
766
|
};
|
778
767
|
};
|
768
|
+
} & {
|
769
|
+
protocols: {
|
770
|
+
":id": {
|
771
|
+
get: {
|
772
|
+
body: unknown;
|
773
|
+
params: {
|
774
|
+
id: string;
|
775
|
+
};
|
776
|
+
query: unknown;
|
777
|
+
headers: unknown;
|
778
|
+
response: {
|
779
|
+
200: {
|
780
|
+
name: string;
|
781
|
+
url: string;
|
782
|
+
description: string;
|
783
|
+
id: string;
|
784
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
785
|
+
icon: string;
|
786
|
+
} | null;
|
787
|
+
};
|
788
|
+
};
|
789
|
+
};
|
790
|
+
};
|
779
791
|
} & {
|
780
792
|
protocols: {
|
781
793
|
":id": {
|
@@ -822,9 +834,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
822
834
|
symbol: string;
|
823
835
|
name: string | null;
|
824
836
|
id: string;
|
837
|
+
icon: string;
|
825
838
|
chainId: number;
|
826
839
|
address: string;
|
827
|
-
icon: string;
|
828
840
|
decimals: number;
|
829
841
|
verified: boolean;
|
830
842
|
isTest: boolean;
|
@@ -852,9 +864,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
852
864
|
symbol: string;
|
853
865
|
name: string | null;
|
854
866
|
id: string;
|
867
|
+
icon: string;
|
855
868
|
chainId: number;
|
856
869
|
address: string;
|
857
|
-
icon: string;
|
858
870
|
decimals: number;
|
859
871
|
verified: boolean;
|
860
872
|
isTest: boolean;
|
@@ -887,9 +899,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
887
899
|
symbol: string;
|
888
900
|
name: string | null;
|
889
901
|
id: string;
|
902
|
+
icon: string;
|
890
903
|
chainId: number;
|
891
904
|
address: string;
|
892
|
-
icon: string;
|
893
905
|
decimals: number;
|
894
906
|
verified: boolean;
|
895
907
|
isTest: boolean;
|
@@ -942,9 +954,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
942
954
|
symbol: string;
|
943
955
|
name: string | null;
|
944
956
|
id: string;
|
957
|
+
icon: string;
|
945
958
|
chainId: number;
|
946
959
|
address: string;
|
947
|
-
icon: string;
|
948
960
|
decimals: number;
|
949
961
|
displaySymbol: string;
|
950
962
|
verified: boolean;
|
@@ -1199,7 +1211,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1199
1211
|
body: unknown;
|
1200
1212
|
params: {};
|
1201
1213
|
query: {
|
1202
|
-
|
1214
|
+
name?: string | undefined;
|
1203
1215
|
};
|
1204
1216
|
headers: unknown;
|
1205
1217
|
response: {
|
@@ -1223,7 +1235,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1223
1235
|
body: unknown;
|
1224
1236
|
params: {};
|
1225
1237
|
query: {
|
1226
|
-
|
1238
|
+
name?: string | undefined;
|
1227
1239
|
};
|
1228
1240
|
headers: unknown;
|
1229
1241
|
response: {
|
@@ -1633,9 +1645,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1633
1645
|
symbol: string;
|
1634
1646
|
name: string | null;
|
1635
1647
|
id: string;
|
1648
|
+
icon: string;
|
1636
1649
|
chainId: number;
|
1637
1650
|
address: string;
|
1638
|
-
icon: string;
|
1639
1651
|
decimals: number;
|
1640
1652
|
displaySymbol: string;
|
1641
1653
|
verified: boolean;
|
@@ -1654,9 +1666,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1654
1666
|
symbol: string;
|
1655
1667
|
name: string | null;
|
1656
1668
|
id: string;
|
1669
|
+
icon: string;
|
1657
1670
|
chainId: number;
|
1658
1671
|
address: string;
|
1659
|
-
icon: string;
|
1660
1672
|
decimals: number;
|
1661
1673
|
displaySymbol: string;
|
1662
1674
|
verified: boolean;
|
@@ -1747,9 +1759,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1747
1759
|
symbol: string;
|
1748
1760
|
name: string | null;
|
1749
1761
|
id: string;
|
1762
|
+
icon: string;
|
1750
1763
|
chainId: number;
|
1751
1764
|
address: string;
|
1752
|
-
icon: string;
|
1753
1765
|
decimals: number;
|
1754
1766
|
displaySymbol: string;
|
1755
1767
|
verified: boolean;
|
@@ -1768,9 +1780,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1768
1780
|
symbol: string;
|
1769
1781
|
name: string | null;
|
1770
1782
|
id: string;
|
1783
|
+
icon: string;
|
1771
1784
|
chainId: number;
|
1772
1785
|
address: string;
|
1773
|
-
icon: string;
|
1774
1786
|
decimals: number;
|
1775
1787
|
displaySymbol: string;
|
1776
1788
|
verified: boolean;
|
@@ -1978,13 +1990,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1978
1990
|
body: unknown;
|
1979
1991
|
params: {};
|
1980
1992
|
query: {
|
1981
|
-
|
1993
|
+
protocolId?: string | undefined;
|
1994
|
+
identifier: string;
|
1982
1995
|
chainId: number;
|
1983
|
-
protocolId: string;
|
1984
1996
|
};
|
1985
1997
|
headers: unknown;
|
1986
1998
|
response: {
|
1987
|
-
200: import("./interaction/interaction.model").InteractionTarget[]
|
1999
|
+
200: import("./interaction/interaction.model").InteractionTarget[];
|
1988
2000
|
};
|
1989
2001
|
};
|
1990
2002
|
};
|
@@ -2014,7 +2026,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2014
2026
|
};
|
2015
2027
|
} & {
|
2016
2028
|
interaction: {
|
2017
|
-
|
2029
|
+
transaction: {
|
2018
2030
|
get: {
|
2019
2031
|
body: unknown;
|
2020
2032
|
params: {};
|
@@ -2029,10 +2041,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2029
2041
|
headers: unknown;
|
2030
2042
|
response: {
|
2031
2043
|
200: {
|
2032
|
-
|
2033
|
-
|
2034
|
-
|
2035
|
-
|
2044
|
+
amountIn: bigint;
|
2045
|
+
allowance: bigint;
|
2046
|
+
approved: boolean;
|
2047
|
+
transaction: import("./interaction/interaction.model").UserTransaction;
|
2048
|
+
approval: import("./interaction/interaction.model").UserTransaction;
|
2036
2049
|
} | undefined;
|
2037
2050
|
};
|
2038
2051
|
};
|
@@ -2040,7 +2053,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2040
2053
|
};
|
2041
2054
|
} & {
|
2042
2055
|
interaction: {
|
2043
|
-
|
2056
|
+
sponsored: {
|
2044
2057
|
get: {
|
2045
2058
|
body: unknown;
|
2046
2059
|
params: {};
|
@@ -2055,17 +2068,25 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2055
2068
|
headers: unknown;
|
2056
2069
|
response: {
|
2057
2070
|
200: {
|
2058
|
-
|
2059
|
-
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2071
|
+
expirationTime: string;
|
2072
|
+
expiresIn: string;
|
2073
|
+
feeTokenAmount: string;
|
2074
|
+
feeTokendecimals: string;
|
2075
|
+
feeUSD: string;
|
2076
|
+
gasLimit: string;
|
2077
|
+
gasPrice: string;
|
2078
|
+
markup: string;
|
2079
|
+
maxNonce: string;
|
2080
|
+
protocolAddress: string;
|
2081
|
+
sponsorshipRatio: string;
|
2082
|
+
tokenAddress: string;
|
2083
|
+
tokenPrice: string;
|
2084
|
+
txData: {
|
2065
2085
|
from: string;
|
2066
|
-
value: string;
|
2067
2086
|
to: string;
|
2087
|
+
data: string;
|
2068
2088
|
};
|
2089
|
+
warnings: string[];
|
2069
2090
|
} | undefined;
|
2070
2091
|
};
|
2071
2092
|
};
|