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
(fromreservesData
mapping)increment it by the incoming stable debt amount
assign the updated
isolationModeTotalDebt
to both:reservesData[...].isolationModeTotalDebt
nextIsolationModeTotalDebt

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?