Skip to content
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

dev: update ekubo fetcher #208

Closed
EvolveArt opened this issue Oct 14, 2024 · 0 comments · Fixed by #211
Closed

dev: update ekubo fetcher #208

EvolveArt opened this issue Oct 14, 2024 · 0 comments · Fixed by #211
Assignees

Comments

@EvolveArt
Copy link
Contributor

Ekubo is deprecating their price API, we should update our fetcher to reflect this.

we have this method on a helper contract which returns all prices of the specified tokens in terms of EKUBO, plus EKUBO's address https://github.com/EkuboProtocol/oracle-extension/blob/6f6924d7dd3b1bf9e111c23e24950dd4a0c80d6c/src/price_fetcher.cairo#L33-L36

the deployment address is here https://docs.ekubo.org/integration-guides/reference/contract-addresses

we query it in our quoting service every 5 seconds so that we always have up-to-date prices on anything with an oracle pool https://quoter-mainnet-api.ekubo.org/prices/0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8

@EvolveArt EvolveArt moved this to Todo in Pragma Backlog Oct 14, 2024
@akhercha akhercha self-assigned this Oct 15, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in Pragma Backlog Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants