-
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
Mars v2 ntrn release #420
Commits on Apr 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 24856bb - Browse repository at this point
Copy the full SHA 24856bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f70c73 - Browse repository at this point
Copy the full SHA 7f70c73View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbd5062 - Browse repository at this point
Copy the full SHA dbd5062View commit details -
Configuration menu - View commit details
-
Copy full SHA for a371d8e - Browse repository at this point
Copy the full SHA a371d8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d564ee6 - Browse repository at this point
Copy the full SHA d564ee6View commit details -
MP-2365. Acc creation if not created (#373)
* Acc creation in update credit account msg. * Create new account in msg. * Update schema.
Configuration menu - View commit details
-
Copy full SHA for ca3695f - Browse repository at this point
Copy the full SHA ca3695fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49b887c - Browse repository at this point
Copy the full SHA 49b887cView commit details
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7ad65d6 - Browse repository at this point
Copy the full SHA 7ad65d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for de50cb6 - Browse repository at this point
Copy the full SHA de50cb6View commit details -
Merge pull request #360 from mars-protocol/mp-2187-add-underlyingliqu…
…idity-and-underlyingdebt-into-the-markets v2 market(s) query: add underlying collateral and debt
Configuration menu - View commit details
-
Copy full SHA for 27bd88f - Browse repository at this point
Copy the full SHA 27bd88fView commit details -
MP-2342. Pricing xyk lp (#374)
* 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.
Configuration menu - View commit details
-
Copy full SHA for 2c785af - Browse repository at this point
Copy the full SHA 2c785afView commit details -
MP-1975. Remove uncollateralized limit (#372)
* Remove credit lines. * Fix test builds. * Fix tests. * Update schema. * Remove unused errors. * Update liquidation test cases. * Return better errors. * Bump cosmwasm std.
Configuration menu - View commit details
-
Copy full SHA for 1f5b383 - Browse repository at this point
Copy the full SHA 1f5b383View commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3ba1174 - Browse repository at this point
Copy the full SHA 3ba1174View commit details -
Configuration menu - View commit details
-
Copy full SHA for a07365c - Browse repository at this point
Copy the full SHA a07365cView commit details -
Merge pull request #377 from mars-protocol/mp-2185-combine-accountkin…
…d-into-positions Mp 2185 combine accountkind into positions
Configuration menu - View commit details
-
Copy full SHA for af0ce13 - Browse repository at this point
Copy the full SHA af0ce13View commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fafa093 - Browse repository at this point
Copy the full SHA fafa093View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6fefaa - Browse repository at this point
Copy the full SHA a6fefaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbef0ab - Browse repository at this point
Copy the full SHA cbef0abView commit details
Commits on May 1, 2024
-
Merge pull request #378 from mars-protocol/mp-2186-enable-pagination-…
…for-totaldeposit-or-combine-with add `all_total_deposits_v2`
Configuration menu - View commit details
-
Copy full SHA for 3c3b295 - Browse repository at this point
Copy the full SHA 3c3b295View commit details
Commits on May 9, 2024
-
* 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.
Configuration menu - View commit details
-
Copy full SHA for 748f846 - Browse repository at this point
Copy the full SHA 748f846View commit details
Commits on May 13, 2024
-
MP-2371. Trade any asset (#381)
* 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]>
Configuration menu - View commit details
-
Copy full SHA for a6c1980 - Browse repository at this point
Copy the full SHA a6c1980View commit details
Commits on May 14, 2024
-
* AP migration. * Update ntrn migration. * Incentives migration. * Swapper migration. * Fix migration. * Remove unused config from incentives. * Update schema.
Configuration menu - View commit details
-
Copy full SHA for f68e9fe - Browse repository at this point
Copy the full SHA f68e9feView commit details
Commits on May 21, 2024
-
MP-2390. Account custom token (#383)
* 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.
Configuration menu - View commit details
-
Copy full SHA for c9a4e5c - Browse repository at this point
Copy the full SHA c9a4e5cView commit details -
MP-2381. Fund manager acc (#384)
* 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.
Configuration menu - View commit details
-
Copy full SHA for e71a2ef - Browse repository at this point
Copy the full SHA e71a2efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c382e - Browse repository at this point
Copy the full SHA 90c382eView commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a21cfb9 - Browse repository at this point
Copy the full SHA a21cfb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d97feff - Browse repository at this point
Copy the full SHA d97feffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 680e31b - Browse repository at this point
Copy the full SHA 680e31bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9f201a - Browse repository at this point
Copy the full SHA e9f201aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fdecdf - Browse repository at this point
Copy the full SHA 4fdecdfView commit details
Commits on May 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5eb3464 - Browse repository at this point
Copy the full SHA 5eb3464View commit details
Commits on May 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for faae879 - Browse repository at this point
Copy the full SHA faae879View commit details -
* Init vault logic. * Vault init tests with TF. * Extract TokenFactory module for multitest. * Modify test setup in CM with managed vault. * Initialize vault test case. * Bind credit manager acc to vault. * Deposit test cases. * Withdraw to wallet support. * Redeem test cases. * Update schema. * Review comments. * Review comments.
Configuration menu - View commit details
-
Copy full SHA for 2bcae96 - Browse repository at this point
Copy the full SHA 2bcae96View commit details -
Merge pull request #382 from mars-protocol/mp-2344-pricing-astro-pcl-…
…lp-pools add PCL pricing
Configuration menu - View commit details
-
Copy full SHA for 9c0d2da - Browse repository at this point
Copy the full SHA 9c0d2daView commit details -
* Extract CM test helpers. * Move vault tests. * Organize vault tests cases. * Remove unused deps.
Configuration menu - View commit details
-
Copy full SHA for 08863b0 - Browse repository at this point
Copy the full SHA 08863b0View commit details
Commits on May 30, 2024
-
added stableswap pricing (#392)
* added stableswap pricing * added comments, small code improvements
Configuration menu - View commit details
-
Copy full SHA for 38d16ec - Browse repository at this point
Copy the full SHA 38d16ecView commit details
Commits on May 31, 2024
-
MP-2384. Withdraw from vault (#391)
* Unlock init. * Add borrow action if not enough funds to withdraw. * Missing Cargo update. * Fix tests. * Unlock test cases. * Redeem with unlocks test cases. * Redeem success test case. * Improve test. * Use only fund account amounts. * Update schema.
Configuration menu - View commit details
-
Copy full SHA for 79a949f - Browse repository at this point
Copy the full SHA 79a949fView commit details
Commits on Jun 2, 2024
-
Integrate Astroport LP incentives into mars LP positions (#385)
* 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 * use action coin, fix accounting error, add pagination query * linting * fix merge * fix imports
Configuration menu - View commit details
-
Copy full SHA for 01013f6 - Browse repository at this point
Copy the full SHA 01013f6View commit details
Commits on Jun 3, 2024
-
MP-2385. Vault performance fee (#393)
* 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.
Configuration menu - View commit details
-
Copy full SHA for 9ee7d28 - Browse repository at this point
Copy the full SHA 9ee7d28View commit details
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 96715dd - Browse repository at this point
Copy the full SHA 96715ddView commit details
Commits on Jun 5, 2024
-
* Clean fixme. * Bump JS deps. * Fix deployment. * Bump cw deps.
Configuration menu - View commit details
-
Copy full SHA for 9572675 - Browse repository at this point
Copy the full SHA 9572675View commit details -
Mp 2347 integrate astro staking into credit manager (#394)
* 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]>
Configuration menu - View commit details
-
Copy full SHA for 1fb38b1 - Browse repository at this point
Copy the full SHA 1fb38b1View commit details -
* Astro LP liquidation. * StakedLp liquidation test cases. * Review comments. * Rename to staked_astro_lps. * Update schema.
Configuration menu - View commit details
-
Copy full SHA for 5ed5673 - Browse repository at this point
Copy the full SHA 5ed5673View commit details -
Configuration menu - View commit details
-
Copy full SHA for cccd636 - Browse repository at this point
Copy the full SHA cccd636View commit details -
* Remove unused code. * Query for vault bindings. * Code reorganization. * Naming consistency. * Perf fee naming cleanup. * Update schema. * Update schema.
Configuration menu - View commit details
-
Copy full SHA for cfcca53 - Browse repository at this point
Copy the full SHA cfcca53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bc664b - Browse repository at this point
Copy the full SHA 9bc664bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d365dd1 - Browse repository at this point
Copy the full SHA d365dd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 204ea96 - Browse repository at this point
Copy the full SHA 204ea96View commit details -
Merge pull request #402 from mars-protocol/merge-master
Merge master to dev. Bump rust. New pion deployment.
Configuration menu - View commit details
-
Copy full SHA for 3d59ad3 - Browse repository at this point
Copy the full SHA 3d59ad3View commit details
Commits on Jun 13, 2024
-
Update pion 1 deployment (#404)
* 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.
Configuration menu - View commit details
-
Copy full SHA for a416593 - Browse repository at this point
Copy the full SHA a416593View commit details
Commits on Jun 14, 2024
-
* Update unlocks state key. * Update test cases. * Update schema. * Update comment.
Configuration menu - View commit details
-
Copy full SHA for cf750ee - Browse repository at this point
Copy the full SHA cf750eeView commit details
Commits on Jun 24, 2024
-
Fix Oak no. 1 - liquidatees staking rewards. (#410)
* Fix Oak no. 1 - liquidatees staking rewards. * Ignore audit warn. * Remove file.
Configuration menu - View commit details
-
Copy full SHA for 266122a - Browse repository at this point
Copy the full SHA 266122aView commit details -
Fix Oak no. 2 - incorrect LP total state accounting (#411)
* fix: incorrectly adding to lp amount rather than subtracting * improvements
Configuration menu - View commit details
-
Copy full SHA for 247c9fc - Browse repository at this point
Copy the full SHA 247c9fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 269b3db - Browse repository at this point
Copy the full SHA 269b3dbView commit details -
* Oak 11 - add consistency to type conversion. * Oak 13 - fix comment. * Oak 15 - unnecessary addr lookup. * Oak 17 - remove redundant code.
Configuration menu - View commit details
-
Copy full SHA for 906f99b - Browse repository at this point
Copy the full SHA 906f99bView commit details -
Fix Oak no. 3 - stake lp when no existing position (#412)
* fix: handle staking when no lp has yet been staked * improve comments * improve test
Configuration menu - View commit details
-
Copy full SHA for 1737ca7 - Browse repository at this point
Copy the full SHA 1737ca7View commit details -
Fix Oak no. 6 - incorrect Unstake exact LP (#413)
* fix: unstake exact * naming
Configuration menu - View commit details
-
Copy full SHA for 47b271e - Browse repository at this point
Copy the full SHA 47b271eView commit details
Commits on Jun 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 500a75f - Browse repository at this point
Copy the full SHA 500a75fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d8fad1 - Browse repository at this point
Copy the full SHA 6d8fad1View commit details -
MP-2435. Keep claimed rewards in the account (#406)
* 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.
Configuration menu - View commit details
-
Copy full SHA for 2ca10f6 - Browse repository at this point
Copy the full SHA 2ca10f6View commit details -
MP-2448. Astro lp deposit cap (#409)
* 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.
Configuration menu - View commit details
-
Copy full SHA for cfbecdd - Browse repository at this point
Copy the full SHA cfbecddView commit details
Commits on Jun 26, 2024
-
add staked lp to prop tests (#416)
* add staked lp to prop tests * add astro_lp_coin generation to prop tests * Format --------- Co-authored-by: piobab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52b1488 - Browse repository at this point
Copy the full SHA 52b1488View commit details