Liquidate Positions
Anyone can build a bot to call a contract to liquidate underwater positions. The party calling the contract, aka liquidator, receives 5% of the liquidated position value as the liquidation fee.
At Camel, we have an in-house bot to perform this function. To avoid a single point of failure, we allow anyone to create a bot.
To liquidate positions, your bot needs to be an EOA bot, and what it has to do is call the kill method in the vault contract.
Last updated
Was this helpful?