Liquidation Bots
Overview
Understanding On-Chain Liquidation
When to Use On-Chain Contracts
Approach
Best For
The Liquidation Entry Point
Checking Liquidatability
Health Factor Check
Expiration Check
Building Liquidation Multicalls
Basic Swap Pattern
Multi-Collateral Pattern
Simple Liquidation Contract
Flash Loan Liquidation
Gotchas
Approve to Credit Manager, Not Facade
Gas Costs Scale with Token Count
Race Conditions
exactAllInputSingle vs exactInputSingle
Next Steps
Last updated
