In this file (https://github.com/DjedAlliance/Djed-Solidity/blob/main/src/Djed.sol), we can see that the contract takes an rcMinPrice as a parameter and uses it both as an initial price in line 213 and as a minimum price in line 214. We should modify the contract so that it takes two arguments (rcMinPrice and rcInitialPrice) and uses them accordingly.
We should also modify test files and deployment scripts, so that they are compatible with the new contract.
In this file (https://github.com/DjedAlliance/Djed-Solidity/blob/main/src/Djed.sol), we can see that the contract takes an
rcMinPrice
as a parameter and uses it both as an initial price in line 213 and as a minimum price in line 214. We should modify the contract so that it takes two arguments (rcMinPrice
andrcInitialPrice
) and uses them accordingly.We should also modify test files and deployment scripts, so that they are compatible with the new contract.