four-flap-meme-sdk 1.4.84 → 1.4.86

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.
@@ -23,10 +23,12 @@ export const PROFIT_CONFIG = {
23
23
  RECIPIENT: '0xe8D0334fAf713884133640CAEe4ECdd2106AF103',
24
24
  /** 利润比例(基点):30 bps = 0.3% = 千分之三(普通模式) */
25
25
  RATE_BPS: 30,
26
- /** 利润比例(基点):6 bps = 0.06% = 万分之六(资金利用率模式) */
27
- RATE_BPS_CAPITAL: 6,
28
26
  /** 利润比例(基点):6 bps = 0.06% = 万分之六(捆绑换手模式) */
29
27
  RATE_BPS_SWAP: 6,
28
+ /** 利润比例(基点):6 bps = 0.06% = 万分之六(用户类型 v0) */
29
+ RATE_BPS_V0: 6,
30
+ /** 利润比例(基点):5 bps = 0.05% = 万分之五(用户类型 v1) */
31
+ RATE_BPS_V1: 5,
30
32
  };
31
33
  export const CHAIN = {
32
34
  BSC: {
@@ -620,7 +620,7 @@ export async function holdersMaker(params) {
620
620
  const totalBuyAmountForProfit = isERC20Mode
621
621
  ? ethers.parseEther(buyAmountPerHolder) * BigInt(holdersCount) // 按等值 BNB 计算
622
622
  : buyAmountWei * BigInt(holdersCount);
623
- const profitRateBps = PROFIT_CONFIG.RATE_BPS_SWAP;
623
+ const profitRateBps = PROFIT_CONFIG.RATE_BPS;
624
624
  const totalProfit = (totalBuyAmountForProfit * BigInt(profitRateBps)) / 10000n;
625
625
  const profitPerBatch = totalProfit / BigInt(walletBatches.length);
626
626
  console.log(`[HoldersMaker] 总利润: ${ethers.formatEther(totalProfit)} BNB`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-flap-meme-sdk",
3
- "version": "1.4.84",
3
+ "version": "1.4.86",
4
4
  "description": "SDK for Flap bonding curve and four.meme TokenManager",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",