PrimaryLendingPlatformLiquidationCore
Overview
License: MIT
abstract contract PrimaryLendingPlatformLiquidationCore is Initializable, AccessControlUpgradeable, ReentrancyGuardUpgradeableStructs info
Ratio
struct Ratio {
uint8 numerator;
uint8 denominator;
}MaxLAParams
struct MaxLAParams {
uint256 numeratorMaxLA;
uint256 denominatorMaxLA;
uint256 calculatedMaxLA;
uint256 maxLACompare;
}Events info
Liquidate
Name
Type
Description
SetPrimaryLendingPlatform
Name
Type
Description
SetMinPartialLiquidationAmount
Name
Type
Description
SetMaxLRF
Name
Type
Description
SetLiquidatorRewardCalculationFactor
Name
Type
Description
SetTargetHealthFactor
Name
Type
Description
SetExchangeAggregator
Name
Type
Description
Constants info
MODERATOR_ROLE (0x797669c9)
LIQUIDATOR_REWARD_FACTOR_DECIMAL (0x150f2191)
BUFFER_PERCENTAGE (0x952038c2)
State variables info
minPartialLiquidationAmount (0x802937ac)
targetHealthFactor (0x254cf439)
liquidatorRewardCalcFactor (0xc9fd7f25)
maxLRF (0x83958352)
primaryLendingPlatform (0x92641a7c)
exchangeAggregator (0x60df4f35)
registryAggregator (0xf38cb29a)
Modifiers info
onlyModerator
isProjectTokenListed
Name
Type
Description
isLendingTokenListed
Name
Type
Description
onlyRelatedContracts
Functions info
initialize (0xc4d66de8)
Name
Type
Description
setMinPartialLiquidationAmount (0x35f67981)
Name
Type
Description
setMaxLRF (0x1ed95f01)
Name
Type
Description
setLiquidatorRewardCalculationFactor (0x3495b179)
Name
Type
Description
setPrimaryLendingPlatformAddress (0xcec5a0b0)
Name
Type
Description
setTargetHealthFactor (0xffac9b50)
Name
Type
Description
setExchangeAggregator (0x3c4841b4)
Name
Type
Description
getCurrentHealthFactor (0xb398f0e7)
Name
Type
Description
Name
Type
Description
getCurrentOutstanding (0x9bfeb5d5)
Name
Type
Description
Name
Type
Description
getTokenPrice (0xc9f7153c)
Name
Type
Description
Name
Type
Description
liquidatorRewardFactor (0x894c4d5b)
Name
Type
Description
Name
Type
Description
getMaxLiquidationAmount (0x7da157b9)
Name
Type
Description
Name
Type
Description
getLiquidationAmount (0x90edd058)
Name
Type
Description
Name
Type
Description
Last updated