createDeployClmmPoolTxParams
@bidask-protocol/sdk / createDeployClmmPoolTxParams
Function: createDeployClmmPoolTxParams()
createDeployClmmPoolTxParams(
params
):TxParams
Creates a transaction parameters for deploying a CLMM pool (with hardcoded DLMM parameters)
Parameters
params
Parameters for the transaction
baseFee
bigint
Base fee
bps
bigint
Basis points for price calculation
initialRawPrice
number
Initial raw price of the pool
initSqrtPriceX128?
bigint
Optional initial sqrt price X 128 (defaults to the price calculated from initialRawPrice)
poolDeployerAddress?
Address
Optional address of the pool deployer (defaults to POOL_FACTORY_ADDRESS)
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
Returns
Transaction parameters