@mento-protocol/mento-sdk 3.0.0-beta.15 → 3.0.0-beta.16
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.
|
@@ -209,16 +209,16 @@ export declare const ROUTER_ABI: readonly [{
|
|
|
209
209
|
readonly name: "factory";
|
|
210
210
|
}, {
|
|
211
211
|
readonly type: "uint256";
|
|
212
|
-
readonly name: "
|
|
212
|
+
readonly name: "amountOutMinA";
|
|
213
213
|
}, {
|
|
214
214
|
readonly type: "uint256";
|
|
215
|
-
readonly name: "
|
|
215
|
+
readonly name: "amountOutMinB";
|
|
216
216
|
}, {
|
|
217
217
|
readonly type: "uint256";
|
|
218
|
-
readonly name: "
|
|
218
|
+
readonly name: "amountAMin";
|
|
219
219
|
}, {
|
|
220
220
|
readonly type: "uint256";
|
|
221
|
-
readonly name: "
|
|
221
|
+
readonly name: "amountBMin";
|
|
222
222
|
}];
|
|
223
223
|
readonly name: "zapInPool";
|
|
224
224
|
}, {
|
|
@@ -278,16 +278,16 @@ export declare const ROUTER_ABI: readonly [{
|
|
|
278
278
|
readonly name: "factory";
|
|
279
279
|
}, {
|
|
280
280
|
readonly type: "uint256";
|
|
281
|
-
readonly name: "
|
|
281
|
+
readonly name: "amountOutMinA";
|
|
282
282
|
}, {
|
|
283
283
|
readonly type: "uint256";
|
|
284
|
-
readonly name: "
|
|
284
|
+
readonly name: "amountOutMinB";
|
|
285
285
|
}, {
|
|
286
286
|
readonly type: "uint256";
|
|
287
|
-
readonly name: "
|
|
287
|
+
readonly name: "amountAMin";
|
|
288
288
|
}, {
|
|
289
289
|
readonly type: "uint256";
|
|
290
|
-
readonly name: "
|
|
290
|
+
readonly name: "amountBMin";
|
|
291
291
|
}];
|
|
292
292
|
readonly name: "zapOutPool";
|
|
293
293
|
}, {
|
package/dist/core/abis/router.js
CHANGED
|
@@ -18,6 +18,6 @@ exports.ROUTER_ABI = (0, viem_1.parseAbi)([
|
|
|
18
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
19
|
// Structs
|
|
20
20
|
'struct Route { address from; address to; address factory; }',
|
|
21
|
-
'struct Zap { address tokenA; address tokenB; address factory; uint256
|
|
21
|
+
'struct Zap { address tokenA; address tokenB; address factory; uint256 amountOutMinA; uint256 amountOutMinB; uint256 amountAMin; uint256 amountBMin; }',
|
|
22
22
|
]);
|
|
23
23
|
//# sourceMappingURL=router.js.map
|