four-flap-meme-sdk 1.6.21 → 1.6.22

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.
@@ -299,8 +299,8 @@ export async function buildTransfersWithProfit(params) {
299
299
  const unsigned = [];
300
300
  const opOwnerIndex = [];
301
301
  // ✅ 第二步:构建 UserOps
302
- // - Native (OKB):只转 toWei,利润保留在 AA 钱包(可能需要用于后续 gas)
303
- // - ERC20:全部转出,profitWei 给利润地址 + toWei 给目标地址
302
+ // 每个钱包只转归集金额(扣除利润后)给目标地址,不转利润
303
+ // 利润保留在 AA 钱包或由其他机制处理(类似 BSC 的做法)
304
304
  for (let idx = 0; idx < transferInfos.length; idx++) {
305
305
  const info = transferInfos[idx];
306
306
  const i = info.walletIndex;
@@ -311,7 +311,7 @@ export async function buildTransfersWithProfit(params) {
311
311
  let callData;
312
312
  let callGasLimit;
313
313
  if (params.kind === 'native') {
314
- // ✅ Native (OKB):只转 toWei,利润保留在 AA 钱包
314
+ // ✅ Native (OKB):只转 toWei,利润保留在 AA 钱包(用于后续 gas)
315
315
  callData = encodeExecute(info.to, info.toWei, '0x');
316
316
  callGasLimit = 120000n;
317
317
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-flap-meme-sdk",
3
- "version": "1.6.21",
3
+ "version": "1.6.22",
4
4
  "description": "SDK for Flap bonding curve and four.meme TokenManager",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",