getConfigurationData
Last updated
Last updated
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 overwrite debtPriceSource
that was obtained earlier
If user's e-mode and collateral e-mode categories match:
overwrite liquidationBonus
with the e-mode's liquidation bonus
if eModePriceSource
is defined, overwrite collateralPriceSource
that was obtained earlier