@kasarlabs/ekubo-mcp 0.1.1 → 0.1.3

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.
Files changed (58) hide show
  1. package/build/index.js +12 -2
  2. package/build/index.js.map +1 -1
  3. package/build/lib/constants/index.d.ts +1 -0
  4. package/build/lib/constants/index.js +2 -0
  5. package/build/lib/constants/index.js.map +1 -0
  6. package/build/lib/utils/math.d.ts +4 -0
  7. package/build/lib/utils/math.js +34 -1
  8. package/build/lib/utils/math.js.map +1 -1
  9. package/build/lib/utils/pools.js +4 -6
  10. package/build/lib/utils/pools.js.map +1 -1
  11. package/build/lib/utils/position.d.ts +10 -0
  12. package/build/lib/utils/position.js +95 -0
  13. package/build/lib/utils/position.js.map +1 -0
  14. package/build/lib/utils/quote.d.ts +2 -0
  15. package/build/lib/utils/quote.js +20 -0
  16. package/build/lib/utils/quote.js.map +1 -1
  17. package/build/lib/utils/swap.d.ts +1 -1
  18. package/build/lib/utils/swap.js +2 -2
  19. package/build/lib/utils/swap.js.map +1 -1
  20. package/build/lib/utils/token.d.ts +1 -15
  21. package/build/lib/utils/token.js +0 -14
  22. package/build/lib/utils/token.js.map +1 -1
  23. package/build/schemas/index.d.ts +222 -266
  24. package/build/schemas/index.js +129 -174
  25. package/build/schemas/index.js.map +1 -1
  26. package/build/tools/read/getPoolFeesPerLiquidity.d.ts +1 -1
  27. package/build/tools/read/getPoolFeesPerLiquidity.js +8 -3
  28. package/build/tools/read/getPoolFeesPerLiquidity.js.map +1 -1
  29. package/build/tools/read/getPoolInfo.js +6 -3
  30. package/build/tools/read/getPoolInfo.js.map +1 -1
  31. package/build/tools/read/getPoolLiquidity.d.ts +1 -1
  32. package/build/tools/read/getPoolLiquidity.js +8 -3
  33. package/build/tools/read/getPoolLiquidity.js.map +1 -1
  34. package/build/tools/read/getPosition.d.ts +25 -0
  35. package/build/tools/read/getPosition.js +64 -0
  36. package/build/tools/read/getPosition.js.map +1 -0
  37. package/build/tools/read/getTokenPrice.d.ts +1 -1
  38. package/build/tools/read/getTokenPrice.js +12 -6
  39. package/build/tools/read/getTokenPrice.js.map +1 -1
  40. package/build/tools/write/addLiquidity.d.ts +1 -1
  41. package/build/tools/write/addLiquidity.js +53 -22
  42. package/build/tools/write/addLiquidity.js.map +1 -1
  43. package/build/tools/write/createPosition.d.ts +3 -1
  44. package/build/tools/write/createPosition.js +49 -16
  45. package/build/tools/write/createPosition.js.map +1 -1
  46. package/build/tools/write/swap.d.ts +1 -1
  47. package/build/tools/write/swap.js +29 -15
  48. package/build/tools/write/swap.js.map +1 -1
  49. package/build/tools/write/transferPosition.d.ts +1 -1
  50. package/build/tools/write/transferPosition.js +4 -1
  51. package/build/tools/write/transferPosition.js.map +1 -1
  52. package/build/tools/write/withdrawLiquidity.d.ts +3 -1
  53. package/build/tools/write/withdrawLiquidity.js +28 -7
  54. package/build/tools/write/withdrawLiquidity.js.map +1 -1
  55. package/package.json +3 -3
  56. package/build/interfaces/index.d.ts +0 -21
  57. package/build/interfaces/index.js +0 -2
  58. package/build/interfaces/index.js.map +0 -1
@@ -1,85 +1,67 @@
1
1
  import { z } from 'zod';
