File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ contract UFragmentsPolicy is Ownable {
45
45
// (eg) An oracle value of 1.5e18 it would mean 1 Ample is trading for $1.50.
46
46
IOracle public marketOracle;
47
47
48
+ // CPI value at the time of launch, DECIMALS Fixed point number
49
+ uint256 private baseCpi;
50
+
48
51
// If the current exchange rate is within this fractional distance from the target, no supply
49
52
// update is performed. Fixed point number--same format as the rate.
50
53
// (ie) abs(rate - targetRate) / targetRate < deviationThreshold, then no supply change.
@@ -73,9 +76,6 @@ contract UFragmentsPolicy is Ownable {
73
76
// MAX_SUPPLY = MAX_INT256 / MAX_RATE
74
77
uint256 private constant MAX_SUPPLY = ~ (uint256 (1 ) << 255 ) / MAX_RATE;
75
78
76
- // CPI value at the time of launch, DECIMALS Fixed point number
77
- uint256 private baseCpi;
78
-
79
79
/**
80
80
* @notice Anyone can call this function to initiate a new rebase operation, provided more than
81
81
* the minimum time period has elapsed.
You can’t perform that action at this time.
0 commit comments