Torque-Money / Dev-Environment

Smart contract dev environment.
GNU General Public License v3.0
1 stars 0 forks source link

Minimum deposit amount #9

Closed BenGOsborn closed 2 years ago

BenGOsborn commented 2 years ago

There should be a minimum amount of collateral required to borrow for each asset, otherwise, there is no real incentive for a liquidator to liquidate them.

BenGOsborn commented 2 years ago

Fixed in a441f7f64476ea63ce9d766d4ef30de60794a79f by adding the option to set a minimum amount of collateral required to borrow against. This way users may still leverage as much as they wish, but they will have to deposit an amount high enough that there is an incentive for a liquidator to liquidate them and free up borrowed collateral.