Skip to content

VP/MIN-518. Liquidation math. #191

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

Open
wants to merge 133 commits into
base: development
Choose a base branch
from

Conversation

dev-vadim
Copy link
Contributor

@dev-vadim dev-vadim commented Jul 30, 2021

Description:

This request contains mathematical calculations for partial and complete liquidation. All liquidation functions are covered by unit tests. This PR is not merged into the development branch, due to a conflict between the substrate and the library used to solve the system of equations using the Gauss method (the scirust library is used scirust = { git = "https://github.com/indigits/scirust", default-features = false }). This library conflicts with substrate dependencies. Node does not compile in --release mode).

https://minterestfinance.atlassian.net/wiki/spaces/MINTEREST/pages/9928965/Liquidation+Flow

Changes in storage or API:

--

Checklist

  • Code is covered with tests
  • Code is covered with benchmarks
  • Fresh benchmark results included

lut1k added 30 commits July 9, 2021 15:19
…-498-Liquidation-flow-architecture

# Conflicts:
#	pallets/risk-manager/src/lib.rs
…-498-Liquidation-flow-architecture

# Conflicts:
#	pallets/risk-manager/src/lib.rs
@dev-vadim dev-vadim requested review from kurotych, lut1k and Apollo50 July 30, 2021 19:24
@dev-vadim dev-vadim changed the title Vp/min 518 partial liquidation math VP/MIN 518 partial liquidation math Jul 30, 2021
@lut1k lut1k changed the title VP/MIN 518 partial liquidation math VP/MIN-518. Liquidation math. Aug 2, 2021
@lut1k lut1k force-pushed the VP/MIN-518-Partial-liquidation-math branch from f9f4f62 to 29fe9e3 Compare August 2, 2021 09:31
@lut1k lut1k force-pushed the VP/MIN-518-Partial-liquidation-math branch from d05dc8c to 29a30ba Compare August 3, 2021 07:15
@lut1k
Copy link
Contributor

lut1k commented Aug 27, 2021

Note: fix red CI before merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants