Moonwell liquidation reduces debt and seizes collateral when a borrowing position has a shortfall
Moonwell liquidation lets a liquidator repay part of an undercollateralized loan and seize collateral from the borrower. In Core Markets, the Comptroller checks whether debt exceeds the collateral-adjusted borrowing limit. Falling collateral prices, rising debt values, or accrued interest can erase remaining credit. Low remaining credit signals liquidation risk; a completed liquidation changes debt and collateral records.
A supply balance alone can't explain a borrower's health. The relevant inputs include the collateral that counts toward credit and the debt that remains outstanding. Protocol prices and market parameters determine how those balances relate to the borrowing limit.
When Does a Core Position Become Liquidatable?
A Core Market position becomes eligible for liquidation when its debt value exceeds its collateral-adjusted credit limit. The credit limit sums each enabled collateral position's value multiplied by its market's collateral factor. That factor is the fraction of the asset's value that counts as borrowing power. Each mToken position contributes its underlying asset value through the exchange rate that converts its receipt-token balance. The calculation covers the account's relevant markets under the same Comptroller, which manages their risk settings. Collateral elsewhere doesn't automatically support that loan.
Credit Remaining subtracts total debt value from the credit limit. Its percentage divides that difference by the credit limit, provided the limit is positive. The denominator is borrowing capacity after collateral adjustments, not the full supplied balance. Dollar values and percentages therefore describe the same margin on different scales. A valid
getAccountLiquidity
result separates excess borrowing capacity from shortfall and includes an error code. An error result doesn't establish healthy collateral coverage.
At exact equality, no borrowing headroom remains. The Core liquidation check requires a positive shortfall; zero headroom alone doesn't establish a completed seizure.
Repayment Records and Account Health
A successful repayment lowers the outstanding balance of the selected borrowed asset. The account, network, and debt market identify the obligation that changes. Core credit combines debt across its relevant markets, so repaying one of those borrows can improve the account's aggregate coverage. Repayment in a separate isolated market doesn't reduce that Core debt.
The Markets and Portfolio views provide entry points to repayment for the selected position. For a direct ERC-20 market repayment, the payer needs enough borrowed tokens and a sufficient allowance for the market contract. Approval authorizes that spending; it doesn't repay debt. Submission leaves the outcome pending, while successful execution establishes the actual repayment. The resulting borrow balance includes the obligation that remains after that payment. A smaller debt balance alone doesn't establish that changing prices and collateral now leave no shortfall.
Collateral That Actually Supports the Loan
Additional supply supports an endangered Core loan when the supplied position belongs to the relevant account and qualifies as collateral. An unsupplied underlying asset held in a wallet contributes nothing until it enters the appropriate supplied collateral position. Supplies on another network or under another account don't automatically join the affected account's credit calculation.
A zero collateral factor contributes no borrowing power, even when the supplied asset has a positive market value.
Adding collateral also requires a market that accepts the deposit. Supply caps or paused deposits can block that response. The amount of borrowing power that a successful supply adds follows the market's active collateral factor. Removing a collateral designation faces a separate restriction: the protocol rejects the change if it would leave insufficient coverage for an existing loan.
Why Can Credit Shrink Without a New Borrow?
Credit Remaining can shrink without a new borrow because prices, accrued interest, and collateral settings change the relationship between collateral and debt. A falling collateral price reduces the value supporting the loan. A rising borrowed-asset price increases debt's measured value, even when its token quantity stays unchanged. The protocol's oracle prices govern that comparison.
Borrow interest increases the amount owed over time. Its rate changes with borrowing demand and the market's interest-rate model, so an earlier rate doesn't fix the future growth of debt. Core loans don't have a scheduled maturity date, but continuing interest can consume unused credit. Lending interest on supplied collateral doesn't establish that it will offset the borrow's changing value.
A lower collateral factor reduces borrowing power even when prices and token balances remain unchanged.
A Response to a Shrinking Credit Margin
Consider an existing Core loan that shows a shortfall after its collateral loses value. Its earlier record showed debt within the adjusted limit; its latest record shows debt exceeding it. The relevant correction must reduce that debt or increase the eligible collateral supporting it. A repayment remains distinct from an additional supply. If the chosen collateral market has paused deposits or reached its supply cap, adding that asset may be unavailable. The debt-reduction route requires the borrowed asset and a repayment against the affected obligation.
- Match the account, network, debt market, and enabled collateral to the loan showing the shortfall.
- If reducing debt, use the borrowed asset for repayment against that obligation.
- If adding collateral, confirm that the market accepts supply and that the position counts toward the loan.
- Compare the confirmed balance change with the updated Credit Remaining.
- If a liquidation executes first, reassess the remaining debt and collateral before another intervention.
The correction restores coverage when the updated account has no shortfall and positive remaining credit. If the shortfall persists, the action hasn't restored coverage. A pending repayment doesn't stop a liquidator from executing first.
The Liquidator's Repayment and Collateral Seizure
A liquidator repays a Core borrow with the borrowed asset and receives collateral mTokens through seizure. Those mTokens represent part of the borrower's supplied position. Repayment reduces debt, while seizure reduces the collateral position. The borrower doesn't approve each liquidation once the position qualifies.
The contract validates the account condition and the selected markets before completing the operation. The repayment must fit the allowed close amount, and the borrower must hold enough of the selected collateral for the seizure. A price decline or unhealthy account display doesn't itself prove that these actions have occurred.
Close Factors and Seizure Value
The close factor limits the fraction of the selected borrow that one liquidation may repay. Its denominator is outstanding debt in that borrowed market, not the combined value of supplied collateral.
The June 16, 2026 Credit Limits and Liquidations guidance describes a 50% cap on borrow repayment per event. The active Comptroller setting determines the cap that applies during execution. Governance can change that setting. A limit on one event doesn't cap losses across subsequent eligible liquidations.
Seizure value also reflects the applicable liquidation incentive. The calculation applies its multiplier to the amount actually repaid, converting between the borrowed asset and collateral using oracle prices. The collateral market's exchange rate then determines the mToken quantity. The unrepaid portion of the loan isn't the repayment base for that seizure.
A partial liquidation can leave an outstanding borrow. Further events remain possible while the position has a shortfall.
Evidence of a Completed Liquidation
A completed Core liquidation emits a
LiquidateBorrow
event identifying the borrower, liquidator, actual repayment, collateral market, and seized mTokens. The event associates a specific debt repayment with a specific collateral seizure. A repayment event alone can also reflect a voluntary payment, so it doesn't establish liquidation.
Debt quantities and collateral quantities use different units. The actual repayment measures the borrowed asset; seized tokens measure the collateral mToken position. Converting mTokens into underlying collateral requires the relevant exchange rate. Comparing their values also requires the asset prices used for the operation. Identical raw numbers aren't an expected reconciliation result.
Later interest accrual or another liquidation can change balances again. An event's execution record explains that event; today's balance includes subsequent activity.
Does a Failed Withdrawal Prove That Liquidation Occurred?
A failed withdrawal doesn't prove that liquidation occurred, because insufficient market liquidity or collateral requirements can independently block it. A Core market may lack enough unborrowed assets to return the requested supply even when the supplier's borrowing position has no shortfall. Market liquidity measures available tokens, while account credit measures collateral coverage.
A collateral restriction can also reject a withdrawal that would make a loan undercollateralized. That rejection prevents the requested removal; it doesn't establish that a liquidator seized anything. Repayment can release collateral from a loan requirement without ensuring that the market has enough liquidity for its withdrawal.
Core Credit, Isolated Debt, and Remaining Exposure
Moonwell's isolated Morpho borrowing positions have their own market-specific health calculation. Loan-to-value compares debt value with collateral value. A Morpho position becomes liquidatable when that ratio exceeds its market's liquidation loan-to-value, or LLTV. Its credit doesn't combine with Core Market credit, and Core close-factor settings don't automatically describe its liquidation rules.
A vault depositor supplies assets through a lending vault instead of taking the underlying borrowers' loans. Liquidations and bad debt in those underlying markets concern the vault's lending exposure. They don't turn the depositor into the borrower whose collateral backs the loan.
After a Core liquidation, remaining debt determines whether the borrower still needs collateral coverage. Fully repaying one borrow removes that obligation, while other borrows can continue to depend on the remaining supply. An account that only supplies and never borrows isn't subject to borrower liquidation, although smart contract risk remains. With debt outstanding, the next decision concerns repayment or continued collateral backing; with no debt, withdrawal still depends on market liquidity.
Popular questions about Moonwell liquidation
-
Will Moonwell Give Me Time to Respond Before Liquidation?
- Moonwell provides no grace period once a position becomes eligible for liquidation. The app displays Credit Remaining, but that display doesn't reserve time for a borrower to react. Permissionless liquidators can act on an eligible position. A reminder or wallet notification therefore can't establish that collateral will remain untouched while a repayment is being prepared.
-
Do Unclaimed Rewards Count Toward My Collateral Buffer?
- Unclaimed incentive rewards don't automatically increase supplied collateral or repay outstanding debt. Rewards accrue separately from the base interest represented by a Core mToken position. Even claimed rewards held in a wallet don't automatically enter the credit calculation. Their value can affect loan coverage only through an applicable action, such as repayment with the borrowed asset or supply as eligible collateral.
-
Can I Transfer Collateral mTokens to Escape Liquidation?
- A Core collateral transfer can't bypass the account's collateral check. The Comptroller tests whether transferring the mTokens would leave a shortfall, using the same collateral restriction that applies to redemption. It rejects a transfer that would leave insufficient coverage. The mTokens' ERC-20 format doesn't make required collateral freely removable while a loan relies on it.
-
Why Did My Contract Transaction Confirm Without Reducing the Loan?
- Some Core mToken failures return an error code without reverting the transaction. A receipt showing that the transaction executed therefore doesn't always establish a successful repayment. Direct integrations need to inspect returned errors and repayment records, as well as reverts. An approval transaction can also confirm successfully while leaving debt unchanged, because it only authorizes token spending.
-
Does a Market Borrow Cap Define My Liquidation Threshold?
- A market borrow cap limits aggregate borrowing from that market, while liquidation eligibility concerns the collateral coverage of a particular position. Reaching the cap can prevent another borrow without proving that an existing borrower has a shortfall. A borrower's account can also become undercollateralized before the market reaches its cap. The cap doesn't substitute for the account's credit calculation.
-
Can Someone Else Repay My Moonwell Debt Without Taking Collateral?
- Moonwell's Core ERC-20 markets support repayment on behalf of another borrower through repayBorrowBehalf. The payer provides the market's underlying borrowed asset and the required spending allowance. This repayment doesn't itself grant a right to seize collateral; liquidation uses a different operation. The borrower and debt market specified by the call determine which obligation the payment reduces.
-
Why Can a Liquidator Receive Less Collateral Than My Account Loses?
- The collateral market can allocate part of the seized position to protocol reserves, leaving fewer mTokens for the liquidator. When a liquidation runs through the collateral asset's registered ChainlinkOEVWrapper, the wrapper additionally splits profit between the caller and the configured fee recipient. The configured share applies to liquidation profit, not the entire seized position. The borrower's debt reduction corresponds to the actual repayment; the collateral distribution accounts for separate allocations.
Updated on