-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add special asset pairs (#2150)
* feat: add special asset pairs * Update proto/umee/leverage/v1/leverage.proto * line length lint * Update x/leverage/keeper/token.go Co-authored-by: Robert Zaremba <robert@zaremba.ch> * Update x/leverage/keeper/token.go Co-authored-by: Robert Zaremba <robert@zaremba.ch> * Update proto/umee/leverage/v1/leverage.proto Co-authored-by: Robert Zaremba <robert@zaremba.ch> * Update proto/umee/leverage/v1/leverage.proto Co-authored-by: Robert Zaremba <robert@zaremba.ch> * make proto-all * make proto-all * fix * remove title + description * group legacy msg interface * proposal.go * legacy++ * special asset sets in gov message * pair deletion logic * can query for specific asset * Update proto/umee/leverage/v1/tx.proto * make proto-all * changelog * lint * Update proto/umee/leverage/v1/tx.proto Co-authored-by: kosegor <30661385+kosegor@users.noreply.github.com> * Update proto/umee/leverage/v1/tx.proto Co-authored-by: kosegor <30661385+kosegor@users.noreply.github.com> * proto changes * collateral weight zero deletes sets ad pairs * fix CLI * test++ * combine validate functions in genesis * fix * fix * proto changes * fix names * fix names * validation allows empty pairs if sets present instead * optional arg doc * Add liquidation threshold to pairs * revert proposal.go * change stringer --------- Co-authored-by: Robert Zaremba <robert@zaremba.ch> Co-authored-by: kosegor <30661385+kosegor@users.noreply.github.com>
- Loading branch information
1 parent
0c9271a
commit ea52e22
Showing
26 changed files
with
2,598 additions
and
337 deletions.
There are no files selected for viewing
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
Oops, something went wrong.