createDeployCpmmPoolTxParams
@bidask-protocol/sdk / createDeployCpmmPoolTxParams
Function: createDeployCpmmPoolTxParams()
createDeployCpmmPoolTxParams(
params):TxParams
Creates a transaction parameters for deploying a CPMM pool (with hardcoded DAMM parameters)
Parameters
params
Parameters for the transaction
baseFee
bigint
Base fee
poolDeployerAddress?
Address
Optional address of the pool deployer (defaults to POOL_FACTORY_ADDRESS)
poolStartTimestamp?
number
Optional pool start timestamp (defaults to 0)
queryId?
bigint
Optional query ID for the transaction (defaults to random)
seedCell
Cell
Seed cell for the pool
token0PoolWalletAddress
Address
Address of the token0 pool wallet
token1PoolWalletAddress
Address
Address of the token1 pool wallet
tokenXAmount
bigint
Amount of token X
tokenYAmount
bigint
Amount of token Y
virtualXAmount
bigint
Virtual amount of token X
virtualYAmount
bigint
Virtual amount of token Y
Returns
Transaction parameters