Skip to content

Commit b2f7aa0

Browse files
authored
updated variable ordering (#120)
1 parent b874710 commit b2f7aa0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/UFragmentsPolicy.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ contract UFragmentsPolicy is Ownable {
4545
// (eg) An oracle value of 1.5e18 it would mean 1 Ample is trading for $1.50.
4646
IOracle public marketOracle;
4747

48+
// CPI value at the time of launch, DECIMALS Fixed point number
49+
uint256 private baseCpi;
50+
4851
// If the current exchange rate is within this fractional distance from the target, no supply
4952
// update is performed. Fixed point number--same format as the rate.
5053
// (ie) abs(rate - targetRate) / targetRate < deviationThreshold, then no supply change.
@@ -73,9 +76,6 @@ contract UFragmentsPolicy is Ownable {
7376
// MAX_SUPPLY = MAX_INT256 / MAX_RATE
7477
uint256 private constant MAX_SUPPLY = ~(uint256(1) << 255) / MAX_RATE;
7578

76-
// CPI value at the time of launch, DECIMALS Fixed point number
77-
uint256 private baseCpi;
78-
7979
/**
8080
* @notice Anyone can call this function to initiate a new rebase operation, provided more than
8181
* the minimum time period has elapsed.

0 commit comments

Comments
 (0)