Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
9476cc1
Add params contract.
pacmanifold Jun 20, 2023
77d87fd
Dynamic lb cf from commons (#219)
piobab Jun 20, 2023
9976a6c
Mp 2525 pyth v2 (#217)
piobab Jun 21, 2023
44730cf
Mp 2487 extract asset params (#191)
piobab Jun 21, 2023
201183d
Params de-listing documentation (#224)
grod220 Jun 29, 2023
b8914f5
MP-2840. Remove deposit 'on behalf of' [audit] (#230)
grod220 Jul 4, 2023
a4ab76f
Mp 3015 add in build scripts for mars params contract (#225)
brimigs Jul 11, 2023
78dcf32
MP-2645. Guard against self liquidations (#254)
grod220 Jul 18, 2023
5121717
New dynamic liquidation mechanics. (#270)
piobab Jul 25, 2023
cf28835
Split execute to smaller files. (#271)
piobab Jul 25, 2023
4cd795c
MP-2615 rover rewards (#273)
piobab Jul 26, 2023
fe024f1
Resolve conflicts with develop.
piobab Jul 26, 2023
5e1f63a
Merge pull request #276 from mars-protocol/fix/neutron-ibc-msg
piobab Jul 26, 2023
6b61f33
Resolve merge conflicts from develop.
piobab Jul 26, 2023
1aef9b0
Merge pull request #268 from mars-protocol/chore/bump-version
piobab Jul 26, 2023
20247e2
Merge branch 'develop' into feat/neutron-multisig-readme
piobab Jul 26, 2023
86fe765
Merge pull request #277 from mars-protocol/feat/neutron-multisig-readme
piobab Jul 26, 2023
e15f31c
Migrate to PoolManager for Pool and SpotPrice. Read StableSwap pool. …
piobab Jul 28, 2023
f461ba1
Resolve conflicts after develop merge.
piobab Jul 31, 2023
5633236
Merge pull request #284 from mars-protocol/coins
piobab Jul 31, 2023
b702ee6
Resolve conflicts after develop merge.
piobab Jul 31, 2023
82731f3
Merge pull request #286 from mars-protocol/fix/incentives-test
piobab Jul 31, 2023
d9ff027
Resolve conflicts.
piobab Aug 1, 2023
6b3880a
Merge pull request #289 from mars-protocol/fix/update-cw2-naming-and-…
piobab Aug 1, 2023
756d9b7
Resolve conflicts with develop. Update deployment scripts with new LB…
piobab Aug 1, 2023
2659953
Merge pull request #290 from mars-protocol/feat/update-deployment-config
piobab Aug 1, 2023
2388b76
Shared deposit cap (#280)
larry0x Aug 2, 2023
8117c61
Remove custom math. (#283)
piobab Aug 3, 2023
c908212
Merge branch 'develop' into larry/readme
piobab Aug 3, 2023
e7dc0f9
Merge pull request #293 from mars-protocol/larry/readme
piobab Aug 3, 2023
f90c643
New deployment config (#278)
piobab Aug 3, 2023
156a139
update price source for liquidation to action kind (#275)
brimigs Aug 3, 2023
46771da
docs: add README to swapper (#292)
pacmanifold Aug 4, 2023
496062c
Assert hf improve after liq (#294)
piobab Aug 4, 2023
18e9c56
Include deposit cap in the `total_deposit` query (#295)
larry0x Aug 5, 2023
7d698f8
Add withdraw msg for protocol fees in credit manager. (#296)
piobab Aug 6, 2023
0dd8835
Deps and workflow (#297)
piobab Aug 6, 2023
e504153
Add routes setup. (#298)
piobab Aug 6, 2023
1b4b3f7
Fix reclaim (#299)
piobab Aug 7, 2023
07afd54
Clean up (#300)
larry0x Aug 8, 2023
297a013
MP-3122 price source checks (#302)
piobab Aug 18, 2023
906fce0
Validate if denom_decimals <= 18. Validate if scaled pyth price != 0.…
piobab Aug 18, 2023
28b6905
Validate if slippage not too high. (#304)
piobab Aug 22, 2023
04b40a9
Enable test coverage (#305)
piobab Aug 23, 2023
6b5f55e
MP-3292. Oak no. 1 (#306)
piobab Aug 24, 2023
7f76efe
MP-3293. Oak no. 2. (#307)
piobab Aug 25, 2023
57fb06a
MP-3302. Oak no. 11. (#308)
piobab Aug 28, 2023
2789f10
MP-3311. Oak no. 20. Add max limit (#315)
brimigs Aug 31, 2023
757bf3c
MP-3296 pagination (#312)
piobab Aug 31, 2023
8c90842
Fix Protocol Liquidation Fee calculation. (#313)
piobab Aug 31, 2023
703ad06
MP-3310. Oak no. 19. (#316)
piobab Sep 1, 2023
c810de1
MP-3299. Oak no. 8. (#317)
piobab Sep 8, 2023
dd41e6c
Update changelog. (#320)
piobab Sep 8, 2023
2987a8f
Revert deposit on behalf of (#319)
piobab Sep 11, 2023
2f4714f
Don't allow red-bank users to create alternative account ids. (#321)
piobab Sep 11, 2023
f1c3e60
Assert pool contains only two assets. (#323)
piobab Sep 11, 2023
4c3502a
Add CL pool support for price sources. (#301) (#325)
piobab Sep 13, 2023
06308d5
MP-3346. MDR cannot be less than zero (#322)
piobab Sep 13, 2023
f55cfb5
Use latest credit-manager schema for withdraw. (#324)
piobab Sep 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Reference: https://github.com/rustsec/rustsec/blob/main/cargo-audit/audit.toml.example

[advisories]
# Ignore the following advisory IDs.
# RUSTSEC-2022-0093 is reported for test-tube which is only used for testing.
ignore = ["RUSTSEC-2022-0093", "RUSTSEC-2023-0052"]
25 changes: 0 additions & 25 deletions .github/workflows/artifacts.yml

This file was deleted.

22 changes: 7 additions & 15 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,15 @@ jobs:
- name: Install stable Rust
run: cargo make install-stable

# selecting a toolchain should happen before the plugin, as the cache uses the current rustc version as its cache key
# - name: Cache dependencies
# uses: Swatinem/rust-cache@v2

# Artifacts used by tests
- name: Compile workspace
run: cargo make build

- name: Run test
run: cargo make test

# disabled because of "no space left" error.
# - name: Run test coverage
# run: cargo make coverage-lcov
- name: Run test coverage
run: cargo make coverage-lcov

# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# files: target/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: target/coverage/lcov.info
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to this project will be documented in this file.

## v1.2.0

- Allow Credit account to lend/reclaim to the Red Bank (calls Deposit/Withdraw in Red Bank), claim incentive rewards from lending to the Red Bank (pass account_id to track Credit Manager users in `red-bank` and `incentives` contract).
- Pyth oracle price sourcing support for EMA, confidence. Different price query for liquidation and other actions (Deposit / Borrow / Repay etc.).
- New liquidation mechanism on Red Bank and Credit Manager to allow variable liquidation bonus and close factors (similar to Euler model).
- Previously Red Bank and Credit Manager had separate deposit caps to protect against holding to many assets in relation to chain liquidity - consolidated these deposit caps into one `params` contract.
- Common `swapper` contract for Red Bank and Credit Manager.
- Credit Manager and Red Bank use `params` contract for common asset params (see new [types](/contracts/params/src/types)). Previous `Market` / `Markets` queries has changed - part of the params are moved to `params` contract (see [diff](./files/types_diff_v1_0_0__mars_v2.txt)).

## v1.0.0-rc0

This section documents the API changes compared to the Terra Classic deployment, found in the [`mars-core`](https://github.com/mars-protocol/mars-core) repository. This section is **not comprehensive**, as the changes are numerous. Changelog for later version start here should be made comprehensive.
Expand Down
Loading