@merkl/api 1.0.88 → 1.0.90
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/eden/index.d.ts +450 -906
- package/dist/src/engine/deprecated/dynamicData/implementations/default.d.ts +1 -1
- package/dist/src/engine/implementations/Aave/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Ekubo/metadata.d.ts +20 -0
- package/dist/src/engine/implementations/Ekubo/tvl.d.ts +7 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/hypurrfiIsolatedMarket/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/ichi/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/mimswap/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/FraxLend/metadataBorrow.d.ts +2 -2
- package/dist/src/engine/implementations/FraxLend/metadataCollateral.d.ts +1 -1
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/UniswapV4/tvl.d.ts +10 -0
- package/dist/src/engine/tvl/factory.d.ts +1 -1
- package/dist/src/index.d.ts +235 -462
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +8 -5
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -3
- package/dist/src/modules/v4/payload/payload.controller.d.ts +1 -1
- package/dist/src/modules/v4/payload/payload.service.d.ts +1 -1
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +31 -31
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -1
- package/dist/src/modules/v4/router.d.ts +177 -294
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +139 -256
- package/dist/src/modules/v4/uniswap/uniswap.model.d.ts +14 -0
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +7 -7
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +116 -6
- package/dist/src/routes/v3/payload.d.ts +1 -1
- package/dist/src/routes/v3/router.d.ts +58 -168
- package/dist/src/routes/v3/uniswapv4.d.ts +57 -167
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -91,8 +91,8 @@ export declare const UniswapController: Elysia<"uniswap", {
|
|
91
91
|
};
|
92
92
|
};
|
93
93
|
} & {
|
94
|
-
|
95
|
-
|
94
|
+
pools: {
|
95
|
+
4: {
|
96
96
|
get: {
|
97
97
|
body: unknown;
|
98
98
|
params: {};
|
@@ -100,224 +100,161 @@ export declare const UniswapController: Elysia<"uniswap", {
|
|
100
100
|
headers: unknown;
|
101
101
|
response: {
|
102
102
|
200: {
|
103
|
-
42161?:
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
159
|
-
} | undefined;
|
160
|
-
169?: {
|
161
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
162
|
-
} | undefined;
|
163
|
-
13371?: {
|
164
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
165
|
-
} | undefined;
|
166
|
-
81457?: {
|
167
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
168
|
-
} | undefined;
|
169
|
-
34443?: {
|
170
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
171
|
-
} | undefined;
|
172
|
-
592?: {
|
173
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
174
|
-
} | undefined;
|
175
|
-
30?: {
|
176
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
177
|
-
} | undefined;
|
178
|
-
167000?: {
|
179
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
180
|
-
} | undefined;
|
181
|
-
1329?: {
|
182
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
183
|
-
} | undefined;
|
184
|
-
1284?: {
|
185
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
186
|
-
} | undefined;
|
187
|
-
2046399126?: {
|
188
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
189
|
-
} | undefined;
|
190
|
-
252?: {
|
191
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
192
|
-
} | undefined;
|
193
|
-
60808?: {
|
194
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
195
|
-
} | undefined;
|
196
|
-
480?: {
|
197
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
198
|
-
} | undefined;
|
199
|
-
42793?: {
|
200
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
201
|
-
} | undefined;
|
202
|
-
1135?: {
|
203
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
204
|
-
} | undefined;
|
205
|
-
130?: {
|
206
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
207
|
-
} | undefined;
|
208
|
-
80094?: {
|
209
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
210
|
-
} | undefined;
|
211
|
-
1923?: {
|
212
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
213
|
-
} | undefined;
|
214
|
-
10242?: {
|
215
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
216
|
-
} | undefined;
|
217
|
-
146?: {
|
218
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
219
|
-
} | undefined;
|
220
|
-
21000000?: {
|
221
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
222
|
-
} | undefined;
|
223
|
-
1868?: {
|
224
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
225
|
-
} | undefined;
|
226
|
-
57073?: {
|
227
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
228
|
-
} | undefined;
|
229
|
-
2020?: {
|
230
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
231
|
-
} | undefined;
|
232
|
-
747?: {
|
233
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
234
|
-
} | undefined;
|
235
|
-
6900?: {
|
236
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
237
|
-
} | undefined;
|
238
|
-
33139?: {
|
239
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
240
|
-
} | undefined;
|
241
|
-
999?: {
|
242
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
243
|
-
} | undefined;
|
244
|
-
48900?: {
|
245
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
246
|
-
} | undefined;
|
247
|
-
43111?: {
|
248
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
249
|
-
} | undefined;
|
250
|
-
5464?: {
|
251
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
252
|
-
} | undefined;
|
253
|
-
98866?: {
|
254
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
255
|
-
} | undefined;
|
256
|
-
50?: {
|
257
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
258
|
-
} | undefined;
|
259
|
-
747474?: {
|
260
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
261
|
-
} | undefined;
|
262
|
-
151?: {
|
263
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
264
|
-
} | undefined;
|
265
|
-
239?: {
|
266
|
-
[poolId: string]: import("@angleprotocol/sdk/ts").CLAMMPoolType;
|
267
|
-
} | undefined;
|
103
|
+
42161?: Record<string, UniswapV4PoolType> | undefined;
|
104
|
+
43114?: Record<string, UniswapV4PoolType> | undefined;
|
105
|
+
8453?: Record<string, UniswapV4PoolType> | undefined;
|
106
|
+
56?: Record<string, UniswapV4PoolType> | undefined;
|
107
|
+
42220?: Record<string, UniswapV4PoolType> | undefined;
|
108
|
+
1116?: Record<string, UniswapV4PoolType> | undefined;
|
109
|
+
250?: Record<string, UniswapV4PoolType> | undefined;
|
110
|
+
122?: Record<string, UniswapV4PoolType> | undefined;
|
111
|
+
196?: Record<string, UniswapV4PoolType> | undefined;
|
112
|
+
100?: Record<string, UniswapV4PoolType> | undefined;
|
113
|
+
59144?: Record<string, UniswapV4PoolType> | undefined;
|
114
|
+
1?: Record<string, UniswapV4PoolType> | undefined;
|
115
|
+
5000?: Record<string, UniswapV4PoolType> | undefined;
|
116
|
+
10?: Record<string, UniswapV4PoolType> | undefined;
|
117
|
+
137?: Record<string, UniswapV4PoolType> | undefined;
|
118
|
+
1101?: Record<string, UniswapV4PoolType> | undefined;
|
119
|
+
108?: Record<string, UniswapV4PoolType> | undefined;
|
120
|
+
324?: Record<string, UniswapV4PoolType> | undefined;
|
121
|
+
534352?: Record<string, UniswapV4PoolType> | undefined;
|
122
|
+
169?: Record<string, UniswapV4PoolType> | undefined;
|
123
|
+
13371?: Record<string, UniswapV4PoolType> | undefined;
|
124
|
+
81457?: Record<string, UniswapV4PoolType> | undefined;
|
125
|
+
34443?: Record<string, UniswapV4PoolType> | undefined;
|
126
|
+
592?: Record<string, UniswapV4PoolType> | undefined;
|
127
|
+
30?: Record<string, UniswapV4PoolType> | undefined;
|
128
|
+
167000?: Record<string, UniswapV4PoolType> | undefined;
|
129
|
+
1329?: Record<string, UniswapV4PoolType> | undefined;
|
130
|
+
1284?: Record<string, UniswapV4PoolType> | undefined;
|
131
|
+
2046399126?: Record<string, UniswapV4PoolType> | undefined;
|
132
|
+
252?: Record<string, UniswapV4PoolType> | undefined;
|
133
|
+
60808?: Record<string, UniswapV4PoolType> | undefined;
|
134
|
+
480?: Record<string, UniswapV4PoolType> | undefined;
|
135
|
+
42793?: Record<string, UniswapV4PoolType> | undefined;
|
136
|
+
1135?: Record<string, UniswapV4PoolType> | undefined;
|
137
|
+
130?: Record<string, UniswapV4PoolType> | undefined;
|
138
|
+
80094?: Record<string, UniswapV4PoolType> | undefined;
|
139
|
+
1923?: Record<string, UniswapV4PoolType> | undefined;
|
140
|
+
10242?: Record<string, UniswapV4PoolType> | undefined;
|
141
|
+
146?: Record<string, UniswapV4PoolType> | undefined;
|
142
|
+
21000000?: Record<string, UniswapV4PoolType> | undefined;
|
143
|
+
1868?: Record<string, UniswapV4PoolType> | undefined;
|
144
|
+
57073?: Record<string, UniswapV4PoolType> | undefined;
|
145
|
+
2020?: Record<string, UniswapV4PoolType> | undefined;
|
146
|
+
747?: Record<string, UniswapV4PoolType> | undefined;
|
147
|
+
6900?: Record<string, UniswapV4PoolType> | undefined;
|
148
|
+
33139?: Record<string, UniswapV4PoolType> | undefined;
|
149
|
+
999?: Record<string, UniswapV4PoolType> | undefined;
|
150
|
+
48900?: Record<string, UniswapV4PoolType> | undefined;
|
151
|
+
43111?: Record<string, UniswapV4PoolType> | undefined;
|
152
|
+
5464?: Record<string, UniswapV4PoolType> | undefined;
|
153
|
+
98866?: Record<string, UniswapV4PoolType> | undefined;
|
154
|
+
50?: Record<string, UniswapV4PoolType> | undefined;
|
155
|
+
747474?: Record<string, UniswapV4PoolType> | undefined;
|
156
|
+
151?: Record<string, UniswapV4PoolType> | undefined;
|
157
|
+
239?: Record<string, UniswapV4PoolType> | undefined;
|
268
158
|
};
|
269
159
|
};
|
270
160
|
};
|
271
161
|
};
|
272
162
|
};
|
273
163
|
} & {
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
164
|
+
pools: {
|
165
|
+
4: {
|
166
|
+
":chainId": {
|
167
|
+
get: {
|
168
|
+
body: unknown;
|
169
|
+
params: {
|
170
|
+
chainId: number;
|
171
|
+
} & {};
|
172
|
+
query: unknown;
|
173
|
+
headers: unknown;
|
174
|
+
response: {
|
175
|
+
200: {
|
176
|
+
[x: string]: {
|
177
|
+
tickSpacing: number;
|
178
|
+
chainId: number;
|
179
|
+
poolId: string;
|
180
|
+
currency0: string;
|
181
|
+
currency1: string;
|
182
|
+
hooks: string;
|
183
|
+
lpFee: number;
|
184
|
+
fetchedAtBlock: number;
|
185
|
+
decimalsCurrency0: number;
|
186
|
+
decimalsCurrency1: number;
|
187
|
+
symbolCurrency0: string;
|
188
|
+
symbolCurrency1: string;
|
189
|
+
};
|
190
|
+
};
|
191
|
+
422: {
|
192
|
+
type: "validation";
|
193
|
+
on: string;
|
194
|
+
summary?: string;
|
195
|
+
message?: string;
|
196
|
+
found?: unknown;
|
197
|
+
property?: string;
|
198
|
+
expected?: string;
|
199
|
+
};
|
200
|
+
};
|
201
|
+
};
|
202
|
+
};
|
203
|
+
};
|
204
|
+
};
|
205
|
+
} & {
|
206
|
+
pools: {
|
207
|
+
4: {
|
208
|
+
":chainId": {
|
209
|
+
":poolId": {
|
210
|
+
get: {
|
211
|
+
body: unknown;
|
212
|
+
params: {
|
287
213
|
chainId: number;
|
288
214
|
poolId: string;
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
215
|
+
} & {};
|
216
|
+
query: unknown;
|
217
|
+
headers: unknown;
|
218
|
+
response: {
|
219
|
+
200: {
|
220
|
+
tickSpacing: number;
|
221
|
+
chainId: number;
|
222
|
+
poolId: string;
|
223
|
+
currency0: string;
|
224
|
+
currency1: string;
|
225
|
+
hooks: string;
|
226
|
+
lpFee: number;
|
227
|
+
fetchedAtBlock: number;
|
228
|
+
decimalsCurrency0: number;
|
229
|
+
decimalsCurrency1: number;
|
230
|
+
symbolCurrency0: string;
|
231
|
+
symbolCurrency1: string;
|
232
|
+
}[];
|
233
|
+
422: {
|
234
|
+
type: "validation";
|
235
|
+
on: string;
|
236
|
+
summary?: string;
|
237
|
+
message?: string;
|
238
|
+
found?: unknown;
|
239
|
+
property?: string;
|
240
|
+
expected?: string;
|
241
|
+
};
|
298
242
|
};
|
299
243
|
};
|
300
|
-
422: {
|
301
|
-
type: "validation";
|
302
|
-
on: string;
|
303
|
-
summary?: string;
|
304
|
-
message?: string;
|
305
|
-
found?: unknown;
|
306
|
-
property?: string;
|
307
|
-
expected?: string;
|
308
|
-
};
|
309
244
|
};
|
310
245
|
};
|
311
246
|
};
|
312
247
|
};
|
313
|
-
}
|
248
|
+
};
|
249
|
+
} & {
|
250
|
+
uniswap: {
|
314
251
|
v4: {
|
315
252
|
":poolId": {
|
316
253
|
get: {
|
317
254
|
body: unknown;
|
318
255
|
params: {
|
319
256
|
poolId: string;
|
320
|
-
}
|
257
|
+
};
|
321
258
|
query: unknown;
|
322
259
|
headers: unknown;
|
323
260
|
response: {
|
@@ -348,60 +285,6 @@ export declare const UniswapController: Elysia<"uniswap", {
|
|
348
285
|
};
|
349
286
|
};
|
350
287
|
};
|
351
|
-
} & {
|
352
|
-
v4: {
|
353
|
-
update: {
|
354
|
-
post: {
|
355
|
-
body: unknown;
|
356
|
-
params: {};
|
357
|
-
query: unknown;
|
358
|
-
headers: {
|
359
|
-
authorization: string;
|
360
|
-
};
|
361
|
-
response: {
|
362
|
-
200: void;
|
363
|
-
422: {
|
364
|
-
type: "validation";
|
365
|
-
on: string;
|
366
|
-
summary?: string;
|
367
|
-
message?: string;
|
368
|
-
found?: unknown;
|
369
|
-
property?: string;
|
370
|
-
expected?: string;
|
371
|
-
};
|
372
|
-
};
|
373
|
-
};
|
374
|
-
};
|
375
|
-
};
|
376
|
-
} & {
|
377
|
-
v4: {
|
378
|
-
update: {
|
379
|
-
":chainId": {
|
380
|
-
post: {
|
381
|
-
body: unknown;
|
382
|
-
params: {
|
383
|
-
chainId: number;
|
384
|
-
} & {};
|
385
|
-
query: unknown;
|
386
|
-
headers: {
|
387
|
-
authorization: string;
|
388
|
-
};
|
389
|
-
response: {
|
390
|
-
200: void;
|
391
|
-
422: {
|
392
|
-
type: "validation";
|
393
|
-
on: string;
|
394
|
-
summary?: string;
|
395
|
-
message?: string;
|
396
|
-
found?: unknown;
|
397
|
-
property?: string;
|
398
|
-
expected?: string;
|
399
|
-
};
|
400
|
-
};
|
401
|
-
};
|
402
|
-
};
|
403
|
-
};
|
404
|
-
};
|
405
288
|
};
|
406
289
|
}, {
|
407
290
|
derive: {};
|
@@ -430,7 +313,7 @@ export declare const EkuboController: Elysia<"ekubo", {
|
|
430
313
|
parser: {};
|
431
314
|
}, {
|
432
315
|
ekubo: {
|
433
|
-
|
316
|
+
pools: {
|
434
317
|
":chainId": {
|
435
318
|
get: {
|
436
319
|
body: unknown;
|
@@ -443,13 +326,13 @@ export declare const EkuboController: Elysia<"ekubo", {
|
|
443
326
|
200: {
|
444
327
|
[x: string]: {
|
445
328
|
tickSpacing: number;
|
329
|
+
config: string;
|
446
330
|
chainId: number;
|
447
331
|
poolId: string;
|
448
332
|
currency0: string;
|
449
333
|
currency1: string;
|
450
334
|
hooks: string;
|
451
335
|
lpFee: number;
|
452
|
-
fetchedAtBlock: number;
|
453
336
|
decimalsCurrency0: number;
|
454
337
|
decimalsCurrency1: number;
|
455
338
|
symbolCurrency0: string;
|
@@ -29,6 +29,20 @@ export declare const UniswapV4PoolDto: import("@sinclair/typebox").TObject<{
|
|
29
29
|
symbolCurrency1: import("@sinclair/typebox").TString;
|
30
30
|
tickSpacing: import("@sinclair/typebox").TNumber;
|
31
31
|
}>;
|
32
|
+
export declare const EkuboPoolDto: import("@sinclair/typebox").TObject<{
|
33
|
+
chainId: import("@sinclair/typebox").TNumber;
|
34
|
+
currency0: import("@sinclair/typebox").TString;
|
35
|
+
currency1: import("@sinclair/typebox").TString;
|
36
|
+
decimalsCurrency0: import("@sinclair/typebox").TNumber;
|
37
|
+
decimalsCurrency1: import("@sinclair/typebox").TNumber;
|
38
|
+
hooks: import("@sinclair/typebox").TString;
|
39
|
+
config: import("@sinclair/typebox").TString;
|
40
|
+
lpFee: import("@sinclair/typebox").TNumber;
|
41
|
+
poolId: import("@sinclair/typebox").TString;
|
42
|
+
symbolCurrency0: import("@sinclair/typebox").TString;
|
43
|
+
symbolCurrency1: import("@sinclair/typebox").TString;
|
44
|
+
tickSpacing: import("@sinclair/typebox").TNumber;
|
45
|
+
}>;
|
32
46
|
export declare const Bytes32Dto: import("@sinclair/typebox").TObject<{
|
33
47
|
poolId: import("@sinclair/typebox").TRegExp;
|
34
48
|
}>;
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import type { EkuboChainId, LoggedCreateBody
|
1
|
+
import type { EkuboChainId, LoggedCreateBody } from "./uniswap.model";
|
2
2
|
export declare abstract class UniswapRepository {
|
3
|
-
static getStoredUniswapV4Pools(chainId?:
|
4
|
-
address: string | null;
|
3
|
+
static getStoredUniswapV4Pools(chainId?: EkuboChainId): Promise<{
|
5
4
|
id: string;
|
5
|
+
recipient: string;
|
6
6
|
chainId: number;
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
metadata: import("@prisma/client/runtime/client").JsonValue | null;
|
8
|
+
nodeType: string;
|
9
|
+
nodesSourceId: string;
|
10
|
+
creationBlockNumber: number;
|
11
11
|
}[]>;
|
12
12
|
static createMany(data: LoggedCreateBody): Promise<import("@package/databases").BatchPayload>;
|
13
13
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import type { EkuboPoolType } from "@angleprotocol/sdk/ts";
|
2
2
|
import type { Opportunity } from "../../../modules/v4/opportunity/opportunity.model";
|
3
3
|
import type { Token } from "../../../modules/v4/token/token.model";
|
4
|
-
import { type EkuboChainId, type RewardsPerPositionModel, type UniV4ChainId
|
4
|
+
import { type EkuboChainId, type RewardsPerPositionModel, type UniV4ChainId } from "./uniswap.model";
|
5
5
|
export declare abstract class UniswapService {
|
6
6
|
static findRewardsPerPosition(version: "v3" | "v4", query: RewardsPerPositionModel): Promise<Record<number, Record<string, Record<string, {
|
7
7
|
campaignId: string;
|
@@ -12,10 +12,120 @@ export declare abstract class UniswapService {
|
|
12
12
|
rewardToken: Token["model"];
|
13
13
|
opportunity: Opportunity["model"];
|
14
14
|
}[]>>>>;
|
15
|
-
static getUniswapV4Pools(chainId?: UniV4ChainId): Promise<
|
16
|
-
|
17
|
-
|
15
|
+
static getUniswapV4Pools(chainId?: UniV4ChainId): Promise<{
|
16
|
+
42161?: Record<string, UniswapV4PoolType> | undefined;
|
17
|
+
43114?: Record<string, UniswapV4PoolType> | undefined;
|
18
|
+
8453?: Record<string, UniswapV4PoolType> | undefined;
|
19
|
+
56?: Record<string, UniswapV4PoolType> | undefined;
|
20
|
+
42220?: Record<string, UniswapV4PoolType> | undefined;
|
21
|
+
1116?: Record<string, UniswapV4PoolType> | undefined;
|
22
|
+
250?: Record<string, UniswapV4PoolType> | undefined;
|
23
|
+
122?: Record<string, UniswapV4PoolType> | undefined;
|
24
|
+
196?: Record<string, UniswapV4PoolType> | undefined;
|
25
|
+
100?: Record<string, UniswapV4PoolType> | undefined;
|
26
|
+
59144?: Record<string, UniswapV4PoolType> | undefined;
|
27
|
+
1?: Record<string, UniswapV4PoolType> | undefined;
|
28
|
+
5000?: Record<string, UniswapV4PoolType> | undefined;
|
29
|
+
10?: Record<string, UniswapV4PoolType> | undefined;
|
30
|
+
137?: Record<string, UniswapV4PoolType> | undefined;
|
31
|
+
1101?: Record<string, UniswapV4PoolType> | undefined;
|
32
|
+
108?: Record<string, UniswapV4PoolType> | undefined;
|
33
|
+
324?: Record<string, UniswapV4PoolType> | undefined;
|
34
|
+
534352?: Record<string, UniswapV4PoolType> | undefined;
|
35
|
+
169?: Record<string, UniswapV4PoolType> | undefined;
|
36
|
+
13371?: Record<string, UniswapV4PoolType> | undefined;
|
37
|
+
81457?: Record<string, UniswapV4PoolType> | undefined;
|
38
|
+
34443?: Record<string, UniswapV4PoolType> | undefined;
|
39
|
+
592?: Record<string, UniswapV4PoolType> | undefined;
|
40
|
+
30?: Record<string, UniswapV4PoolType> | undefined;
|
41
|
+
167000?: Record<string, UniswapV4PoolType> | undefined;
|
42
|
+
1329?: Record<string, UniswapV4PoolType> | undefined;
|
43
|
+
1284?: Record<string, UniswapV4PoolType> | undefined;
|
44
|
+
2046399126?: Record<string, UniswapV4PoolType> | undefined;
|
45
|
+
252?: Record<string, UniswapV4PoolType> | undefined;
|
46
|
+
60808?: Record<string, UniswapV4PoolType> | undefined;
|
47
|
+
480?: Record<string, UniswapV4PoolType> | undefined;
|
48
|
+
42793?: Record<string, UniswapV4PoolType> | undefined;
|
49
|
+
1135?: Record<string, UniswapV4PoolType> | undefined;
|
50
|
+
130?: Record<string, UniswapV4PoolType> | undefined;
|
51
|
+
80094?: Record<string, UniswapV4PoolType> | undefined;
|
52
|
+
1923?: Record<string, UniswapV4PoolType> | undefined;
|
53
|
+
10242?: Record<string, UniswapV4PoolType> | undefined;
|
54
|
+
146?: Record<string, UniswapV4PoolType> | undefined;
|
55
|
+
21000000?: Record<string, UniswapV4PoolType> | undefined;
|
56
|
+
1868?: Record<string, UniswapV4PoolType> | undefined;
|
57
|
+
57073?: Record<string, UniswapV4PoolType> | undefined;
|
58
|
+
2020?: Record<string, UniswapV4PoolType> | undefined;
|
59
|
+
747?: Record<string, UniswapV4PoolType> | undefined;
|
60
|
+
6900?: Record<string, UniswapV4PoolType> | undefined;
|
61
|
+
33139?: Record<string, UniswapV4PoolType> | undefined;
|
62
|
+
999?: Record<string, UniswapV4PoolType> | undefined;
|
63
|
+
48900?: Record<string, UniswapV4PoolType> | undefined;
|
64
|
+
43111?: Record<string, UniswapV4PoolType> | undefined;
|
65
|
+
5464?: Record<string, UniswapV4PoolType> | undefined;
|
66
|
+
98866?: Record<string, UniswapV4PoolType> | undefined;
|
67
|
+
50?: Record<string, UniswapV4PoolType> | undefined;
|
68
|
+
747474?: Record<string, UniswapV4PoolType> | undefined;
|
69
|
+
151?: Record<string, UniswapV4PoolType> | undefined;
|
70
|
+
239?: Record<string, UniswapV4PoolType> | undefined;
|
71
|
+
}>;
|
18
72
|
}
|
19
73
|
export declare abstract class EkuboService {
|
20
|
-
static getEkuboPools(chainId?: EkuboChainId): Promise<
|
74
|
+
static getEkuboPools(chainId?: EkuboChainId): Promise<{
|
75
|
+
42161?: Record<string, EkuboPoolType> | undefined;
|
76
|
+
43114?: Record<string, EkuboPoolType> | undefined;
|
77
|
+
8453?: Record<string, EkuboPoolType> | undefined;
|
78
|
+
56?: Record<string, EkuboPoolType> | undefined;
|
79
|
+
42220?: Record<string, EkuboPoolType> | undefined;
|
80
|
+
1116?: Record<string, EkuboPoolType> | undefined;
|
81
|
+
250?: Record<string, EkuboPoolType> | undefined;
|
82
|
+
122?: Record<string, EkuboPoolType> | undefined;
|
83
|
+
196?: Record<string, EkuboPoolType> | undefined;
|
84
|
+
100?: Record<string, EkuboPoolType> | undefined;
|
85
|
+
59144?: Record<string, EkuboPoolType> | undefined;
|
86
|
+
1?: Record<string, EkuboPoolType> | undefined;
|
87
|
+
5000?: Record<string, EkuboPoolType> | undefined;
|
88
|
+
10?: Record<string, EkuboPoolType> | undefined;
|
89
|
+
137?: Record<string, EkuboPoolType> | undefined;
|
90
|
+
1101?: Record<string, EkuboPoolType> | undefined;
|
91
|
+
108?: Record<string, EkuboPoolType> | undefined;
|
92
|
+
324?: Record<string, EkuboPoolType> | undefined;
|
93
|
+
534352?: Record<string, EkuboPoolType> | undefined;
|
94
|
+
169?: Record<string, EkuboPoolType> | undefined;
|
95
|
+
13371?: Record<string, EkuboPoolType> | undefined;
|
96
|
+
81457?: Record<string, EkuboPoolType> | undefined;
|
97
|
+
34443?: Record<string, EkuboPoolType> | undefined;
|
98
|
+
592?: Record<string, EkuboPoolType> | undefined;
|
99
|
+
30?: Record<string, EkuboPoolType> | undefined;
|
100
|
+
167000?: Record<string, EkuboPoolType> | undefined;
|
101
|
+
1329?: Record<string, EkuboPoolType> | undefined;
|
102
|
+
1284?: Record<string, EkuboPoolType> | undefined;
|
103
|
+
2046399126?: Record<string, EkuboPoolType> | undefined;
|
104
|
+
252?: Record<string, EkuboPoolType> | undefined;
|
105
|
+
60808?: Record<string, EkuboPoolType> | undefined;
|
106
|
+
480?: Record<string, EkuboPoolType> | undefined;
|
107
|
+
42793?: Record<string, EkuboPoolType> | undefined;
|
108
|
+
1135?: Record<string, EkuboPoolType> | undefined;
|
109
|
+
130?: Record<string, EkuboPoolType> | undefined;
|
110
|
+
80094?: Record<string, EkuboPoolType> | undefined;
|
111
|
+
1923?: Record<string, EkuboPoolType> | undefined;
|
112
|
+
10242?: Record<string, EkuboPoolType> | undefined;
|
113
|
+
146?: Record<string, EkuboPoolType> | undefined;
|
114
|
+
21000000?: Record<string, EkuboPoolType> | undefined;
|
115
|
+
1868?: Record<string, EkuboPoolType> | undefined;
|
116
|
+
57073?: Record<string, EkuboPoolType> | undefined;
|
117
|
+
2020?: Record<string, EkuboPoolType> | undefined;
|
118
|
+
747?: Record<string, EkuboPoolType> | undefined;
|
119
|
+
6900?: Record<string, EkuboPoolType> | undefined;
|
120
|
+
33139?: Record<string, EkuboPoolType> | undefined;
|
121
|
+
999?: Record<string, EkuboPoolType> | undefined;
|
122
|
+
48900?: Record<string, EkuboPoolType> | undefined;
|
123
|
+
43111?: Record<string, EkuboPoolType> | undefined;
|
124
|
+
5464?: Record<string, EkuboPoolType> | undefined;
|
125
|
+
98866?: Record<string, EkuboPoolType> | undefined;
|
126
|
+
50?: Record<string, EkuboPoolType> | undefined;
|
127
|
+
747474?: Record<string, EkuboPoolType> | undefined;
|
128
|
+
151?: Record<string, EkuboPoolType> | undefined;
|
129
|
+
239?: Record<string, EkuboPoolType> | undefined;
|
130
|
+
}>;
|
21
131
|
}
|