getConfigurationData
Overview
Execution flow
getConfigurationData
get liquidation bonus of collateral from its ReserveData struct:
liquidationBonus
get oracle addresses for both debt and collateral assets:
collateralPriceSource
,debtPriceSource
If user is in some E-mode category
get
eModePriceSource
-> if defined, will overwritedebtPriceSource
that was obtained earlierIf user's e-mode and collateral e-mode categories match:
overwrite
liquidationBonus
with the e-mode's liquidation bonusif
eModePriceSource
is defined, overwritecollateralPriceSource
that was obtained earlier
Last updated