Inputs to previewAdjustTrove. All four default to zero.

interface PreviewAdjustParams {
    addCollateral?: bigint;
    increaseDebt?: bigint;
    owner: `0x${string}`;
    repayDebt?: bigint;
    withdrawCollateral?: bigint;
}

Properties

addCollateral?: bigint

BTC wei to add. Mutually exclusive with withdrawCollateral (:1367-1375).

increaseDebt?: bigint

MUSD to draw. Mutually exclusive with repayDebt.

owner: `0x${string}`

The Trove owner.

repayDebt?: bigint

MUSD to repay. Mutually exclusive with increaseDebt.

withdrawCollateral?: bigint

BTC wei to withdraw. Mutually exclusive with addCollateral.