The ixWrapperWithdraw instruction burns tranche LP shares, withdraws SY from the market, and redeems SY back to the base asset.
Usage
Parameters
Returns
Returns an object with:
ixs - Instructions that perform tranche withdrawal, SY redemption, and flavor-specific pre/post steps
setupIxs - Associated token account setup instructions for LP, SY, and base token accounts
Senior withdrawals are only allowed while the market is Active. Junior withdrawals can run during Active or FixedTermRecovery, but cannot reduce coverage beyond the market’s allowed utilization.