@mento-protocol/mento-sdk 3.0.0-beta.11 → 3.0.0-beta.12
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/core/abis/router.d.ts +436 -1
- package/dist/core/abis/router.d.ts.map +1 -1
- package/dist/core/abis/router.js +13 -0
- package/dist/core/abis/router.js.map +1 -1
- package/dist/core/types/index.d.ts +1 -0
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/types/index.js +1 -0
- package/dist/core/types/index.js.map +1 -1
- package/dist/core/types/liquidity.d.ts +117 -0
- package/dist/core/types/liquidity.d.ts.map +1 -0
- package/dist/core/types/liquidity.js +3 -0
- package/dist/core/types/liquidity.js.map +1 -0
- package/dist/core/types/pool.d.ts +4 -4
- package/dist/core/types/pool.d.ts.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/services/liquidity/LiquidityService.d.ts +154 -0
- package/dist/services/liquidity/LiquidityService.d.ts.map +1 -0
- package/dist/services/liquidity/LiquidityService.js +184 -0
- package/dist/services/liquidity/LiquidityService.js.map +1 -0
- package/dist/services/liquidity/basicLiquidity.d.ts +11 -0
- package/dist/services/liquidity/basicLiquidity.d.ts.map +1 -0
- package/dist/services/liquidity/basicLiquidity.js +174 -0
- package/dist/services/liquidity/basicLiquidity.js.map +1 -0
- package/dist/services/liquidity/index.d.ts +2 -0
- package/dist/services/liquidity/index.d.ts.map +1 -0
- package/dist/services/liquidity/index.js +18 -0
- package/dist/services/liquidity/index.js.map +1 -0
- package/dist/services/liquidity/liquidityHelpers.d.ts +14 -0
- package/dist/services/liquidity/liquidityHelpers.d.ts.map +1 -0
- package/dist/services/liquidity/liquidityHelpers.js +78 -0
- package/dist/services/liquidity/liquidityHelpers.js.map +1 -0
- package/dist/services/liquidity/zapHelpers.d.ts +61 -0
- package/dist/services/liquidity/zapHelpers.d.ts.map +1 -0
- package/dist/services/liquidity/zapHelpers.js +119 -0
- package/dist/services/liquidity/zapHelpers.js.map +1 -0
- package/dist/services/liquidity/zapIn.d.ts +17 -0
- package/dist/services/liquidity/zapIn.d.ts.map +1 -0
- package/dist/services/liquidity/zapIn.js +121 -0
- package/dist/services/liquidity/zapIn.js.map +1 -0
- package/dist/services/liquidity/zapOut.d.ts +17 -0
- package/dist/services/liquidity/zapOut.d.ts.map +1 -0
- package/dist/services/liquidity/zapOut.js +100 -0
- package/dist/services/liquidity/zapOut.js.map +1 -0
- package/dist/services/pools/poolDetails.js +5 -5
- package/dist/services/pools/poolDetails.js.map +1 -1
- package/dist/services/quotes/QuoteService.js.map +1 -1
- package/dist/services/swap/SwapService.js.map +1 -1
- package/package.json +3 -1
|
@@ -1,2 +1,437 @@
|
|
|
1
|
-
export declare const ROUTER_ABI:
|
|
1
|
+
export declare const ROUTER_ABI: readonly [{
|
|
2
|
+
readonly name: "getAmountsOut";
|
|
3
|
+
readonly type: "function";
|
|
4
|
+
readonly stateMutability: "view";
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly type: "uint256";
|
|
7
|
+
readonly name: "amountIn";
|
|
8
|
+
}, {
|
|
9
|
+
readonly type: "tuple[]";
|
|
10
|
+
readonly components: readonly [{
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
readonly name: "from";
|
|
13
|
+
}, {
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
readonly name: "to";
|
|
16
|
+
}, {
|
|
17
|
+
readonly type: "address";
|
|
18
|
+
readonly name: "factory";
|
|
19
|
+
}];
|
|
20
|
+
readonly name: "routes";
|
|
21
|
+
}];
|
|
22
|
+
readonly outputs: readonly [{
|
|
23
|
+
readonly type: "uint256[]";
|
|
24
|
+
readonly name: "amounts";
|
|
25
|
+
}];
|
|
26
|
+
}, {
|
|
27
|
+
readonly name: "swapExactTokensForTokens";
|
|
28
|
+
readonly type: "function";
|
|
29
|
+
readonly stateMutability: "nonpayable";
|
|
30
|
+
readonly inputs: readonly [{
|
|
31
|
+
readonly type: "uint256";
|
|
32
|
+
readonly name: "amountIn";
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
readonly name: "amountOutMin";
|
|
36
|
+
}, {
|
|
37
|
+
readonly type: "tuple[]";
|
|
38
|
+
readonly components: readonly [{
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
readonly name: "from";
|
|
41
|
+
}, {
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
readonly name: "to";
|
|
44
|
+
}, {
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
readonly name: "factory";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "routes";
|
|
49
|
+
}, {
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
readonly name: "to";
|
|
52
|
+
}, {
|
|
53
|
+
readonly type: "uint256";
|
|
54
|
+
readonly name: "deadline";
|
|
55
|
+
}];
|
|
56
|
+
readonly outputs: readonly [{
|
|
57
|
+
readonly type: "uint256[]";
|
|
58
|
+
readonly name: "amounts";
|
|
59
|
+
}];
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "addLiquidity";
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly stateMutability: "nonpayable";
|
|
64
|
+
readonly inputs: readonly [{
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
readonly name: "tokenA";
|
|
67
|
+
}, {
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
readonly name: "tokenB";
|
|
70
|
+
}, {
|
|
71
|
+
readonly type: "uint256";
|
|
72
|
+
readonly name: "amountADesired";
|
|
73
|
+
}, {
|
|
74
|
+
readonly type: "uint256";
|
|
75
|
+
readonly name: "amountBDesired";
|
|
76
|
+
}, {
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
readonly name: "amountAMin";
|
|
79
|
+
}, {
|
|
80
|
+
readonly type: "uint256";
|
|
81
|
+
readonly name: "amountBMin";
|
|
82
|
+
}, {
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
readonly name: "to";
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "uint256";
|
|
87
|
+
readonly name: "deadline";
|
|
88
|
+
}];
|
|
89
|
+
readonly outputs: readonly [{
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
readonly name: "amountA";
|
|
92
|
+
}, {
|
|
93
|
+
readonly type: "uint256";
|
|
94
|
+
readonly name: "amountB";
|
|
95
|
+
}, {
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
readonly name: "liquidity";
|
|
98
|
+
}];
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "removeLiquidity";
|
|
101
|
+
readonly type: "function";
|
|
102
|
+
readonly stateMutability: "nonpayable";
|
|
103
|
+
readonly inputs: readonly [{
|
|
104
|
+
readonly type: "address";
|
|
105
|
+
readonly name: "tokenA";
|
|
106
|
+
}, {
|
|
107
|
+
readonly type: "address";
|
|
108
|
+
readonly name: "tokenB";
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "uint256";
|
|
111
|
+
readonly name: "liquidity";
|
|
112
|
+
}, {
|
|
113
|
+
readonly type: "uint256";
|
|
114
|
+
readonly name: "amountAMin";
|
|
115
|
+
}, {
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
readonly name: "amountBMin";
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: "address";
|
|
120
|
+
readonly name: "to";
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "uint256";
|
|
123
|
+
readonly name: "deadline";
|
|
124
|
+
}];
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly type: "uint256";
|
|
127
|
+
readonly name: "amountA";
|
|
128
|
+
}, {
|
|
129
|
+
readonly type: "uint256";
|
|
130
|
+
readonly name: "amountB";
|
|
131
|
+
}];
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "quoteAddLiquidity";
|
|
134
|
+
readonly type: "function";
|
|
135
|
+
readonly stateMutability: "view";
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly type: "address";
|
|
138
|
+
readonly name: "tokenA";
|
|
139
|
+
}, {
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
readonly name: "tokenB";
|
|
142
|
+
}, {
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
readonly name: "_factory";
|
|
145
|
+
}, {
|
|
146
|
+
readonly type: "uint256";
|
|
147
|
+
readonly name: "amountADesired";
|
|
148
|
+
}, {
|
|
149
|
+
readonly type: "uint256";
|
|
150
|
+
readonly name: "amountBDesired";
|
|
151
|
+
}];
|
|
152
|
+
readonly outputs: readonly [{
|
|
153
|
+
readonly type: "uint256";
|
|
154
|
+
readonly name: "amountA";
|
|
155
|
+
}, {
|
|
156
|
+
readonly type: "uint256";
|
|
157
|
+
readonly name: "amountB";
|
|
158
|
+
}, {
|
|
159
|
+
readonly type: "uint256";
|
|
160
|
+
readonly name: "liquidity";
|
|
161
|
+
}];
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "quoteRemoveLiquidity";
|
|
164
|
+
readonly type: "function";
|
|
165
|
+
readonly stateMutability: "view";
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
readonly name: "tokenA";
|
|
169
|
+
}, {
|
|
170
|
+
readonly type: "address";
|
|
171
|
+
readonly name: "tokenB";
|
|
172
|
+
}, {
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
readonly name: "_factory";
|
|
175
|
+
}, {
|
|
176
|
+
readonly type: "uint256";
|
|
177
|
+
readonly name: "liquidity";
|
|
178
|
+
}];
|
|
179
|
+
readonly outputs: readonly [{
|
|
180
|
+
readonly type: "uint256";
|
|
181
|
+
readonly name: "amountA";
|
|
182
|
+
}, {
|
|
183
|
+
readonly type: "uint256";
|
|
184
|
+
readonly name: "amountB";
|
|
185
|
+
}];
|
|
186
|
+
}, {
|
|
187
|
+
readonly name: "zapIn";
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
readonly stateMutability: "payable";
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly type: "address";
|
|
192
|
+
readonly name: "tokenIn";
|
|
193
|
+
}, {
|
|
194
|
+
readonly type: "uint256";
|
|
195
|
+
readonly name: "amountInA";
|
|
196
|
+
}, {
|
|
197
|
+
readonly type: "uint256";
|
|
198
|
+
readonly name: "amountInB";
|
|
199
|
+
}, {
|
|
200
|
+
readonly type: "tuple";
|
|
201
|
+
readonly components: readonly [{
|
|
202
|
+
readonly type: "address";
|
|
203
|
+
readonly name: "tokenA";
|
|
204
|
+
}, {
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
readonly name: "tokenB";
|
|
207
|
+
}, {
|
|
208
|
+
readonly type: "address";
|
|
209
|
+
readonly name: "factory";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
readonly name: "amountAMin";
|
|
213
|
+
}, {
|
|
214
|
+
readonly type: "uint256";
|
|
215
|
+
readonly name: "amountBMin";
|
|
216
|
+
}, {
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
readonly name: "amountOutMinA";
|
|
219
|
+
}, {
|
|
220
|
+
readonly type: "uint256";
|
|
221
|
+
readonly name: "amountOutMinB";
|
|
222
|
+
}];
|
|
223
|
+
readonly name: "zapInPool";
|
|
224
|
+
}, {
|
|
225
|
+
readonly type: "tuple[]";
|
|
226
|
+
readonly components: readonly [{
|
|
227
|
+
readonly type: "address";
|
|
228
|
+
readonly name: "from";
|
|
229
|
+
}, {
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
readonly name: "to";
|
|
232
|
+
}, {
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
readonly name: "factory";
|
|
235
|
+
}];
|
|
236
|
+
readonly name: "routesA";
|
|
237
|
+
}, {
|
|
238
|
+
readonly type: "tuple[]";
|
|
239
|
+
readonly components: readonly [{
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
readonly name: "from";
|
|
242
|
+
}, {
|
|
243
|
+
readonly type: "address";
|
|
244
|
+
readonly name: "to";
|
|
245
|
+
}, {
|
|
246
|
+
readonly type: "address";
|
|
247
|
+
readonly name: "factory";
|
|
248
|
+
}];
|
|
249
|
+
readonly name: "routesB";
|
|
250
|
+
}, {
|
|
251
|
+
readonly type: "address";
|
|
252
|
+
readonly name: "to";
|
|
253
|
+
}];
|
|
254
|
+
readonly outputs: readonly [{
|
|
255
|
+
readonly type: "uint256";
|
|
256
|
+
readonly name: "liquidity";
|
|
257
|
+
}];
|
|
258
|
+
}, {
|
|
259
|
+
readonly name: "zapOut";
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
readonly stateMutability: "nonpayable";
|
|
262
|
+
readonly inputs: readonly [{
|
|
263
|
+
readonly type: "address";
|
|
264
|
+
readonly name: "tokenOut";
|
|
265
|
+
}, {
|
|
266
|
+
readonly type: "uint256";
|
|
267
|
+
readonly name: "liquidity";
|
|
268
|
+
}, {
|
|
269
|
+
readonly type: "tuple";
|
|
270
|
+
readonly components: readonly [{
|
|
271
|
+
readonly type: "address";
|
|
272
|
+
readonly name: "tokenA";
|
|
273
|
+
}, {
|
|
274
|
+
readonly type: "address";
|
|
275
|
+
readonly name: "tokenB";
|
|
276
|
+
}, {
|
|
277
|
+
readonly type: "address";
|
|
278
|
+
readonly name: "factory";
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "uint256";
|
|
281
|
+
readonly name: "amountAMin";
|
|
282
|
+
}, {
|
|
283
|
+
readonly type: "uint256";
|
|
284
|
+
readonly name: "amountBMin";
|
|
285
|
+
}, {
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
readonly name: "amountOutMinA";
|
|
288
|
+
}, {
|
|
289
|
+
readonly type: "uint256";
|
|
290
|
+
readonly name: "amountOutMinB";
|
|
291
|
+
}];
|
|
292
|
+
readonly name: "zapOutPool";
|
|
293
|
+
}, {
|
|
294
|
+
readonly type: "tuple[]";
|
|
295
|
+
readonly components: readonly [{
|
|
296
|
+
readonly type: "address";
|
|
297
|
+
readonly name: "from";
|
|
298
|
+
}, {
|
|
299
|
+
readonly type: "address";
|
|
300
|
+
readonly name: "to";
|
|
301
|
+
}, {
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
readonly name: "factory";
|
|
304
|
+
}];
|
|
305
|
+
readonly name: "routesA";
|
|
306
|
+
}, {
|
|
307
|
+
readonly type: "tuple[]";
|
|
308
|
+
readonly components: readonly [{
|
|
309
|
+
readonly type: "address";
|
|
310
|
+
readonly name: "from";
|
|
311
|
+
}, {
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
readonly name: "to";
|
|
314
|
+
}, {
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
readonly name: "factory";
|
|
317
|
+
}];
|
|
318
|
+
readonly name: "routesB";
|
|
319
|
+
}];
|
|
320
|
+
readonly outputs: readonly [];
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "generateZapInParams";
|
|
323
|
+
readonly type: "function";
|
|
324
|
+
readonly stateMutability: "view";
|
|
325
|
+
readonly inputs: readonly [{
|
|
326
|
+
readonly type: "address";
|
|
327
|
+
readonly name: "tokenA";
|
|
328
|
+
}, {
|
|
329
|
+
readonly type: "address";
|
|
330
|
+
readonly name: "tokenB";
|
|
331
|
+
}, {
|
|
332
|
+
readonly type: "address";
|
|
333
|
+
readonly name: "_factory";
|
|
334
|
+
}, {
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
readonly name: "amountInA";
|
|
337
|
+
}, {
|
|
338
|
+
readonly type: "uint256";
|
|
339
|
+
readonly name: "amountInB";
|
|
340
|
+
}, {
|
|
341
|
+
readonly type: "tuple[]";
|
|
342
|
+
readonly components: readonly [{
|
|
343
|
+
readonly type: "address";
|
|
344
|
+
readonly name: "from";
|
|
345
|
+
}, {
|
|
346
|
+
readonly type: "address";
|
|
347
|
+
readonly name: "to";
|
|
348
|
+
}, {
|
|
349
|
+
readonly type: "address";
|
|
350
|
+
readonly name: "factory";
|
|
351
|
+
}];
|
|
352
|
+
readonly name: "routesA";
|
|
353
|
+
}, {
|
|
354
|
+
readonly type: "tuple[]";
|
|
355
|
+
readonly components: readonly [{
|
|
356
|
+
readonly type: "address";
|
|
357
|
+
readonly name: "from";
|
|
358
|
+
}, {
|
|
359
|
+
readonly type: "address";
|
|
360
|
+
readonly name: "to";
|
|
361
|
+
}, {
|
|
362
|
+
readonly type: "address";
|
|
363
|
+
readonly name: "factory";
|
|
364
|
+
}];
|
|
365
|
+
readonly name: "routesB";
|
|
366
|
+
}];
|
|
367
|
+
readonly outputs: readonly [{
|
|
368
|
+
readonly type: "uint256";
|
|
369
|
+
readonly name: "amountOutMinA";
|
|
370
|
+
}, {
|
|
371
|
+
readonly type: "uint256";
|
|
372
|
+
readonly name: "amountOutMinB";
|
|
373
|
+
}, {
|
|
374
|
+
readonly type: "uint256";
|
|
375
|
+
readonly name: "amountAMin";
|
|
376
|
+
}, {
|
|
377
|
+
readonly type: "uint256";
|
|
378
|
+
readonly name: "amountBMin";
|
|
379
|
+
}];
|
|
380
|
+
}, {
|
|
381
|
+
readonly name: "generateZapOutParams";
|
|
382
|
+
readonly type: "function";
|
|
383
|
+
readonly stateMutability: "view";
|
|
384
|
+
readonly inputs: readonly [{
|
|
385
|
+
readonly type: "address";
|
|
386
|
+
readonly name: "tokenA";
|
|
387
|
+
}, {
|
|
388
|
+
readonly type: "address";
|
|
389
|
+
readonly name: "tokenB";
|
|
390
|
+
}, {
|
|
391
|
+
readonly type: "address";
|
|
392
|
+
readonly name: "_factory";
|
|
393
|
+
}, {
|
|
394
|
+
readonly type: "uint256";
|
|
395
|
+
readonly name: "liquidity";
|
|
396
|
+
}, {
|
|
397
|
+
readonly type: "tuple[]";
|
|
398
|
+
readonly components: readonly [{
|
|
399
|
+
readonly type: "address";
|
|
400
|
+
readonly name: "from";
|
|
401
|
+
}, {
|
|
402
|
+
readonly type: "address";
|
|
403
|
+
readonly name: "to";
|
|
404
|
+
}, {
|
|
405
|
+
readonly type: "address";
|
|
406
|
+
readonly name: "factory";
|
|
407
|
+
}];
|
|
408
|
+
readonly name: "routesA";
|
|
409
|
+
}, {
|
|
410
|
+
readonly type: "tuple[]";
|
|
411
|
+
readonly components: readonly [{
|
|
412
|
+
readonly type: "address";
|
|
413
|
+
readonly name: "from";
|
|
414
|
+
}, {
|
|
415
|
+
readonly type: "address";
|
|
416
|
+
readonly name: "to";
|
|
417
|
+
}, {
|
|
418
|
+
readonly type: "address";
|
|
419
|
+
readonly name: "factory";
|
|
420
|
+
}];
|
|
421
|
+
readonly name: "routesB";
|
|
422
|
+
}];
|
|
423
|
+
readonly outputs: readonly [{
|
|
424
|
+
readonly type: "uint256";
|
|
425
|
+
readonly name: "amountOutMinA";
|
|
426
|
+
}, {
|
|
427
|
+
readonly type: "uint256";
|
|
428
|
+
readonly name: "amountOutMinB";
|
|
429
|
+
}, {
|
|
430
|
+
readonly type: "uint256";
|
|
431
|
+
readonly name: "amountAMin";
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "uint256";
|
|
434
|
+
readonly name: "amountBMin";
|
|
435
|
+
}];
|
|
436
|
+
}];
|
|
2
437
|
//# sourceMappingURL=router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/core/abis/router.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/core/abis/router.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBrB,CAAA"}
|
package/dist/core/abis/router.js
CHANGED
|
@@ -3,8 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ROUTER_ABI = void 0;
|
|
4
4
|
const viem_1 = require("viem");
|
|
5
5
|
exports.ROUTER_ABI = (0, viem_1.parseAbi)([
|
|
6
|
+
// Swap operations
|
|
6
7
|
'function getAmountsOut(uint256 amountIn, Route[] memory routes) view returns (uint256[] memory amounts)',
|
|
7
8
|
'function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, Route[] calldata routes, address to, uint256 deadline) returns (uint256[] memory amounts)',
|
|
9
|
+
// Basic liquidity operations
|
|
10
|
+
'function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB, uint256 liquidity)',
|
|
11
|
+
'function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB)',
|
|
12
|
+
'function quoteAddLiquidity(address tokenA, address tokenB, address _factory, uint256 amountADesired, uint256 amountBDesired) view returns (uint256 amountA, uint256 amountB, uint256 liquidity)',
|
|
13
|
+
'function quoteRemoveLiquidity(address tokenA, address tokenB, address _factory, uint256 liquidity) view returns (uint256 amountA, uint256 amountB)',
|
|
14
|
+
// Zap operations
|
|
15
|
+
'function zapIn(address tokenIn, uint256 amountInA, uint256 amountInB, Zap calldata zapInPool, Route[] calldata routesA, Route[] calldata routesB, address to) payable returns (uint256 liquidity)',
|
|
16
|
+
'function zapOut(address tokenOut, uint256 liquidity, Zap calldata zapOutPool, Route[] calldata routesA, Route[] calldata routesB)',
|
|
17
|
+
'function generateZapInParams(address tokenA, address tokenB, address _factory, uint256 amountInA, uint256 amountInB, Route[] calldata routesA, Route[] calldata routesB) view returns (uint256 amountOutMinA, uint256 amountOutMinB, uint256 amountAMin, uint256 amountBMin)',
|
|
18
|
+
'function generateZapOutParams(address tokenA, address tokenB, address _factory, uint256 liquidity, Route[] calldata routesA, Route[] calldata routesB) view returns (uint256 amountOutMinA, uint256 amountOutMinB, uint256 amountAMin, uint256 amountBMin)',
|
|
19
|
+
// Structs
|
|
8
20
|
'struct Route { address from; address to; address factory; }',
|
|
21
|
+
'struct Zap { address tokenA; address tokenB; address factory; uint256 amountAMin; uint256 amountBMin; uint256 amountOutMinA; uint256 amountOutMinB; }',
|
|
9
22
|
]);
|
|
10
23
|
//# sourceMappingURL=router.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../../src/core/abis/router.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAElB,QAAA,UAAU,GAAG,IAAA,eAAQ,EAAC;IACjC,yGAAyG;IACzG,qKAAqK;
|
|
1
|
+
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../../src/core/abis/router.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAElB,QAAA,UAAU,GAAG,IAAA,eAAQ,EAAC;IACjC,kBAAkB;IAClB,yGAAyG;IACzG,qKAAqK;IAErK,6BAA6B;IAC7B,2OAA2O;IAC3O,8LAA8L;IAC9L,iMAAiM;IACjM,oJAAoJ;IAEpJ,iBAAiB;IACjB,mMAAmM;IACnM,mIAAmI;IACnI,8QAA8Q;IAC9Q,4PAA4P;IAE5P,UAAU;IACV,6DAA6D;IAC7D,uJAAuJ;CACxJ,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA"}
|
package/dist/core/types/index.js
CHANGED
|
@@ -21,4 +21,5 @@ __exportStar(require("./route"), exports);
|
|
|
21
21
|
__exportStar(require("./pool"), exports);
|
|
22
22
|
__exportStar(require("./tradingMode"), exports);
|
|
23
23
|
__exportStar(require("./tradingLimits"), exports);
|
|
24
|
+
__exportStar(require("./liquidity"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,gDAA6B;AAC7B,0CAAuB;AACvB,0CAAuB;AACvB,yCAAsB;AACtB,gDAA6B;AAC7B,kDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,gDAA6B;AAC7B,0CAAuB;AACvB,0CAAuB;AACvB,yCAAsB;AACtB,gDAA6B;AAC7B,kDAA+B;AAC/B,8CAA2B"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { CallParams } from './transaction';
|
|
2
|
+
import { RouterRoute } from '../../utils/pathEncoder';
|
|
3
|
+
export interface LiquidityOptions {
|
|
4
|
+
slippageTolerance: number;
|
|
5
|
+
deadline?: bigint;
|
|
6
|
+
}
|
|
7
|
+
export interface AddLiquidityQuote {
|
|
8
|
+
amountA: bigint;
|
|
9
|
+
amountB: bigint;
|
|
10
|
+
liquidity: bigint;
|
|
11
|
+
}
|
|
12
|
+
export interface RemoveLiquidityQuote {
|
|
13
|
+
amount0: bigint;
|
|
14
|
+
amount1: bigint;
|
|
15
|
+
}
|
|
16
|
+
export interface AddLiquidityDetails {
|
|
17
|
+
params: CallParams;
|
|
18
|
+
poolAddress: string;
|
|
19
|
+
token0: string;
|
|
20
|
+
token1: string;
|
|
21
|
+
tokenA: string;
|
|
22
|
+
tokenB: string;
|
|
23
|
+
amountADesired: bigint;
|
|
24
|
+
amountBDesired: bigint;
|
|
25
|
+
amountAMin: bigint;
|
|
26
|
+
amountBMin: bigint;
|
|
27
|
+
expectedLiquidity: bigint;
|
|
28
|
+
deadline: bigint;
|
|
29
|
+
}
|
|
30
|
+
export interface RemoveLiquidityDetails {
|
|
31
|
+
params: CallParams;
|
|
32
|
+
poolAddress: string;
|
|
33
|
+
token0: string;
|
|
34
|
+
token1: string;
|
|
35
|
+
liquidity: bigint;
|
|
36
|
+
amount0Min: bigint;
|
|
37
|
+
amount1Min: bigint;
|
|
38
|
+
expectedAmount0: bigint;
|
|
39
|
+
expectedAmount1: bigint;
|
|
40
|
+
deadline: bigint;
|
|
41
|
+
}
|
|
42
|
+
export interface TokenApproval {
|
|
43
|
+
token: string;
|
|
44
|
+
amount: bigint;
|
|
45
|
+
params: CallParams;
|
|
46
|
+
}
|
|
47
|
+
export interface AddLiquidityTransaction {
|
|
48
|
+
approvalA: TokenApproval | null;
|
|
49
|
+
approvalB: TokenApproval | null;
|
|
50
|
+
addLiquidity: AddLiquidityDetails;
|
|
51
|
+
}
|
|
52
|
+
export interface RemoveLiquidityTransaction {
|
|
53
|
+
approval: TokenApproval | null;
|
|
54
|
+
removeLiquidity: RemoveLiquidityDetails;
|
|
55
|
+
}
|
|
56
|
+
export interface LPTokenBalance {
|
|
57
|
+
poolAddress: string;
|
|
58
|
+
balance: bigint;
|
|
59
|
+
token0: string;
|
|
60
|
+
token1: string;
|
|
61
|
+
totalSupply: bigint;
|
|
62
|
+
sharePercent: number;
|
|
63
|
+
}
|
|
64
|
+
export interface ZapParams {
|
|
65
|
+
tokenA: string;
|
|
66
|
+
tokenB: string;
|
|
67
|
+
factory: string;
|
|
68
|
+
amountAMin: bigint;
|
|
69
|
+
amountBMin: bigint;
|
|
70
|
+
amountOutMinA: bigint;
|
|
71
|
+
amountOutMinB: bigint;
|
|
72
|
+
}
|
|
73
|
+
export interface ZapInQuote {
|
|
74
|
+
amountOutMinA: bigint;
|
|
75
|
+
amountOutMinB: bigint;
|
|
76
|
+
amountAMin: bigint;
|
|
77
|
+
amountBMin: bigint;
|
|
78
|
+
expectedLiquidity: bigint;
|
|
79
|
+
}
|
|
80
|
+
export interface ZapOutQuote {
|
|
81
|
+
amountOutMinA: bigint;
|
|
82
|
+
amountOutMinB: bigint;
|
|
83
|
+
amountAMin: bigint;
|
|
84
|
+
amountBMin: bigint;
|
|
85
|
+
expectedTokenOut: bigint;
|
|
86
|
+
}
|
|
87
|
+
export interface ZapInDetails {
|
|
88
|
+
params: CallParams;
|
|
89
|
+
poolAddress: string;
|
|
90
|
+
tokenIn: string;
|
|
91
|
+
amountIn: bigint;
|
|
92
|
+
amountInA: bigint;
|
|
93
|
+
amountInB: bigint;
|
|
94
|
+
routesA: RouterRoute[];
|
|
95
|
+
routesB: RouterRoute[];
|
|
96
|
+
zapParams: ZapParams;
|
|
97
|
+
expectedLiquidity: bigint;
|
|
98
|
+
}
|
|
99
|
+
export interface ZapOutDetails {
|
|
100
|
+
params: CallParams;
|
|
101
|
+
poolAddress: string;
|
|
102
|
+
tokenOut: string;
|
|
103
|
+
liquidity: bigint;
|
|
104
|
+
routesA: RouterRoute[];
|
|
105
|
+
routesB: RouterRoute[];
|
|
106
|
+
zapParams: ZapParams;
|
|
107
|
+
expectedTokenOut: bigint;
|
|
108
|
+
}
|
|
109
|
+
export interface ZapInTransaction {
|
|
110
|
+
approval: TokenApproval | null;
|
|
111
|
+
zapIn: ZapInDetails;
|
|
112
|
+
}
|
|
113
|
+
export interface ZapOutTransaction {
|
|
114
|
+
approval: TokenApproval | null;
|
|
115
|
+
zapOut: ZapOutDetails;
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=liquidity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liquidity.d.ts","sourceRoot":"","sources":["../../../src/core/types/liquidity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,sBAAsB;I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,9 @@ export interface FPMMRebalancing {
|
|
|
101
101
|
export interface FPMMPoolDetails extends Pool {
|
|
102
102
|
poolType: 'FPMM';
|
|
103
103
|
/** Scaling factor for token0 (10^tokenDecimals) */
|
|
104
|
-
|
|
104
|
+
scalingFactor0: bigint;
|
|
105
105
|
/** Scaling factor for token1 (10^tokenDecimals) */
|
|
106
|
-
|
|
106
|
+
scalingFactor1: bigint;
|
|
107
107
|
/** Reserve of token0 (raw) */
|
|
108
108
|
reserve0: bigint;
|
|
109
109
|
/** Reserve of token1 (raw) */
|
|
@@ -123,9 +123,9 @@ export interface FPMMPoolDetails extends Pool {
|
|
|
123
123
|
export interface VirtualPoolDetails extends Pool {
|
|
124
124
|
poolType: 'Virtual';
|
|
125
125
|
/** Scaling factor for token0 (10^tokenDecimals) */
|
|
126
|
-
|
|
126
|
+
scalingFactor0: bigint;
|
|
127
127
|
/** Scaling factor for token1 (10^tokenDecimals) */
|
|
128
|
-
|
|
128
|
+
scalingFactor1: bigint;
|
|
129
129
|
/** Reserve (bucket) of token0 (raw) */
|
|
130
130
|
reserve0: bigint;
|
|
131
131
|
/** Reserve (bucket) of token1 (raw) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pool.d.ts","sourceRoot":"","sources":["../../../src/core/types/pool.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,QAAQ;IAClB,gEAAgE;IAChE,IAAI,SAAS;IACb,gEAAgE;IAChE,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAAA;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA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