ixDepositLiquidity method on the MarketThree class creates a new LP position by depositing PT and SY tokens within a specified APY range.
This is a low-level method that requires you to already hold PT and SY tokens. To provide liquidity from base assets (e.g., USDC), use
ixWrapperProvideLiquidity or ixProvideLiquidityClassic instead.Usage
Required Parameters
Optional Parameters
Returns
Returns an object with:ix— TheTransactionInstructionthat deposits liquiditysigners— The LP positionKeypair(must be included when signing)