@clonegod/ttd-sui-common 2.0.18 → 2.0.19

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.
@@ -361,8 +361,10 @@ class AbstractSuiDexTrade extends dist_1.AbastrcatTrade {
361
361
  sqrtPriceLimit: 0n,
362
362
  gasPriceMultiplier: gasMult,
363
363
  };
364
- (0, dist_1.log_info)(`[trade] 转发 swap 给集中执行器`, {
364
+ (0, dist_1.log_info)(`[trade] 转发 swap 给集中执行器 gasMult=${gasMult ?? '(无)'}`, {
365
365
  dex_id: req.dexId, pair: pool_info.pair, a2b, amountIn: req.amountIn.toString(), minOut: req.minOut.toString(),
366
+ gasPriceMultiplier: gasMult ?? null,
367
+ strategy_raw: this.appConfig.trade_runtime.settings?.strategy ?? null,
366
368
  });
367
369
  const res = await this.executorClient.requestSwap(req);
368
370
  if (!res.submitted) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sui-common",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
4
4
  "description": "Sui common library",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",