From 4db45edaf4c774a1bdde1fb05163400c2627ce77 Mon Sep 17 00:00:00 2001 From: Rubilmax Date: Thu, 21 Dec 2023 09:23:11 +0100 Subject: [PATCH] docs(constants): re-add missing natspec --- src/libraries/adaptive-curve/ConstantsLib.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libraries/adaptive-curve/ConstantsLib.sol b/src/libraries/adaptive-curve/ConstantsLib.sol index 38dcb215..a2c09ad8 100644 --- a/src/libraries/adaptive-curve/ConstantsLib.sol +++ b/src/libraries/adaptive-curve/ConstantsLib.sol @@ -10,6 +10,8 @@ library ConstantsLib { int256 public constant CURVE_STEEPNESS = 4 ether; /// @notice Adjustment speed per second (scaled by WAD). + /// @dev The speed is per second, so the rate moves at a speed of ADJUSTMENT_SPEED * err each second (while being + /// continuously compounded). /// @dev Adjustment speed = 50/year. int256 public constant ADJUSTMENT_SPEED = 50 ether / int256(365 days);