-
Notifications
You must be signed in to change notification settings - Fork 520
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
cdp enhancement #1886
cdp enhancement #1886
Conversation
wangjj9219
commented
Feb 14, 2022
•
edited
Loading
edited
- support use lp token as collateral
- provider call for pre-issuing stable coin to obtain more collateral and deposit into CDP, the collateral ratio will decrease.
- provider call for selling collateral in CDP to obtain stable coin to repay debit, the collateral ratio will increase.
Codecov Report
@@ Coverage Diff @@
## master #1886 +/- ##
==========================================
+ Coverage 85.31% 85.91% +0.60%
==========================================
Files 82 79 -3
Lines 17934 18696 +762
==========================================
+ Hits 15300 16063 +763
+ Misses 2634 2633 -1
Continue to review full report at Codecov.
|
@qwer951123 @nnnnnnnnnni This pr contains changes about events related to collateral auction and loan position. Data services should be compatible with these changes. |
…count * origin/master: (21 commits) udpate predeploy and disable NFT precompile for karura & acala (#1942) remove old migrations (#1937) Optimized calculations t avoid error caused by division missing (#1935) Statemine integration test (#1712) switch to london (#1932) fix clap annotation (#1933) fix package name (#1928) type cleanup (#1931) bump version (#1930) V0.9.17 (#1924) update precompile set (#1929) bump version (#1926) use internal release for dev release fix evm-bench access_list (#1925) add missing precompiles and fixes (#1923) remove legacy trader location (#1920) cdp enhancement (#1886) add new call to execute completely fast match redeem (#1922) Change StorageDepositPerByte (#1919) add ACA to CollateralCurrencyIds (#1918) ... # Conflicts: # Cargo.lock # orml # runtime/integration-tests/src/setup.rs # runtime/integration-tests/src/stable_asset.rs # runtime/mandala/Cargo.toml