Enables safe rebalancing of collateral by withdrawing a selected asset, executing CPIs (e.g. swaps or liquidity provision), and depositing a new asset in its place.
Loan address to modify
Amount and mint of the collateral to withdraw
Collateral to deposit after intermediate steps
Instructions to run between withdrawal and re-deposit
Optional Address Lookup Tables for the transaction
Optional keypairs required to initialize accounts