liquidationCall(address,address,address,uint256,bool) :
This function performs a liquidation call, allowing a user's debt to be covered by their collateral assets. It calculates the maximum amount of debt that can be liquidated, the maximum amount of collateral that can be used, and updates the user's debt and collateral balances accordingly. If the user's debt is fully covered, their collateral may be disabled as collateral.
(autogenerated documentation)
_calculateAvailableCollateralToLiquidate(address,address,uint256,uint256) :
This function calculates the available collateral to liquidate a debt position, based on asset prices and user balances.
(autogenerated documentation)