Liquidator
Actions
Check if a collateral vault can be liquidated
/// @notice check if a vault can be liquidated
function canLiquidate() external view returns (bool);Liquidate collateral vault
/// @notice Begin the liquidation process for this vault. /// @dev Liquidation needs to be done in a batch. /// If the vault is liquidatable, this fn makes liquidator the new borrower. /// Liquidator is then responsible to make this position healthy. /// Liquidator may choose to wind down the position and take collateral as profit. function liquidate() external;event T_SetCollateralVaultLiquidated(address collateralVault, address liquidator);
Handle external liquidation
Last updated

