File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,7 @@ contract UFragmentsPolicy is Ownable {
5454 // (eg) An oracle value of 1.5e18 it would mean 1 Ample is trading for $1.50.
5555 IOracle public marketOracle;
5656
57- /// @custom:oz-renamed-from
58- /// @notice DEPRECATED.
59- /// @dev This variable is NOT being used anymore.
60- /// This used to store the CPI value at the time of launch to scale the incoming target
61- /// and infer the price target. However, now the update CPI oracle returns the price target.
57+ /// @custom:oz-renamed-from baseCpi
6258 uint256 private baseCpi_DEPRECATED;
6359
6460 // If the current exchange rate is within this fractional distance from the target, no supply
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ task('prep:upgrade:policy')
120120 )
121121 const newFactory = await hre . ethers . getContractFactory ( 'UFragmentsPolicy' )
122122
123- // await upgrades.forceImport(args.address, prevFactory)
123+ // const prevImpl = await upgrades.forceImport(args.address, prevFactory)
124124 await upgrades . validateUpgrade ( args . address , newFactory )
125125 const newImpl = await upgrades . prepareUpgrade ( args . address , newFactory )
126126 console . log ( 'New implementation at:' , newImpl )
You can’t perform that action at this time.
0 commit comments