config
parameter should be a valid configuration accountcreatePermissionlessConstantProductPoolWithConfig
but only if you need to set the activation point earlier than the default derived from the config.
Function
config
parameter should be a valid configuration accountactivationPoint
parameter is the timestamp in seconds since the Unix epoch. If you want to set it to the current time, you can use 'now'
.tradeFeeBps
parameter is the trade fee in basis points.isStable
parameter is whether the pool is stable.skipAta
parameter is whether to skip creating associated token account for token A.memecoinInfo
parameter is the information for the memecoin.feeVault
parameter is the information for the fee vault.pool
parameter is the instance of the pool.pool
parameter is the instance of the pool.owner
parameter is the address of the user.inTokenMint
parameter is the mint address of the input token.inAmountLamport
parameter is the amount of input token to swap.slippage
parameter is the slippage tolerance.swapInitiator
parameter is the address of the swap initiator.tokenAInAmount
parameter is the amount of token A to deposit.tokenBInAmount
parameter is the amount of token B to deposit.balance
parameter is whether to use the balance of the user.slippage
parameter is the slippage tolerance.withdrawTokenAmount
parameter is the amount of pool token to withdraw.slippage
parameter is the slippage tolerance.pool
parameter is the instance of the pool.owner
parameter is the address of the owner.tokenAInAmount
parameter is the amount of token A to deposit.tokenBInAmount
parameter is the amount of token B to deposit.poolTokenAmount
parameter is the amount of pool token to deposit.owner
parameter is the address of the owner.lpTokenAmount
parameter is the amount of pool token to withdraw.tokenAOutAmount
parameter is the amount of token A to withdraw.tokenBOutAmount
parameter is the amount of token B to withdraw.owner
parameter is the address of the owner.inTokenMint
parameter is the mint address of the input token.inAmountLamport
parameter is the amount of input token to swap.outAmountLamport
parameter is the amount of output token to receive.referralOwner
parameter is the address of the referral owner.