The ixWithdraw instruction burns Senior or Junior LP shares and withdraws SY from the market. Use this when your integration wants SY output directly.
Usage
Parameters
Behavior
The instruction:
- Syncs market NAV against the current SY exchange rate.
- Validates the selected tranche and lifecycle state.
- Calculates the SY claim for the burned LP shares.
- Burns LP shares and transfers SY to
tokenDst.
A Junior withdrawal can fail with a coverage error if the post-withdraw utilization would exceed the allowed threshold.