four-flap-meme-sdk 1.5.48 → 1.5.49

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.
@@ -1292,14 +1292,6 @@ export class BundleExecutor {
1292
1292
  ops.push(signedBuyOp.userOp);
1293
1293
  }
1294
1294
  // 利润由尾笔交易处理(不再在买入阶段追加利润转账 UserOp)
1295
- // 3. 签名 handleOps 交易
1296
- const payerStartNonce = params.payerStartNonce ?? await this.aaManager.getProvider().getTransactionCount(payer.address, 'pending');
1297
- const signedTx = await this.signHandleOpsTx({
1298
- ops,
1299
- payerWallet: payer,
1300
- beneficiary: useBeneficiary,
1301
- nonce: payerStartNonce
1302
- });
1303
1295
  // === 计算利润金额 ===
1304
1296
  let nativeProfitAmount = 0n;
1305
1297
  if (profitSettings.extractProfit && totalBuyProfitWei > 0n) {
@@ -56,8 +56,8 @@ export declare const VERIFICATION_GAS_LIMIT_DEPLOY = 800000n;
56
56
  export declare const VERIFICATION_GAS_LIMIT_NORMAL = 250000n;
57
57
  /** Pre-verification Gas */
58
58
  export declare const PRE_VERIFICATION_GAS = 60000n;
59
- /** 默认 Call Gas Limit(卖出时的保守值) */
60
- export declare const DEFAULT_CALL_GAS_LIMIT_SELL = 450000n;
59
+ /** 默认 Call Gas Limit(对齐 BSC,买入/卖出共用保守值) */
60
+ export declare const DEFAULT_CALL_GAS_LIMIT_SELL = 800000n;
61
61
  /** XLayer Flap 买入手续费率 (1.5%) */
62
62
  export declare const FLAP_BUY_FEE_RATE = 0.015;
63
63
  /** XLayer Flap 卖出手续费率 (1.5%) */
@@ -77,8 +77,8 @@ export const VERIFICATION_GAS_LIMIT_DEPLOY = 800000n;
77
77
  export const VERIFICATION_GAS_LIMIT_NORMAL = 250000n;
78
78
  /** Pre-verification Gas */
79
79
  export const PRE_VERIFICATION_GAS = 60000n;
80
- /** 默认 Call Gas Limit(卖出时的保守值) */
81
- export const DEFAULT_CALL_GAS_LIMIT_SELL = 450000n;
80
+ /** 默认 Call Gas Limit(对齐 BSC,买入/卖出共用保守值) */
81
+ export const DEFAULT_CALL_GAS_LIMIT_SELL = 800000n;
82
82
  // ============================================================================
83
83
  // 费率配置
84
84
  // ============================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-flap-meme-sdk",
3
- "version": "1.5.48",
3
+ "version": "1.5.49",
4
4
  "description": "SDK for Flap bonding curve and four.meme TokenManager",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",