-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kensetsu Phase 2 - configurable debt assets (#1005)
* feature(kensetsu): do not allow ken and kusd be used as collateral * feature(kensetsu): stablecoin parameters * feature(kensetsu): oracle added * fix(kensetsu): bad debt total supply * fix(kensetsu): KGOLD added * fix(kensetsu): update collateral info on cdp creation * feature(kensetsu): update fee before repay * fix(kensetsu): pr clippy * feature(kensetsu): refactor * feature(kensetsu): migration * chore(kensetsu): remove cdp_close amount * feature(kensetsu): check withdrawal asset id * merge master * feature(kensetsu): register_stablecoin * feature(kensetsu): register stablecoin asset * fix(kensetsu): clippy * fix clippy * fix: remove token hard_cap * feature(kensetsu): kensetsu stable asset ids * feature(kensetsu): kensetsu reference symbols * feature(kensetsu): kensetsu reference symbols * feature(kensetsu): fix clippy * feature(kensetsu): v2 storage migration * fix(kensetsu): clippy * test(kensetsu): migration test * merge master * feature(kensetsu): borrow tax * feature(kensetsu): update migration * Add new tokens (#1042) * Add tokens KXOR, KARMA, SB --------- Co-authored-by: Alexey Chernyshov <alexey.n.chernyshov@gmail.com> * feature(kensetsu): add buy back for xor/kxor * feature(kensetsu): fix clippy * feature(kensetsu): add genesis config for stablecoin infos * feature(migration): register SB to price-tools * feature(price-tools): add method is_asset_registered to PriceToolsProvider * feature(price-tools): registers asset in PriceToolsProvider * feature(price-tools): rm price tools migration * fix: merge conflict * Add KXOR support to XYK pool (#1041) * Add new tokens * Add KXOR support in XYK pool * Fix build * Add missing tokens * Remove migrations from prod * Remove completed migration * Add more tests * Fix build * Fix build * Fix review issue * Add function description * Fix review issues * Add tests * fix(kensetsu): do not register XOR in price tools * fix(kensetsu): migrate v0 and v1 * feature(kensetsu): configurable borrow taxes * feature(kensetsu): add KGOLD as predefined asset * feature(kensetsu): collateral info storagemap * fix(kensetsu): buyback KARMA, TBCD on any collateral * fix(kensetsu): fix pr issues * fix(kensetsu): fix pr issues * Update common/src/primitives.rs Co-authored-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com> --------- Co-authored-by: Vladimir Stepanenko <vovac12@gmail.com> Co-authored-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
- Loading branch information
1 parent
2432a40
commit 5fe6004
Showing
56 changed files
with
5,105 additions
and
2,205 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,8 @@ pub mod weights; | |
|
||
mod benchmarking; | ||
|
||
pub mod migration; | ||
|
||
#[cfg(test)] | ||
mod mock; | ||
|
||
|
Oops, something went wrong.