From f5d7c0a757b0ceaee3bbc584e77ef9ce043fabe3 Mon Sep 17 00:00:00 2001 From: Daniel Simon Date: Mon, 15 Apr 2024 08:05:06 +0400 Subject: [PATCH] feat: temporarily unlimit annual interest rate --- contracts/src/Dependencies/LiquityBase.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/src/Dependencies/LiquityBase.sol b/contracts/src/Dependencies/LiquityBase.sol index 950b6d1a..399a379a 100644 --- a/contracts/src/Dependencies/LiquityBase.sol +++ b/contracts/src/Dependencies/LiquityBase.sol @@ -33,7 +33,8 @@ contract LiquityBase is BaseMath, ILiquityBase { uint256 public constant MIN_NET_DEBT = 1800e18; // uint constant public MIN_NET_DEBT = 0; - uint256 public constant MAX_ANNUAL_INTEREST_RATE = 1e18; // 100% + // TODO: decide on a maximum value, or remove the limit + uint256 public constant MAX_ANNUAL_INTEREST_RATE = type(uint256).max; uint256 public constant PERCENT_DIVISOR = 200; // dividing by 200 yields 0.5%