-
Notifications
You must be signed in to change notification settings - Fork 22
Mars V2 #326
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
Mars V2 #326
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
Co-authored-by: Gabe Rodriguez <grod220@gmail.com> Co-authored-by: Piotr Babel <piotr.babel@gmail.com> Co-authored-by: brimigs <85972460+brimigs@users.noreply.github.com>
* New params for dynamic LB and CF (#16) * Add dynamic LB and CF params. * Add validators for dynamic lb. * Add tests for dynamic lb and cf. * Update schemas. * Update validation for THF. * Review fixes. * Bump params ver.
* Add ActionKind to differentiate origin for querying prices. * Pyth v2 impl. * Refactor. * Bump deps. * Fix deploy.
* Read asset params from remote contract. * Fix tests. * Fix tests. * Fix integration tests. * Fix clippy. * Fix tests. * Remove close_factor. Use external contract. * Update schema. * Clean comment. * Update to latest mars-params version. * Include mars-params wasm file in github pipeline. * Update downloading artifacts. * Fix build.
* New dynamic liquidation mechanics. * Extract liquidation to sperate crate. * Disable test coverage.
* Add account_id for rover deposit rewards. * Use user addr and account id as compound key. * Apply comments.
Fix: Use `NeutronMsg::IbcTransfer` for neutron reward collector
chore: bump version
Create readme for setting up Neutron multisig
Use Coins struct.
Fix incentives test
…config-response Update cw2 naming and config response
Update deployment config
* add credit manager to address provider * extract interest rate logics to a separate library * query to return `None` on nonexistent market * add `total_deposit` query to mars-params * check total deposit when user deposits * add debt to mock querier * mock querier to return `Option<Market>` * add test for computing total deposit * add total deposit to mock params querier * Move deposit_cap from RedBank struct in params contract. --------- Co-authored-by: piobab <piotr.babel@gmail.com>
Readme update
* include deposit cap in total deposit query * update schema and typescript types
* Bump deps. * Remove artifacts workflow. * Fix docker for optimizer.
* Fix reclaim. * Add test for deposit and withdraw for credit manager.
* Add checks for denoms in price source setup. * Fix audit warn. * Remove unused error type.
* Enable test coverage. * Merge test files to reduce number of crates generated. * Fmt. * Remove unused comments. * Ignore audit for test-tube.
* Add liquidation_related flag for withdraw. It is used by credit manager to indicate liquidation. * Add tests.
* Use correct contract naming during migration. * Use --locked for grcov install.
* Validate slopes for ir model. * Update doc in ir model to be consistent with impl. * Update schema.
* Add pagination with metadata. * Fix return type. * Address comments. * Add test case for v2 query. * Update schema.
* add-whitelist * Fix whitelist. Update tests. --------- Co-authored-by: brimigs <migliacciobri@gmail.com>
* Incentives migration. * Add tests for migration. * Copy helpers for incentives from v1.0.0 tag. Update schema.
* Revert on_behalf_of. It is used by another app. * Don't allow to use on_behalf_of by credit manager contract. * Fix on_behalf_of check.
* Handle edge case during liquidation when MDR < 0. * Should be possible to liquidate even if HF decrease after liquidation. * Move variable to if block.
dancreee
approved these changes
Sep 14, 2023
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.