Aave v3-v4 liquidation bot

Thanks for publishing the traced numbers. The retained-value figure is the useful part and it is rarely shown.

On whether bots are profitable: I think the answer depends on which liquidator you mean. Aave sets one bonus parameter, and it serves two populations with very different cost structures.

An atomic liquidator flash-loans the debt, repays, sells, and closes in one transaction. Its warehouse holding period is zero, so it has no multi-day funding, capital-hurdle, hedge-carry, or recovery exposure. It still pays the protocol fee, flash-loan fee, gas, swap slippage, and auction bid.

Your WETH/USDT trace makes that decomposition unusually clear. Against the reported $11,809 debt covered, the $614.56 gross bonus is 5.20% on a debt-relative basis. After the exit swap, the winner withdrew $531.90 and paid $530.10 to the builder. The builder payment was therefore 99.66% of post-execution value, but 86.26% of the gross bonus. The competition is for post-execution value, not for a costless gross bonus.

For comparison, the 6% wstETH liquidation bonus has a theoretical no-carry break-even slippage of 6% / 1.06 = 5.66% before protocol fees, gas, financing fees, and an auction payment. That is the wstETH parameter used below, not the bonus in the WETH/USDT trace.

A warehouse liquidator is a different business: real capital, collateral held and hedged, exit over days through DEX depth or primary redemption. I published a balance sheet for that case on mainnet wstETH, where the position is $256.52m against $2.73m of instant routed depth inside the 6% bonus, about four orders of magnitude above the operation you traced. The canonical run assumes 10% annual funding, a separate 10% capital hurdle, 0.1% hedge entry, 2% annual hedge carry, 1% DEX execution loss, a 4% canonical recovery loss, and illustrative redemption throughput of $25m/day after 24 hours:

route                                 exit horizon   minimum bonus
optimized route (100% redemption)        11.3d            4.66%
quiet DEX only                           30.1d            6.29%
stressed DEX only                       241.9d           13.49%

Method, commands, and manifests: aave-risk-engine/docs/results.md at v0.3.0 · BianchiGiacomo/aave-risk-engine · GitHub

The fixed bonus can therefore leave auctionable surplus on a small atomic clear while being marginal or insufficient for a position that requires multi-day capital. The two examples use different collateral pairs and should not be read as a like-for-like profitability comparison.

That matters for how auction data should be read. An auction clearing with near-zero retained value tells you the atomic population is competitive. It does not tell you whether a warehouse liquidator would show up for a position that cannot be cleared in one block. The observed auction samples an opportunity that was atomically executable; it does not test multi-day balance sheet capacity.

It also raises a question I have not tested. The value targeted by OEV recapture remains after an atomic liquidator pays its execution costs, and competition can auction most of that residual away. At sizes where the marginal liquidator has to carry the position for days, the same spread is compensation rather than rent.

Chainlink’s risk-adjusted SVR analysis already recognizes this size effect by applying a lower assumed capture rate to the top decile of liquidation OEV. Exit horizon and required capital could make that adjustment more directly economic than a value percentile alone. One way to state the design problem is: maximize OEV recapture subject to preserving reliable liquidation participation across size and exit horizon.

@RaoulSchipper-CLL, can public SVR or Atlas auction data connect bid retention to liquidation notional and execution route closely enough to estimate that boundary?


Independent research, unaffiliated with Aave Labs, the DAO, or any service provider. Everything above is reproducible from the linked manifests.

2 Likes