Closed ceilican closed 7 months ago
See #20 for context.
The current oracle interface (https://github.com/DjedAlliance/Djed-Solidity/blob/main/src/IOracle.sol) assumes that the oracle provides only one price.
But Djed Shu needs an oracle that provides two prices.
Therefore, we need to do the following:
IOracle.sol
IOracleShu.sol
readData
readMaxPrice
readMinPrice
I would like to work on this issue
Thanks, @keshav-nischal !
See #20 for context.
The current oracle interface (https://github.com/DjedAlliance/Djed-Solidity/blob/main/src/IOracle.sol) assumes that the oracle provides only one price.
But Djed Shu needs an oracle that provides two prices.
Therefore, we need to do the following:
IOracle.sol
and rename it toIOracleShu.sol
IOracleShu.sol
, replace the singlereadData
function by areadMaxPrice
and areadMinPrice
functions.