Last updated 1 year ago
cache + updateState + get health factor
_calculateDebt
validateLiquidationCall
getConfigurationData
calculateAvailableCollateralToLiquidate
setBorrowing
setUsingAsCollateral
_burnDebtTokens
updateInterestRates
updateIsolatedDebtIfIsolated
liquidate/burn collateral
liquidation fee
Wrap-up
Liquidation fee is taken from the user and transferred to treasury.
ATokens are transferred to the treasury as liquidation fee.
validate is set to false, so no HF check is done.