• Preview withdrawing collateral (core previewWithdrawCollateral, MK-042).

    Refused outright in Recovery Mode, not merely limited: _requireNoCollWithdrawal (BorrowerOperations.sol:1270) permits no amount at all, so there is no smaller number that works. The reason is COLLATERAL_WITHDRAWAL_IN_RECOVERY_MODE rather than a ratio.

    Render capacityAfter beside the verdict (MK-242): a withdrawal can permanently lower the Trove's borrowing capacity, adding the collateral back does not restore it, and capacityAfter.recovery is the refinance fee and rate change that would.

    Parameters

    • __namedParameters: { amount: undefined | bigint; owner: undefined | `0x${string}` }

    Returns UseQueryResult<AdjustPreview, Error>