Skip to main content
The ixDeposit instruction deposits existing SY into the selected tranche and mints Senior or Junior LP shares. Use this when your integration already holds SY and does not need base-asset wrapping.

Usage

Parameters

Behavior

The instruction:
  1. Syncs the market against the current SY exchange rate.
  2. Validates market state, pause flags, minimum deposit, and capacity.
  3. Transfers SY into the market escrow.
  4. Mints LP shares to tokenLpDst.
Use ixWrapperDeposit if your user starts with the base asset instead of SY.