-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
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
Add HDX chainlink oracle adapter #993
Comments
We have a similar issue supporting other use cases, we should possible merge them: #874 |
These are 2 different (quasi-opposite) issues. In this one we need to export HDX price to EVM in compatible manner to be able to use it in money market. In the other one we want to use our EVM oracles and merge with our on-chain oracles to improve the existing on-chain checks |
precompile will emulate mainly precompile address will be encoded asset id pair, source and duration and we have to make sure there is fake code in storage for those |
bonus: refactor the way how we register oracles - see moonbeam one, its way cleaner and more safe as you explicitly define all precompile params https://github.com/moonbeam-foundation/moonbeam/blob/f9cde1f74a19cb7fb748e89784ee253136bdebf3/runtime/moonbeam/src/precompiles.rs#L126-L125 |
We need to add oracle for money market to accept HDX
The text was updated successfully, but these errors were encountered: