Make a liquidation bot!
GLOW Protocol Liquidation Guide
Overview
GLOW Protocol uses the same liquidation system as Gearbox Protocol. When glow accounts become unhealthy (Health Factor < 1.0), they can be liquidated by anyone to maintain protocol stability and earn rewards.
When Can an Account Be Liquidated?
A glow account becomes eligible for liquidation when:
Health Factor < 1.0 - The account's collateral value falls below the liquidation threshold
Health Factor Calculation
Health Factor = (Total Collateral Value × Liquidation Threshold) / Total DebtLiquidation Function
function liquidateCreditAccount(
address creditAccount,
address to,
MultiCall[] calldata calls
) external payable;creditAccount
The address of the glow account to liquidate
to
Address to transfer leftover underlying tokens after liquidation
calls
Array of MultiCall structs to execute during liquidation
Finding Liquidatable Accounts
Using DataCompressor (Recommended)
The DataCompressor contract provides efficient bulk queries to find liquidatable accounts:
Using CreditManager Directly
JavaScript Implementation
Basic Liquidation Strategies
Strategy 1: Convert Collateral to Underlying
Strategy 2: Add Underlying (+ Withdraw Assets, not always needed)
Contract Addresses (PulseChain)
Core Contracts
Data Compressor:
0x9b0c97135ad8bD9B0e41E70b3C1e6c42A24C95ddAddress Provider:
0xd1A5421fe3B8fAEBbDf75370d6d90d7746b5b9A9Account Factory:
0xC5eF5b0Ee3C52B83BA8C8b1d6cB850c72aC5d3eE
Basic Liquidation Bot
Important Notes
Test First: Always test on testnet before mainnet
Account for Slippage: Add 2-5% buffer for DEX trades
Monitor Gas: Ensure profits exceed transaction costs
Competition: Use higher gas prices for time-sensitive liquidations
Risk Management: Start small and understand the mechanics
Resources
GLOW Dashboard: Monitor liquidatable accounts in real-time
Documentation: https://nexion-1.gitbook.io/nexion/glow/glow-protocol
PulseChain Explorer: https://otter.pulsechain.com
If you need more help speak to our dev in telegram http://t.me/Lefkk or join our group @NexionPulse
Last updated