update IsolationMode debt
Overview

The bool isolationModeAction was retrieved earlier, from getIsolationModeState.
If isolationModeAction is true, this implies that the incoming borrow action is an isolated borrow as well.
get current
isolationModeTotalDebt(fromreservesDatamapping)increment it by the incoming stable debt amount
assign the updated
isolationModeTotalDebtto both:reservesData[...].isolationModeTotalDebtnextIsolationModeTotalDebt

On decimals:
The amount is divided by to standardise amount into the number of units of assets.
I.e.: amount (in wei)/ = amount (in units of asset)
Last updated
Was this helpful?