diff --git a/src/PriceOracle.sol b/src/PriceOracle.sol index 5f670f46..f5a685d4 100644 --- a/src/PriceOracle.sol +++ b/src/PriceOracle.sol @@ -28,12 +28,12 @@ contract PriceOracle is AccessControl { uint32 public minimumPriceUpscaled = 24000 << 10; // we upscale it by 2^10 // The priceBase to modulate the price - uint32 public priceBase = 524288; + uint32 public priceBase = 1048576; uint64 public currentPriceUpScaled = minimumPriceUpscaled; // Constants used to modulate the price, see below usage - uint32[9] public changeRate = [524324, 524315, 524306, 524297, 524288, 524279, 524270, 524261, 524252]; + uint32[9] public changeRate = [1049417, 1049206, 1048996, 1048786, 1048576, 1048366, 1048156, 1047946, 1047736]; // Role allowed to update price bytes32 public immutable PRICE_UPDATER_ROLE; diff --git a/test/PriceOracle.test.ts b/test/PriceOracle.test.ts index 674896f4..739cca1b 100644 --- a/test/PriceOracle.test.ts +++ b/test/PriceOracle.test.ts @@ -16,7 +16,7 @@ before(async function () { others = await getUnnamedAccounts(); }); -const changeRate = [524324, 524315, 524306, 524297, 524288, 524279, 524270, 524261, 524252]; +const changeRate = [1049417, 1049206, 1048996, 1048786, 1048576, 1048366, 1048156, 1047946, 1047736]; const roundLength = 152; const errors = { diff --git a/test/Redistribution.test.ts b/test/Redistribution.test.ts index 2c8e8d51..c0c60d22 100644 --- a/test/Redistribution.test.ts +++ b/test/Redistribution.test.ts @@ -38,7 +38,7 @@ const { read, execute } = deployments; const phaseLength = 38; const roundLength = 152; -const increaseRate = [524324, 524315, 524306, 524297, 524288, 524279, 524270, 524261, 524252]; +const increaseRate = [1049417, 1049206, 1048996, 1048786, 1048576, 1048366, 1048156, 1047946, 1047736]; // round anchor after startRoundFixture() const round2Anchor = '0xac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b';