issues
search
Gearbox-protocol
/
core-v3
Other
28
stars
4
forks
source link
feat: additional credit configuration fixes
#241
Closed
lekhovitsky
closed
3 months ago
lekhovitsky
commented
3 months ago
In this PR:
move params checks from facade to configurator to increase available space and make the code more consistent
prevent further borrowing in the current block after
setDebtLimits
is called
additional constraints on min and max debt are introduced
setMinDebtLimit
and
setMaxDebtLimit
are merged into one function as usually those limits will be changed at the same time due to above constraints
In this PR:
setDebtLimits
is calledsetMinDebtLimit
andsetMaxDebtLimit
are merged into one function as usually those limits will be changed at the same time due to above constraints