IPrimaryLendingPlatformLiquidation
Overview
License: MIT
Functions info
liquidate (0xb44055fc)
The function to be called when a user wants to liquidate their position. Support liquidation with hot borrowing or not.
Parameters:
liquidateFromModerator (0xc8359268)
The function to be called when a user wants to liquidate their position. Support liquidation with hot borrowing or not.
Parameters:
getLiquidationAmountWithUpdatePrices (0x02dfa5d4)
Returns the minimum and maximum liquidation amount for a given account, project token, and lending token after updating related token's prices.
Formula:
MinLA = min(MaxLA, MPA)
MaxLA = (LVR * CVc - THF * LVc) / (LRF * LVR - THF)
Parameters:
Return values:
Last updated