four-flap-meme-sdk 1.2.7 β 1.2.8
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.
|
@@ -26,6 +26,13 @@ function getGasLimit(config, defaultGas = 800000) {
|
|
|
26
26
|
*/
|
|
27
27
|
export async function createTokenWithBundleBuyMerkle(params) {
|
|
28
28
|
const { chain, privateKeys, buyAmounts, tokenInfo, quoteToken, tokenAddress, config } = params;
|
|
29
|
+
// π θ°θ―οΌζ£ζ₯ config 对豑
|
|
30
|
+
console.log('π ζ₯ζΆε°η params.config:', {
|
|
31
|
+
hasConfig: !!config,
|
|
32
|
+
configKeys: config ? Object.keys(config) : [],
|
|
33
|
+
profitRecipient: config?.profitRecipient,
|
|
34
|
+
profitRateBps: config?.profitRateBps
|
|
35
|
+
});
|
|
29
36
|
if (privateKeys.length === 0) {
|
|
30
37
|
throw new Error(getErrorMessage('NO_PRIVATE_KEY'));
|
|
31
38
|
}
|
|
@@ -107,6 +114,9 @@ export async function createTokenWithBundleBuyMerkle(params) {
|
|
|
107
114
|
console.log('π εε»Ί+θ·δΉ° ε©ζΆ¦ζεζ£ζ₯:', {
|
|
108
115
|
extractProfit,
|
|
109
116
|
profitRecipient: config.profitRecipient,
|
|
117
|
+
profitRecipientType: typeof config.profitRecipient,
|
|
118
|
+
profitRecipientLength: config.profitRecipient?.length,
|
|
119
|
+
isZeroAddress: config.profitRecipient === ethers.ZeroAddress,
|
|
110
120
|
profitRateBps: config.profitRateBps,
|
|
111
121
|
buyersCount: privateKeys.length - 1
|
|
112
122
|
});
|