We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
I would like to work on this issue
Sorry, something went wrong.
adding readMaxPrice() and readMixPrice() in Oracle interface (#23)
a54c589
Issue: #21
Thanks, @keshav-nischal !
No branches or pull requests
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.The text was updated successfully, but these errors were encountered: