Skip to content

Commit

Permalink
Note on TickMath
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenshively committed Sep 11, 2023
1 parent e5a1a41 commit 51671a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/libraries/constants/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ uint256 constant LIQUIDATION_INCENTIVE = 20;
uint256 constant LIQUIDATION_GRACE_PERIOD = 2 minutes;

/// @dev The minimum loan-to-value ratio. Actual ratio is based on implied volatility; this is just a lower bound.
/// Expressed as a 1e12 percentage, e.g. 0.10e12 → 10%
/// Expressed as a 1e12 percentage, e.g. 0.10e12 → 10%. Must be greater than `TickMath.MIN_SQRT_RATIO` because
/// we reuse a base 1.0001 logarithm in `BalanceSheet`
uint256 constant LTV_MIN = 0.10e12;

/// @dev The maximum loan-to-value ratio. Actual ratio is based on implied volatility; this is just a upper bound.
Expand Down

0 comments on commit 51671a5

Please sign in to comment.