Skip to content

Commit

Permalink
Merge pull request #117 from morpho-org/docs/constants
Browse files Browse the repository at this point in the history
docs(constants): re-add missing natspec
  • Loading branch information
MerlinEgalite authored Dec 21, 2023
2 parents d57f290 + 4db45ed commit ba2caaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libraries/adaptive-curve/ConstantsLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ba2caaa

Please sign in to comment.