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:
- Syncs the market against the current SY exchange rate.
- Validates market state, pause flags, minimum deposit, and capacity.
- Transfers SY into the market escrow.
- Mints LP shares to
tokenLpDst.
Use ixWrapperDeposit if your user starts with the base asset instead of SY.