Function increaseLiquidityQuoteB
- increaseLiquidityQuoteB(
token_amount_b: bigint,
slippage_tolerance_bps: number,
current_sqrt_price: bigint,
tick_index_1: number,
tick_index_2: number,
transfer_fee_a?: null | TransferFee,
transfer_fee_b?: null | TransferFee,
): IncreaseLiquidityQuote Parameters
- token_amount_b: bigint
- slippage_tolerance_bps: number
- current_sqrt_price: bigint
- tick_index_1: number
- tick_index_2: number
Optional
transfer_fee_a: null | TransferFeeOptional
transfer_fee_b: null | TransferFee
Calculate the quote for increasing liquidity given a token b amount
Parameters
token_amount_b
- The amount of token b to increaseslippage_tolerance
- The slippage tolerance in bpscurrent_sqrt_price
- The current sqrt price of the pooltick_index_1
- The first tick index of the positiontick_index_2
- The second tick index of the positiontransfer_fee_a
- The transfer fee for token A in bpstransfer_fee_b
- The transfer fee for token B in bpsReturns