Withdraw funds from a target lending vault. If any deposits remain, the previous stake account and reward schedule is deleted and a new one is created.
Wallet address of the withdrawing user
Amount of Principal tokens to withdraw (in lamports)
Maximum number of LP tokens you are willing to accept in exchange for your principal withdrawal, in the event vault loses value between quote and execution
Lending vault address
Set to true to withdraw all available principal (ignores amountPrincipal and maxAmountLp)