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

USDM, wUSDM, sDAI feeds and new CurveFi price source #760

Merged
merged 8 commits into from
Mar 13, 2024
Merged

Conversation

0xSpuddy
Copy link
Contributor

@0xSpuddy 0xSpuddy commented Mar 12, 2024

Changes proposed to add feeds and a new source for pulling prices from curve. @akremstudy asking for your review on the new curvefiprice source. (logic / magic in the get_price function)

It's a different curve api from the one we integrated years ago: https://docs.curve.fi/curve-api/curve-prices/

The feeds are working the way we want, but thinking we should consolidate these sources (the curves and the uniswaps at least) and make more universal at some point in the future too.

@0xSpuddy 0xSpuddy requested a review from akremstudy March 12, 2024 18:08
Copy link
Collaborator

@akremstudy akremstudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @0xSpuddy1
the curve apis are using two different endpoints and one allows for other currencies besides usd if they support the asset.

@0xSpuddy
Copy link
Contributor Author

Amazing @akremstudy thank you 🙏

@0xSpuddy 0xSpuddy merged commit ab5d436 into main Mar 13, 2024
4 checks passed
@0xSpuddy 0xSpuddy deleted the improve_sources branch March 13, 2024 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants