four-flap-meme-sdk 4.3.16 → 4.3.17

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.
@@ -105,8 +105,8 @@ export async function holdersMaker(params) {
105
105
  }
106
106
  result.disperseHopWallets = allDisperseHopWallets;
107
107
  }
108
- // ✅ XLayer/ENI 特殊处理:不需要贿赂和利润多跳
109
- const isSimpleChain = chain === 'XLAYER' || chain === 'ENI';
108
+ // 没有 BlockRazor 捆绑的链不发贿赂,利润一笔直转
109
+ const isSimpleChain = chain === 'XLAYER' || chain === 'ENI' || chain === 'ROBINHOOD';
110
110
  const needBribe = !isSimpleChain;
111
111
  const needProfitHop = !isSimpleChain;
112
112
  // 7. 并行生成所有批次的签名
@@ -53,7 +53,7 @@ export async function buildDisperseHopChainERC20(payer, path, erc20Address, erc2
53
53
  return { signedTxs, payerNoncesUsed: 1 };
54
54
  }
55
55
  export function calculateMaxWalletsPerBatch(isERC20Mode, disperseHopCount, chain) {
56
- const isSimpleChain = chain === 'XLAYER' || chain === 'ENI';
56
+ const isSimpleChain = chain === 'XLAYER' || chain === 'ENI' || chain === 'ROBINHOOD';
57
57
  const fixedOverhead = isSimpleChain ? 1 : 1 + PROFIT_HOP_COUNT + 1;
58
58
  const maxTxs = 50 - fixedOverhead;
59
59
  if (isERC20Mode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-flap-meme-sdk",
3
- "version": "4.3.16",
3
+ "version": "4.3.17",
4
4
  "description": "SDK for Flap bonding curve and four.meme TokenManager",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",