2
- export declare const assetSchema: z.ZodObject<{
3
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
4
- assetValue: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- assetType: "SYMBOL" | "ADDRESS";
7
- assetValue: string;
8
- }, {
9
- assetType: "SYMBOL" | "ADDRESS";
10
- assetValue: string;
11
- }>;
12
- export declare const poolKeySchema: z.ZodObject<{
13
- token0: z.ZodObject<{
14
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
15
- assetValue: z.ZodString;
16
- }, "strip", z.ZodTypeAny, {
17
- assetType: "SYMBOL" | "ADDRESS";
18
- assetValue: string;
19
- }, {
20
- assetType: "SYMBOL" | "ADDRESS";
21
- assetValue: string;
22
- }>;
23
- token1: z.ZodObject<{
24
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
25
- assetValue: z.ZodString;
26
- }, "strip", z.ZodTypeAny, {
27
- assetType: "SYMBOL" | "ADDRESS";
28
- assetValue: string;
29
- }, {
30
- assetType: "SYMBOL" | "ADDRESS";
31
- assetValue: string;
32
- }>;
2
+ export declare const poolKeySchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3
+ token0_symbol: z.ZodOptional<z.ZodString>;
4
+ token0_address: z.ZodOptional<z.ZodString>;
5
+ token1_symbol: z.ZodOptional<z.ZodString>;
6
+ token1_address: z.ZodOptional<z.ZodString>;
33
7
  fee: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
34
8
  tick_spacing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
35
9
  extension: z.ZodDefault<z.ZodOptional<z.ZodString>>;
36
10
  }, "strip", z.ZodTypeAny, {
37
- token0: {
38
- assetType: "SYMBOL" | "ADDRESS";
39
- assetValue: string;
40
- };
41
- token1: {
42
- assetType: "SYMBOL" | "ADDRESS";
43
- assetValue: string;
44
- };
45
11
  fee: number;
46
12
  tick_spacing: number;
47
13
  extension: string;
14
+ token0_symbol?: string | undefined;
15
+ token0_address?: string | undefined;
16
+ token1_symbol?: string | undefined;
17
+ token1_address?: string | undefined;
18
+ }, {
19
+ token0_symbol?: string | undefined;
20
+ token0_address?: string | undefined;
21
+ token1_symbol?: string | undefined;
22
+ token1_address?: string | undefined;
23
+ fee?: number | undefined;
24
+ tick_spacing?: number | undefined;
25
+ extension?: string | undefined;
26
+ }>, {
27
+ fee: number;
28
+ tick_spacing: number;
29
+ extension: string;
30
+ token0_symbol?: string | undefined;
31
+ token0_address?: string | undefined;
32
+ token1_symbol?: string | undefined;
33
+ token1_address?: string | undefined;
34
+ }, {
35
+ token0_symbol?: string | undefined;
36
+ token0_address?: string | undefined;
37
+ token1_symbol?: string | undefined;
38
+ token1_address?: string | undefined;
39
+ fee?: number | undefined;
40
+ tick_spacing?: number | undefined;
41
+ extension?: string | undefined;
42
+ }>, {
43
+ fee: number;
44
+ tick_spacing: number;
45
+ extension: string;
46
+ token0_symbol?: string | undefined;
47
+ token0_address?: string | undefined;
48
+ token1_symbol?: string | undefined;
49
+ token1_address?: string | undefined;
48
50
  }, {
49
- token0: {
50
- assetType: "SYMBOL" | "ADDRESS";
51
- assetValue: string;
52
- };
53
- token1: {
54
- assetType: "SYMBOL" | "ADDRESS";
55
- assetValue: string;
56
- };
51
+ token0_symbol?: string | undefined;
52
+ token0_address?: string | undefined;
53
+ token1_symbol?: string | undefined;
54
+ token1_address?: string | undefined;
57
55
  fee?: number | undefined;
58
56
  tick_spacing?: number | undefined;
59
57
  extension?: string | undefined;
60
58
  }>;
61
59
  export type PoolKey = z.infer<typeof poolKeySchema>;
