Skip to content

Commit 7267186

Browse files
committed
Add comments about decimal places
1 parent a7a3826 commit 7267186

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contracts/UFragmentsPolicy.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ contract UFragmentsPolicy is Ownable {
4848
// If the current exchange rate is within this fractional distance from the target, no supply
4949
// update is performed. Fixed point number--same format as the rate.
5050
// (ie) abs(rate - targetRate) / targetRate < deviationThreshold, then no supply change.
51+
// 18 decimals.
5152
uint256 public deviationThreshold;
5253

5354
// The rebase lag parameter, used to dampen the applied supply adjustment by 1 / rebaseLag
5455
// Check setRebaseLag comments for more details.
56+
// Natural number, no decimal places.
5557
uint256 public rebaseLag;
5658

5759
// More than this much time must pass between rebase operations.

0 commit comments

Comments
 (0)