Skip to main content

createWrapperProvideLiquidityInstruction

Provides liquidity to a CLMM market starting from base assets in a single atomic operation. This instruction mints SY from the base asset, strips the SY into PT and YT via the Exponent core program, deposits the PT as liquidity into the specified tick range, and returns the YT tokens to the depositor.

Usage

Accounts

Args

Returns

TransactionInstruction — a transaction instruction ready to be added to a transaction.