62
- export declare const getTokenPriceSchema: z.ZodObject<{
63
- token: z.ZodObject<{
64
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
65
- assetValue: z.ZodString;
66
- }, "strip", z.ZodTypeAny, {
67
- assetType: "SYMBOL" | "ADDRESS";
68
- assetValue: string;
69
- }, {
70
- assetType: "SYMBOL" | "ADDRESS";
71
- assetValue: string;
72
- }>;
73
- quote_currency: z.ZodObject<{
74
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
75
- assetValue: z.ZodString;
76
- }, "strip", z.ZodTypeAny, {
77
- assetType: "SYMBOL" | "ADDRESS";
78
- assetValue: string;
79
- }, {
80
- assetType: "SYMBOL" | "ADDRESS";
81
- assetValue: string;
82
- }>;
60
+ export declare const getTokenPriceSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
61
+ token_symbol: z.ZodOptional<z.ZodString>;
62
+ token_address: z.ZodOptional<z.ZodString>;
63
+ quote_currency_symbol: z.ZodOptional<z.ZodString>;
64
+ quote_currency_address: z.ZodOptional<z.ZodString>;
83
65
  fee: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
84
66
  tick_spacing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
85
67
  extension: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -87,49 +69,57 @@ export declare const getTokenPriceSchema: z.ZodObject<{
87
69
  fee: number;
88
70
  tick_spacing: number;
89
71
  extension: string;
90
- token: {
91
- assetType: "SYMBOL" | "ADDRESS";
92
- assetValue: string;
93
- };
94
- quote_currency: {
95
- assetType: "SYMBOL" | "ADDRESS";
96
- assetValue: string;
97
- };
72
+ token_symbol?: string | undefined;
73
+ token_address?: string | undefined;
74
+ quote_currency_symbol?: string | undefined;
75
+ quote_currency_address?: string | undefined;
76
+ }, {
77
+ fee?: number | undefined;
78
+ tick_spacing?: number | undefined;
79
+ extension?: string | undefined;
80
+ token_symbol?: string | undefined;
81
+ token_address?: string | undefined;
82
+ quote_currency_symbol?: string | undefined;
83
+ quote_currency_address?: string | undefined;
84
+ }>, {
85
+ fee: number;
86
+ tick_spacing: number;
87
+ extension: string;
88
+ token_symbol?: string | undefined;
89
+ token_address?: string | undefined;
90
+ quote_currency_symbol?: string | undefined;
91
+ quote_currency_address?: string | undefined;
92
+ }, {
93
+ fee?: number | undefined;
94
+ tick_spacing?: number | undefined;
95
+ extension?: string | undefined;
96
+ token_symbol?: string | undefined;
97
+ token_address?: string | undefined;
98
+ quote_currency_symbol?: string | undefined;
99
+ quote_currency_address?: string | undefined;
100
+ }>, {
101
+ fee: number;
102
+ tick_spacing: number;
103
+ extension: string;
104
+ token_symbol?: string | undefined;
105
+ token_address?: string | undefined;
106
+ quote_currency_symbol?: string | undefined;
107
+ quote_currency_address?: string | undefined;
98
108
  }, {
99
- token: {
100
- assetType: "SYMBOL" | "ADDRESS";
101
- assetValue: string;
102
- };
103
- quote_currency: {
104
- assetType: "SYMBOL" | "ADDRESS";
105
- assetValue: string;
106
- };
107
109
  fee?: number | undefined;
108
110
  tick_spacing?: number | undefined;
109
111
  extension?: string | undefined;
112
+ token_symbol?: string | undefined;
113
+ token_address?: string | undefined;
114
+ quote_currency_symbol?: string | undefined;
115
+ quote_currency_address?: string | undefined;
110
116
  }>;
111
117
  export type GetTokenPriceSchema = z.infer<typeof getTokenPriceSchema>;
112
- export declare const swapTokensSchema: z.ZodObject<{
113
- token_in: z.ZodObject<{
114
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
115
- assetValue: z.ZodString;
116
- }, "strip", z.ZodTypeAny, {
117
- assetType: "SYMBOL" | "ADDRESS";
118
- assetValue: string;
119
- }, {
120
- assetType: "SYMBOL" | "ADDRESS";
121
- assetValue: string;
122
- }>;
123
- token_out: z.ZodObject<{
124
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
125
- assetValue: z.ZodString;
126
- }, "strip", z.ZodTypeAny, {
127
- assetType: "SYMBOL" | "ADDRESS";
128
- assetValue: string;
129
- }, {
130
- assetType: "SYMBOL" | "ADDRESS";
131
- assetValue: string;
132
- }>;
118
+ export declare const swapTokensSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
119
+ token_in_symbol: z.ZodOptional<z.ZodString>;
120
+ token_in_address: z.ZodOptional<z.ZodString>;
121
+ token_out_symbol: z.ZodOptional<z.ZodString>;
122
+ token_out_address: z.ZodOptional<z.ZodString>;
133
123
  amount: z.ZodString;
134
124
  is_amount_in: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
135
125
  slippage_tolerance: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -140,30 +130,66 @@ export declare const swapTokensSchema: z.ZodObject<{
140
130
  fee: number;
141
131
  tick_spacing: number;
142
132
  extension: string;
143
- token_in: {
144
- assetType: "SYMBOL" | "ADDRESS";
145
- assetValue: string;
146
- };
147
- token_out: {
148
- assetType: "SYMBOL" | "ADDRESS";
149
- assetValue: string;
150
- };
151
133
  amount: string;
152
134
  is_amount_in: boolean;
153
135
  slippage_tolerance: number;
136
+ token_in_symbol?: string | undefined;
137
+ token_in_address?: string | undefined;
138
+ token_out_symbol?: string | undefined;
139
+ token_out_address?: string | undefined;
140
+ }, {
141
+ amount: string;
142
+ fee?: number | undefined;
143
+ tick_spacing?: number | undefined;
144
+ extension?: string | undefined;
145
+ token_in_symbol?: string | undefined;
146
+ token_in_address?: string | undefined;
147
+ token_out_symbol?: string | undefined;
148
+ token_out_address?: string | undefined;
149
+ is_amount_in?: boolean | undefined;
150
+ slippage_tolerance?: number | undefined;
151
+ }>, {
152
+ fee: number;
153
+ tick_spacing: number;
154
+ extension: string;
155
+ amount: string;
156
+ is_amount_in: boolean;
157
+ slippage_tolerance: number;
158
+ token_in_symbol?: string | undefined;
159
+ token_in_address?: string | undefined;
160
+ token_out_symbol?: string | undefined;
161
+ token_out_address?: string | undefined;
154
162
  }, {
155
- token_in: {
156
- assetType: "SYMBOL" | "ADDRESS";
157
- assetValue: string;
158
- };
159
- token_out: {
160
- assetType: "SYMBOL" | "ADDRESS";
161
- assetValue: string;
162
- };
163
163
  amount: string;
164
164
  fee?: number | undefined;
165
165
  tick_spacing?: number | undefined;
166
166
  extension?: string | undefined;
167
+ token_in_symbol?: string | undefined;
168
+ token_in_address?: string | undefined;
169
+ token_out_symbol?: string | undefined;
170
+ token_out_address?: string | undefined;
171
+ is_amount_in?: boolean | undefined;
172
+ slippage_tolerance?: number | undefined;
173
+ }>, {
174
+ fee: number;
175
+ tick_spacing: number;
176
+ extension: string;
177
+ amount: string;
178
+ is_amount_in: boolean;
179
+ slippage_tolerance: number;
180
+ token_in_symbol?: string | undefined;
181
+ token_in_address?: string | undefined;
182
+ token_out_symbol?: string | undefined;
183
+ token_out_address?: string | undefined;
184
+ }, {
185
+ amount: string;
186
+ fee?: number | undefined;
187
+ tick_spacing?: number | undefined;
188
+ extension?: string | undefined;
189
+ token_in_symbol?: string | undefined;
190
+ token_in_address?: string | undefined;
191
+ token_out_symbol?: string | undefined;
192
+ token_out_address?: string | undefined;
167
193
  is_amount_in?: boolean | undefined;
168
194
  slippage_tolerance?: number | undefined;
169
195
  }>;
@@ -172,65 +198,14 @@ export declare const addLiquiditySchema: z.ZodObject<{
172
198
  position_id: z.ZodNumber;
173
199
  amount0: z.ZodString;
174
200
  amount1: z.ZodString;
175
- token0: z.ZodObject<{
176
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
177
- assetValue: z.ZodString;
178
- }, "strip", z.ZodTypeAny, {
179
- assetType: "SYMBOL" | "ADDRESS";
180
- assetValue: string;
181
- }, {
182
- assetType: "SYMBOL" | "ADDRESS";
183
- assetValue: string;
184
- }>;
185
- token1: z.ZodObject<{
186
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
187
- assetValue: z.ZodString;
188
- }, "strip", z.ZodTypeAny, {
189
- assetType: "SYMBOL" | "ADDRESS";
190
- assetValue: string;
191
- }, {
192
- assetType: "SYMBOL" | "ADDRESS";
193
- assetValue: string;
194
- }>;
195
- lower_tick: z.ZodNumber;
196
- upper_tick: z.ZodNumber;
197
- fee: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
198
- tick_spacing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
199
- extension: z.ZodDefault<z.ZodOptional<z.ZodString>>;
200
201
  }, "strip", z.ZodTypeAny, {
201
- token0: {
202
- assetType: "SYMBOL" | "ADDRESS";
203
- assetValue: string;
204
- };
205
- token1: {
206
- assetType: "SYMBOL" | "ADDRESS";
207
- assetValue: string;
208
- };
209
- fee: number;
210
- tick_spacing: number;
211
- extension: string;
212
202
  position_id: number;
213
203
  amount0: string;
214
204
  amount1: string;
215
- lower_tick: number;
216
- upper_tick: number;
217
205
  }, {
218
- token0: {
219
- assetType: "SYMBOL" | "ADDRESS";
220
- assetValue: string;
221
- };
222
- token1: {
223
- assetType: "SYMBOL" | "ADDRESS";
224
- assetValue: string;
225
- };
226
206
  position_id: number;
227
207
  amount0: string;
228
208
  amount1: string;
229
- lower_tick: number;
230
- upper_tick: number;
231
- fee?: number | undefined;
232
- tick_spacing?: number | undefined;
233
- extension?: string | undefined;
234
209
  }>;
235
210
  export type AddLiquiditySchema = z.infer<typeof addLiquiditySchema>;
236
211
  export declare const withdrawLiquiditySchema: z.ZodObject<{
@@ -238,65 +213,14 @@ export declare const withdrawLiquiditySchema: z.ZodObject<{
238
213
  liquidity_amount: z.ZodString;
239
214
  fees_only: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
240
215
  collect_fees: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
241
- token0: z.ZodObject<{
242
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
243
- assetValue: z.ZodString;
244
- }, "strip", z.ZodTypeAny, {
245
- assetType: "SYMBOL" | "ADDRESS";
246
- assetValue: string;
247
- }, {
248
- assetType: "SYMBOL" | "ADDRESS";
249
- assetValue: string;
250
- }>;
251
- token1: z.ZodObject<{
252
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
253
- assetValue: z.ZodString;
254
- }, "strip", z.ZodTypeAny, {
255
- assetType: "SYMBOL" | "ADDRESS";
256
- assetValue: string;
257
- }, {
258
- assetType: "SYMBOL" | "ADDRESS";
259
- assetValue: string;
260
- }>;
261
- lower_tick: z.ZodNumber;
262
- upper_tick: z.ZodNumber;
263
- fee: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
264
- tick_spacing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
265
- extension: z.ZodDefault<z.ZodOptional<z.ZodString>>;
266
216
  }, "strip", z.ZodTypeAny, {
267
- token0: {
268
- assetType: "SYMBOL" | "ADDRESS";
269
- assetValue: string;
270
- };
271
- token1: {
272
- assetType: "SYMBOL" | "ADDRESS";
273
- assetValue: string;
274
- };
275
- fee: number;
276
- tick_spacing: number;
277
- extension: string;
278
217
  position_id: number;
279
- lower_tick: number;
280
- upper_tick: number;
281
218
  liquidity_amount: string;
282
219
  fees_only: boolean;
283
220
  collect_fees: boolean;
284
221
  }, {
285
- token0: {
286
- assetType: "SYMBOL" | "ADDRESS";
287
- assetValue: string;
288
- };
289
- token1: {
290
- assetType: "SYMBOL" | "ADDRESS";
291
- assetValue: string;
292
- };
293
222
  position_id: number;
294
- lower_tick: number;
295
- upper_tick: number;
296
223
  liquidity_amount: string;
297
- fee?: number | undefined;
298
- tick_spacing?: number | undefined;
299
- extension?: string | undefined;
300
224
  fees_only?: boolean | undefined;
301
225
  collect_fees?: boolean | undefined;
302
226
  }>;
@@ -312,65 +236,97 @@ export declare const transferPositionSchema: z.ZodObject<{
312
236
  to_address: string;
313
237
  }>;
314
238
  export type TransferPositionSchema = z.infer<typeof transferPositionSchema>;
315
- export declare const createPositionSchema: z.ZodObject<{
239
+ export declare const createPositionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
316
240
  amount0: z.ZodString;
317
241
  amount1: z.ZodString;
318
- token0: z.ZodObject<{
319
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
320
- assetValue: z.ZodString;
321
- }, "strip", z.ZodTypeAny, {
322
- assetType: "SYMBOL" | "ADDRESS";
323
- assetValue: string;
324
- }, {
325
- assetType: "SYMBOL" | "ADDRESS";
326
- assetValue: string;
327
- }>;
328
- token1: z.ZodObject<{
329
- assetType: z.ZodEnum<["SYMBOL", "ADDRESS"]>;
330
- assetValue: z.ZodString;
331
- }, "strip", z.ZodTypeAny, {
332
- assetType: "SYMBOL" | "ADDRESS";
333
- assetValue: string;
334
- }, {
335
- assetType: "SYMBOL" | "ADDRESS";
336
- assetValue: string;
337
- }>;
338
- lower_tick: z.ZodNumber;
339
- upper_tick: z.ZodNumber;
242
+ token0_symbol: z.ZodOptional<z.ZodString>;
243
+ token0_address: z.ZodOptional<z.ZodString>;
244
+ token1_symbol: z.ZodOptional<z.ZodString>;
245
+ token1_address: z.ZodOptional<z.ZodString>;
246
+ lower_price: z.ZodNumber;
247
+ upper_price: z.ZodNumber;
340
248
  fee: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
341
249
  tick_spacing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
342
250
  extension: z.ZodDefault<z.ZodOptional<z.ZodString>>;
343
251
  }, "strip", z.ZodTypeAny, {
344
- token0: {
345
- assetType: "SYMBOL" | "ADDRESS";
346
- assetValue: string;
347
- };
348
- token1: {
349
- assetType: "SYMBOL" | "ADDRESS";
350
- assetValue: string;
351
- };
352
252
  fee: number;
353
253
  tick_spacing: number;
354
254
  extension: string;
355
255
  amount0: string;
356
256
  amount1: string;
357
- lower_tick: number;
358
- upper_tick: number;
257
+ lower_price: number;
258
+ upper_price: number;
259
+ token0_symbol?: string | undefined;
260
+ token0_address?: string | undefined;
261
+ token1_symbol?: string | undefined;
262
+ token1_address?: string | undefined;
359
263
  }, {
360
- token0: {
361
- assetType: "SYMBOL" | "ADDRESS";
362
- assetValue: string;
363
- };
364
- token1: {
365
- assetType: "SYMBOL" | "ADDRESS";
366
- assetValue: string;
367
- };
368
264
  amount0: string;
369
265
  amount1: string;
370
- lower_tick: number;
371
- upper_tick: number;
266
+ lower_price: number;
267
+ upper_price: number;
268
+ token0_symbol?: string | undefined;
269
+ token0_address?: string | undefined;
270
+ token1_symbol?: string | undefined;
271
+ token1_address?: string | undefined;
272
+ fee?: number | undefined;
273
+ tick_spacing?: number | undefined;
274
+ extension?: string | undefined;
275
+ }>, {
276
+ fee: number;
277
+ tick_spacing: number;
278
+ extension: string;
279
+ amount0: string;
280
+ amount1: string;
281
+ lower_price: number;
282
+ upper_price: number;
283
+ token0_symbol?: string | undefined;
284
+ token0_address?: string | undefined;
285
+ token1_symbol?: string | undefined;
286
+ token1_address?: string | undefined;
287
+ }, {
288
+ amount0: string;
289
+ amount1: string;
290
+ lower_price: number;
291
+ upper_price: number;
292
+ token0_symbol?: string | undefined;
293
+ token0_address?: string | undefined;
294
+ token1_symbol?: string | undefined;
295
+ token1_address?: string | undefined;
296
+ fee?: number | undefined;
297
+ tick_spacing?: number | undefined;
298
+ extension?: string | undefined;
299
+ }>, {
300
+ fee: number;
301
+ tick_spacing: number;
302
+ extension: string;
303
+ amount0: string;
304
+ amount1: string;
305
+ lower_price: number;
306
+ upper_price: number;
307
+ token0_symbol?: string | undefined;
308
+ token0_address?: string | undefined;
309
+ token1_symbol?: string | undefined;
310
+ token1_address?: string | undefined;
311
+ }, {
312
+ amount0: string;
313
+ amount1: string;
314
+ lower_price: number;
315
+ upper_price: number;
316
+ token0_symbol?: string | undefined;
317
+ token0_address?: string | undefined;
318
+ token1_symbol?: string | undefined;
319
+ token1_address?: string | undefined;
372
320
  fee?: number | undefined;
373
321
  tick_spacing?: number | undefined;
374
322
  extension?: string | undefined;
375
323
  }>;
376
324
  export type CreatePositionSchema = z.infer<typeof createPositionSchema>;
325
+ export declare const getPositionSchema: z.ZodObject<{
326
+ position_id: z.ZodNumber;
327
+ }, "strip", z.ZodTypeAny, {
328
+ position_id: number;
329
+ }, {
330
+ position_id: number;
331
+ }>;
332
+ export type GetPositionSchema = z.infer<typeof getPositionSchema>;