-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tokenfactory): execute msgs for CreateDenom, ChangeAdmin, Update…
…ModuleParams (#1607) * (proto): add some txs and events for token factory * #wip msg handlers impl * fix grpc query test * test(tokenfactory): validate basic and msg server tests * test(tokenfactory): update module params * fix(tokenfactory): changelog, linter, put blank CLi commands instead of panic * test(tokenfactory): add case for if the denom is not registered in ChangeAdmin * token factory CLI tests and queries with tests * test(tokenfactory/types): more coverage * combo squashed commit: Resolves strange proto break error test(tokenfactory): more CLI test coverage feat(perp): Add user discounts (#1594) * add discounts * impl genesis * fix test * make test more robust * galaxy brain int encoding fix * test and optimise * lint * CHANGELOG.md * do merge * clarify fee variable names in applyDiscountAndRebate func * refactor dnr_test.go as per PR review * add genesis tests --------- Co-authored-by: unknown unknown <unknown@unknown> Co-authored-by: godismercilex <[email protected]> Co-authored-by: Jonathan Gimeno <[email protected]> feat(perp): Add user discounts (#1594) * add discounts * impl genesis * fix test * make test more robust * galaxy brain int encoding fix * test and optimise * lint * CHANGELOG.md * do merge * clarify fee variable names in applyDiscountAndRebate func * refactor dnr_test.go as per PR review * add genesis tests --------- Co-authored-by: unknown unknown <unknown@unknown> Co-authored-by: godismercilex <[email protected]> Co-authored-by: Jonathan Gimeno <[email protected]> * ci(proto-lint): should refer to the PR, not just the last commit * ci(proto-lint): supply with github token in buf setup b/c rate limits --------- Co-authored-by: unknown unknown <unknown@unknown> Co-authored-by: godismercilex <[email protected]> Co-authored-by: Jonathan Gimeno <[email protected]> Co-authored-by: Matthias <[email protected]>
- Loading branch information
1 parent
c7ae585
commit e054b45
Showing
30 changed files
with
4,486 additions
and
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
syntax = "proto3"; | ||
|
||
package nibiru.tokenfactory.v1; | ||
|
||
option go_package = "github.com/NibiruChain/nibiru/x/tokenfactory/types"; | ||
|
||
message EventCreateDenom { | ||
string denom = 1; | ||
string creator = 2; | ||
} | ||
|
||
message EventChangeAdmin { | ||
string denom = 1; | ||
string old_admin = 3; | ||
string new_admin = 2; | ||
} |
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
Oops, something went wrong.