Skip to content

Commit

Permalink
fix: Improve readability of LiquidationLogic constants
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Jan 4, 2022
1 parent 1358948 commit 79896d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/protocol/libraries/logic/LiquidationLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ library LiquidationLogic {
bool receiveAToken
);

uint256 internal constant DEFAULT_LIQUIDATION_CLOSE_FACTOR = 5000;
uint256 public constant MAX_LIQUIDATION_CLOSE_FACTOR = 10000;
uint256 internal constant DEFAULT_LIQUIDATION_CLOSE_FACTOR = 5e3;
uint256 public constant MAX_LIQUIDATION_CLOSE_FACTOR = 1e4;
uint256 public constant CLOSE_FACTOR_HF_THRESHOLD = 0.95e18;

struct LiquidationCallLocalVars {
Expand Down

0 comments on commit 79896d5

Please sign in to comment.