mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-16 07:36:45 +00:00
chore: Remove comments
This commit is contained in:
@@ -50,17 +50,6 @@ export async function createMeteoraDlmmPool(
|
||||
!priceRoundingUp,
|
||||
);
|
||||
|
||||
// console.log(`>>> Creating Meteora DLMM pool...`);
|
||||
// console.log(`- Using tokenAMint: ${tokenAMint.toString()}`);
|
||||
// console.log(`- Using tokenBMint: ${tokenBMint.toString()}`);
|
||||
// console.log(`- Using binStep: ${binStep}`);
|
||||
// console.log(`- Using initialPrice: ${initialPrice}`);
|
||||
// console.log(`- Using priceRoundingUp: ${priceRoundingUp}`);
|
||||
// console.log(`- Using feeBps ${feeBps}`);
|
||||
// console.log(`- Using activationType: ${activationType}`);
|
||||
// console.log(`- Using activationPoint: ${activationPoint?.toString()}`);
|
||||
// console.log(`- Using hasAlphaVault: ${hasAlphaVault}`);
|
||||
|
||||
const initPoolTx = await DLMM.createCustomizablePermissionlessLbPair(
|
||||
agent.connection,
|
||||
new BN(binStep),
|
||||
@@ -91,7 +80,5 @@ export async function createMeteoraDlmmPool(
|
||||
throw err;
|
||||
});
|
||||
|
||||
// console.log(`<<< Finished creating Meteora DLMM pool.`);
|
||||
|
||||
return initPoolTxHash;
|
||||
}
|
||||
|
||||
@@ -32,20 +32,6 @@ export async function createMeteoraDynamicAMMPool(
|
||||
customizableParams: CustomizableParams,
|
||||
computeUnitMicroLamports: number,
|
||||
): Promise<string> {
|
||||
// console.log(`>>> Creating Meteora Dynamic Pool...`);
|
||||
// console.log(`- Using tokenAMint: ${tokenAMint.toString()}`);
|
||||
// console.log(`- Using tokenBMint: ${tokenBMint.toString()}`);
|
||||
// console.log(`- Using tokenAAmount: ${tokenAAmount.toString()}`);
|
||||
// console.log(`- Using tokenBAmount: ${tokenBAmount.toString()}`);
|
||||
// console.log(
|
||||
// `- Using tradeFeeNumerator ${customizableParams.tradeFeeNumerator}`,
|
||||
// );
|
||||
// console.log(`- Using activationType: ${customizableParams.activationType}`);
|
||||
// console.log(
|
||||
// `- Using activationPoint: ${customizableParams.activationPoint?.toString()}`,
|
||||
// );
|
||||
// console.log(`- Using hasAlphaVault: ${customizableParams.hasAlphaVault}`);
|
||||
|
||||
const initPoolTx =
|
||||
await AmmImpl.createCustomizablePermissionlessConstantProductPool(
|
||||
agent.connection,
|
||||
@@ -71,7 +57,6 @@ export async function createMeteoraDynamicAMMPool(
|
||||
console.error(err);
|
||||
throw err;
|
||||
});
|
||||
// console.log(`<<< Finished creating Meteora Dynamic Pool.`);
|
||||
|
||||
return initPoolTxHash;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user