The loan pays for its own liquidation. No privileged keeper, no signature, no 5% liquidator bonus.
Three layers, three sponsor stacks: Ethereum Foundation (frame transactions, alternative mempool), Uniswap Foundation (v4 hooks) and 1inch (Aqua, SwapVM). Press Present, then use the arrow keys; Esc exits.
Existing designs “sell excessive amounts of discounted collateral at the borrowers' expense.”
A liquidator does six jobs. Autolysis gives each one to the market itself, or to someone already paid for it.
| # | Liquidator's job | What replaces it in Autolysis |
|---|---|---|
| 1 | Watch positions | Anyone can broadcast; it costs nothing, because the account pays gas. |
| 2 | Sign and send | No key; the account's VERIFY frame is the authorization. |
| 3 | Bring capital | Not needed; the market sells collateral it already holds. |
| 4 | Pay gas | Prefunded ETH tank, refilled from collateral, capped at 0.3% of what's sold. |
| 5 | Hold collateral and price risk | Aqua makers and a backstop buy at the oracle price for a spread. |
| 6 | Act fast | Liquidatable from HF < 1; one nonce key per position, so many can be pending at once. |
Step through one liquidation. The active layer lights up below.
{{ cur.detail }}
The market's contract account is the sender and gas payer.
The market's venue settles collateral first, then swaps through the official PoolManager.
Everyone else sees an ordinary pool.
Frame transaction validation-prefix simulation failed: StorageReadNonSender
Validation reads market and oracle storage, which the canonical rules forbid.
The account is a staked entity (0.012 ETH).
Keyed-nonce transactions where the sender pays for itself aren't capped per sender, so a crash can have many liquidations pending at once.
See the included transaction, block 2865This applies to Aave v3, Aave v4 and Autolysis alike.
At these inputs, Autolysis repays ≈ {{ c.ar }} for ≈ {{ c.lo }}–{{ c.hi }}. Aave v3 pays a liquidator {{ c.v3p }}; Aave v4 pays {{ c.v4p }}. That is most of the 5%, net.
Costs move, they don't disappear: borrowers still pay gas, the spread and slippage, just not the bonus.
Every claim on this page has a row here, with its status spelled out.
| Before → after | Before | After |
|---|---|---|
| Health factor | 0.960 | 1.055 |
| Debt (USDC) | 0.1500 | 0.0936 |
| Collateral (WETH) | 0.1000 | 0.0686 |
| Hook tokens / claims | 0 / 0 | 0 / 0 |
| Gas billed from collateral to the account | 0.0000939 WETH | |
0x91233f…39cd400x1e5a93…2fed4b| Design | What it does | How Autolysis relates |
|---|---|---|
| Aave v4 Dec 2025 design | Sells only to a target HF. Still pays a third party a ~4–5% bonus. Source | Credited: the “sell to target” idea. |
| Morpho pre-liquidation | Gradual close factor before full liquidation. | Credited: our gradual close-factor schedule, 10% at HF 1.00 rising to 100% at 0.95. |
| DeFi Saver automation | Opt-in bots; 0.05% fee plus gas (fees). Reports protecting $446M of Aave v3 collateral in one selloff (report). | Proves demand. But it's run by one operator; Autolysis is a property of the market itself, with no operator. |
| Aave repay-with-collateral | The borrower repays debt using their collateral. | Needs the borrower awake and signing. |
| Autolysis | Sells to a target HF through the market's own account. No third-party bonus, no operator, no borrower signature. | Gas, spread and slippage remain. Most of the 5%, net, stays with the borrower. |
Liquidation is DeFi's most important safety mechanism and its most extractive one. Aave has processed 310,000+ liquidations worth ~$4.65B, and outside bots are paid a bonus of about 5% of the debt, at the worst moment for the borrower.
Qin et al. (2021) found 74% of fixed-spread liquidations paid above-average transaction fees, and that existing designs “sell excessive amounts of discounted collateral at the borrowers' expense.”
Liquidators were a workaround for loans that couldn't act on their own. Each of their six jobs (watch, sign, bring capital, pay gas, hold price risk, act fast) has a replacement inside the market; see the insight table. The bonus pays for work the market can now do itself.
Anyone. Broadcasting costs nothing, because the account pays. The borrower's app, a watcher or any node can do it; builders are paid by the priority fee. So: no privileged keeper, not no keeper.
No. Gas, spread and slippage remain; we quote net savings. Autolysis removes most of the 5%, net. Try the cost calculator.
Not in the same transaction. EIP-8141 charges the max cost at approval, so the account keeps a prefunded tank, refilled from collateral afterwards.
The Aqua and backstop tiers fill at the oracle price. Only the curve tier can be moved, and at most to the 1% minOut floor.
Lender fallback: below HF 0.95, after 3 rounds with no self-liquidation, a classic 5% liquidation opens to anyone. An invariant proves it never pre-empts self-liquidation.
VERIFY checks the round, the band, two-price health and the fee cap. At most one failed attempt is billed per price round per position.
Autolysis is built on EIP-8141 frame transactions: the account's VERIFY frame is the authorization and the account is both sender and gas payer, so no key signs. Its validation reads market and oracle storage, which the ERC-8421 alternative mempool admits from a staked account.
[TBD] Direct comparison with ERC-4337.
The hook sits inside the official PoolManager's swap path. BackstopHook authorizes on the swap's sender (never hookData) and uses beforeSwapReturnDelta to fill at the oracle price, while everyone else sees an ordinary pool.
Aqua makers' USDC stays in their wallets, and one balance backs every market. Our LiquidationGate opcode lets an order fill only when the hook is the taker during a liquidation, so makers quote at the oracle price for a spread without exposing their orders to anyone else.
The position must be unhealthy at both the cited and the latest round, within a 0.5% band. A breaker needs two rounds for moves over 10%.
A proposed rule (EXO-010): a narrowly scoped ERC-8421 reputation rule. An invalidation caused by an outside state change the sender didn't cause, such as an oracle round moving or the borrower repaying, shouldn't count against the sender. Malformed or self-caused invalidations still count.
No. EIP-8141 and ERC-8421 are drafts on an experimental devnet. The Uniswap and Aqua parts run against official contracts on a Unichain mainnet fork.
Autolysis is a liquidation route, not a new lending protocol. Any market implementing ISelfLiquidatingMarket can adopt it. Our demo market is deliberately minimal.
EIP-8141 and ERC-8421 are drafts on an experimental devnet.
The account holds ETH up front; collateral refills it afterwards.
On the curve tier, the last-resort fill.
One collateral asset in the demo market.
Backstop liquidity is opt-in.
Below HF ~0.81, bad debt appears under any design.