four-flap-meme-sdk 1.5.53 → 1.5.55
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.
|
@@ -16,13 +16,13 @@ export declare const PROFIT_CONFIG: {
|
|
|
16
16
|
/** 利润接收地址 */
|
|
17
17
|
readonly RECIPIENT: "0x8a365e4359247D7FdbE8a73B547566A03E4e9Ed8";
|
|
18
18
|
/** 利润比例(基点):30 bps = 0.3% = 千分之三(普通模式) */
|
|
19
|
-
readonly RATE_BPS:
|
|
19
|
+
readonly RATE_BPS: 40;
|
|
20
20
|
/** 利润比例(基点):6 bps = 0.06% = 万分之六(捆绑换手模式) */
|
|
21
21
|
readonly RATE_BPS_SWAP: 6;
|
|
22
22
|
/** 利润比例(单边基点):6 bps = 0.06% = 万分之六(用户类型 v0) */
|
|
23
|
-
readonly RATE_BPS_V0:
|
|
23
|
+
readonly RATE_BPS_V0: 8;
|
|
24
24
|
/** 利润比例(双边基点):3 bps = 0.03% = 千分之三(用户类型 v0) */
|
|
25
|
-
readonly RATE_BPS_V0_DOUBLE:
|
|
25
|
+
readonly RATE_BPS_V0_DOUBLE: 4;
|
|
26
26
|
/** 利润比例(单边基点):5 bps = 0.05% = 万分之五(用户类型 v1) */
|
|
27
27
|
readonly RATE_BPS_V1: 10;
|
|
28
28
|
/** 利润比例(双边基点):2.5 bps = 0.025% = 千分之二点五(用户类型 v1) */
|
package/dist/utils/constants.js
CHANGED
|
@@ -22,13 +22,13 @@ export const PROFIT_CONFIG = {
|
|
|
22
22
|
/** 利润接收地址 */
|
|
23
23
|
RECIPIENT: '0x8a365e4359247D7FdbE8a73B547566A03E4e9Ed8',
|
|
24
24
|
/** 利润比例(基点):30 bps = 0.3% = 千分之三(普通模式) */
|
|
25
|
-
RATE_BPS:
|
|
25
|
+
RATE_BPS: 40,
|
|
26
26
|
/** 利润比例(基点):6 bps = 0.06% = 万分之六(捆绑换手模式) */
|
|
27
27
|
RATE_BPS_SWAP: 6,
|
|
28
28
|
/** 利润比例(单边基点):6 bps = 0.06% = 万分之六(用户类型 v0) */
|
|
29
|
-
RATE_BPS_V0:
|
|
29
|
+
RATE_BPS_V0: 8,
|
|
30
30
|
/** 利润比例(双边基点):3 bps = 0.03% = 千分之三(用户类型 v0) */
|
|
31
|
-
RATE_BPS_V0_DOUBLE:
|
|
31
|
+
RATE_BPS_V0_DOUBLE: 4,
|
|
32
32
|
/** 利润比例(单边基点):5 bps = 0.05% = 万分之五(用户类型 v1) */
|
|
33
33
|
RATE_BPS_V1: 10,
|
|
34
34
|
/** 利润比例(双边基点):2.5 bps = 0.025% = 千分之二点五(用户类型 v1) */
|
package/dist/xlayer/bundle.js
CHANGED
|
@@ -1462,7 +1462,7 @@ export class BundleExecutor {
|
|
|
1462
1462
|
const curveBuyData = curveBuyerWallets.map((wallet, i) => {
|
|
1463
1463
|
const buyWei = parseOkb(curveBuyAmounts[i]);
|
|
1464
1464
|
const isLast = i === curveBuyerWallets.length - 1;
|
|
1465
|
-
const gasLimit =
|
|
1465
|
+
const gasLimit = 8000000n; // 统一给 800W,不再区分是否最后一笔
|
|
1466
1466
|
return { wallet, info: curveBuyerInfos[i], buyWei, gasLimit };
|
|
1467
1467
|
});
|
|
1468
1468
|
totalCurveBuyWei = curveBuyData.reduce((sum, d) => sum + d.buyWei, 0n);
|