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.
Documentation Index
Fetch the complete documentation index at: https://docs.loopscale.com/llms.txt
Use this file to discover all available pages before exploring further.
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