Skip to main content

createDeployDlmmPoolTxParams

@bidask-protocol/sdk


@bidask-protocol/sdk / createDeployDlmmPoolTxParams

Function: createDeployDlmmPoolTxParams()

createDeployDlmmPoolTxParams(params): TxParams

Defined in: transactions/deploy-dlmm-pool.ts:24

Creates a transaction parameters for deploying a DLMM pool

Parameters​

params​

Parameters for the transaction

baseFee​

bigint

Base fee

bps​

bigint

Basis points for price calculation

dynamicFeeFactor​

bigint

Dynamic fee factor

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

timeDecay​

bigint

Time decay value (must be > timeFilter)

timeFilter​

bigint

Time filter value (must be >= 0)

token0PoolWalletAddress​

Address

Address of the token0 pool wallet

token1PoolWalletAddress​

Address

Address of the token1 pool wallet

Returns​

TxParams

Transaction parameters