Skip to main content

createDeployPoolTxParams

@foprta/sdk


@foprta/sdk / createDeployPoolTxParams

Function: createDeployPoolTxParams()

createDeployPoolTxParams(params): TxParams

Defined in: transactions/deploy-pool.ts:18

Creates a transaction parameters for deploying a pool

Parameters

params

Parameters for the transaction

bps

bigint

Basis points for fee calculation

initialPrice

number

Initial price of the pool

lpFee

bigint

Liquidity provider fee

seedCell

Cell

Seed cell for the pool

token0PoolWalletAddress

Address

Address of the token0 pool wallet

token1PoolWalletAddress

Address

Address of the token1 pool wallet

Returns

TxParams