-
Notifications
You must be signed in to change notification settings - Fork 17
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
Mars v2 ntrn release #420
Merged
Mars v2 ntrn release #420
Conversation
This file contains 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
* Acc creation in update credit account msg. * Create new account in msg. * Update schema.
…idity-and-underlyingdebt-into-the-markets v2 market(s) query: add underlying collateral and debt
* Add xyk lp pricing for astro. * Init test cases for astro xyk. * Update xyk lp test cases. * Move xyk pricing to common file. * Update schema. * Rename package. * Remove duplicated comments.
* Remove credit lines. * Fix test builds. * Fix tests. * Update schema. * Remove unused errors. * Update liquidation test cases. * Return better errors. * Bump cosmwasm std.
…d-into-positions Mp 2185 combine accountkind into positions
…for-totaldeposit-or-combine-with add `all_total_deposits_v2`
* Init astro zapper. * Clean up CW20. * Pass astro params to zapper. * Use Astro token factory version. * Use Astro pools. * Rename zapper. * Fix tests. * Bump astro rc release. Make build happy. * Fix todo. * Extract pair addr from lp denom. * Remove custom astro params for zapper.
* Allow to deposit and swap any asset. * Update Health computer to allow not whitelisted/supported assets. * Update schema. * Fix test. * Update contracts/credit-manager/tests/tests/test_deposit.rs Co-authored-by: Bob van der Helm <[email protected]> * Update contracts/health/tests/tests/test_health_values.rs Co-authored-by: Bob van der Helm <[email protected]> * Review comment. --------- Co-authored-by: Bob van der Helm <[email protected]>
* AP migration. * Update ntrn migration. * Incentives migration. * Swapper migration. * Fix migration. * Remove unused config from incentives. * Update schema.
* Use custom token_id for new NFT. * Add test cases for account-nft. * CM test cases for new type of account create. * Update schema. * Don't overlap with automatically generated token_id.
* Add FundManager account. * Extract function. * Add validate for fund manager vault addr. * Add tests. * Extend test cases for fund manager. * Update schema. * Add test for unauthorized addr. Fix clippy. * Cover FundManager account in health scenarios.
* Init perf fee impl. * Withdraw perf fee. * Performance fee tests. * Compare with perf state. * Use new perf fee after withdraw. * Add spreadsheet with perf fee scenarios. * Perf fee withdraw errors tests. * Update test to check if fee is applied every 1h. * Validate perf fee config. * Cleanup. * Update schema. * Don't subtract mgmt fee when deposit/redeem. * Fix comment.
* Clean fixme. * Bump JS deps. * Fix deployment. * Bump cw deps.
* feat: stake lp in astroport incentives * tidy * move mars / astroport incentives to individual files * correctly add files for previous commit * fmt * fix tests * add missing import * don't swallow errors, update naming * update credit_manager assertion * credit manager astroport incentives implementation * fix lp rewards query * Mock astroport incentives dependency * tidy structure * astro_lp incentives integration test * add lp rewards query * tidy * additional tests * fmt * add cm tests for astro incentives * Fix astro deps in incentives. * add rewards recieved to event attributes * fix - increment not decrement * error if lp balance lt requested * improve tests * fix staking issue * add unstake tests * Add staked lp to account collateral * clippy + fmt * schema * fix deps * add staked lp to positions * remove redundant code * improve test coverage * generate types * add incentive query tests * naming * generate schema * comments * add incentives documentation (#399) * add incentives documentation * remove todo * better error handling * rename files * add rewards as attribute * improve naming, attributes on response * improve test_claim_lp_rewards * improve test_stake_astro_lp * improve test_unstake_astro_lp * improve test_querying * small fixes and naming * improve test_astro_lp_incentives * more naming * improve tests * update types * merge 'dev' into MP-2347-integrate-astro-staking * updated types * Reorder in tests. * Rename claming test case for astro. --------- Co-authored-by: piobab <[email protected]>
* Astro LP liquidation. * StakedLp liquidation test cases. * Review comments. * Rename to staked_astro_lps. * Update schema.
* Remove unused code. * Query for vault bindings. * Code reorganization. * Naming consistency. * Perf fee naming cleanup. * Update schema. * Update schema.
Merge master to dev. Bump rust. New pion deployment.
* Update pion-1 deployment. * Add PCL lp config. * Fixes to deployment. * Use astro v5 for oracle. * Use astro v5 for swapper. * New deployment. * PCL LP should not be borrowable.
* Update unlocks state key. * Update test cases. * Update schema. * Update comment.
* Fix Oak no. 1 - liquidatees staking rewards. * Ignore audit warn. * Remove file.
* fix: incorrectly adding to lp amount rather than subtracting * improvements
* Oak 11 - add consistency to type conversion. * Oak 13 - fix comment. * Oak 15 - unnecessary addr lookup. * Oak 17 - remove redundant code.
* fix: handle staking when no lp has yet been staked * improve comments * improve test
* fix: unstake exact * naming
* Claim rewards to the account. * HLS - allow to keep non-correlated deposits. * Update HLS rule for staked astro lp. * Update schema. * Refactor HLS collaterals. * Review comments. * Ignore audit warn.
* Add astroport incentives check for lp deposits. * Update deposit test case. * Update paginated deposit cap. * Update Astro incentives mock contract. * Provide liquidity deposit cap check. * Update comment.
* add staked lp to prop tests * add astro_lp_coin generation to prop tests * Format --------- Co-authored-by: piobab <[email protected]>
markonmars
approved these changes
Jul 2, 2024
bobthebuidlr
approved these changes
Jul 2, 2024
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.