-
Notifications
You must be signed in to change notification settings - Fork 22
Pyth v1 #193
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
Merged
Merged
Pyth v1 #193
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brimigs
approved these changes
Jun 6, 2023
* Add LSD price source. * Split PriceSource to Unchecked and Checked. * LSD fmt. * Query LSD price. * Fix tests. * Add tests for LSD. * Update schema. * Apply comments from review.
* Add decimals for Pyth prices. * Update schema. * Fix fmt. * Fix missing cw dep. * Add base_denom_decimals for price normalization in Pyth. * Add config arg. Change query_price signature. * Move fmt test cases. * Update comment. * Fix clippy. * Update comment. * Use wasm from optimizer for integration tests. * Fix pipeline.
* Use price source for usd -> base_denom convertion. * Fix test and update comments. * Fix fmt.
* Bump deps. Fix build. * Migrate Spot / Pool queries to poolmanager. * Use GammQueries for Spot. New PoolManager query is not yet whitelisted.
grod220
approved these changes
Jun 9, 2023
pacmanifold
pushed a commit
that referenced
this pull request
Jul 18, 2023
* Pyth (#183) * Pyth integration. * Add mocks. * Add validation. * Tests. * Add update_config. * Update schema. * Apply review comments. * Update clippy. * MP-2475. Pyth phase 1 aligment. * Implementation for LSD v1 (#190) * Add LSD price source. * Split PriceSource to Unchecked and Checked. * LSD fmt. * Query LSD price. * Fix tests. * Add tests for LSD. * Update schema. * Apply comments from review. * Extract pyth addr to Pyth price source config. * Update decimals (#194) * Add decimals for Pyth prices. * Update schema. * Fix fmt. * Fix missing cw dep. * Add base_denom_decimals for price normalization in Pyth. * Add config arg. Change query_price signature. * Move fmt test cases. * Update comment. * Fix clippy. * Update comment. * Use wasm from optimizer for integration tests. * Fix pipeline. * Improve pyth base dec (#202) * Use price source for usd -> base_denom convertion. * Fix test and update comments. * Fix fmt. * Bump deps (#204) * Bump deps. Fix build. * Migrate Spot / Pool queries to poolmanager. * Use GammQueries for Spot. New PoolManager query is not yet whitelisted. * Bump contract ver and rust-optimizer. * Use old Pool query. * Set version to 1.1.0. * Migrate owner state. (#205) Signed-off-by: Pacman <pacman@apollo.farm>
larry0x
pushed a commit
that referenced
this pull request
Oct 7, 2023
* Add credit manager add to health contract instantiation. * Add nicer msg if no cm set.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.