-
Notifications
You must be signed in to change notification settings - Fork 208
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
added register rebate tx #1138
added register rebate tx #1138
Conversation
x/stakeibc/types/message_register_community_pool_rebate_test.go
Outdated
Show resolved
Hide resolved
x/stakeibc/types/message_register_community_pool_rebate_test.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking really good!
Some nit comments, only substantive thing is on the bounds for the inputs to the admin fn - think we should allow rebatePct [0,1] and allow liquidStakedAmount g.t.e. 0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squeaky clean code! A few nit comments, but overall looks very good. I'll check this approach with the dYdX team today and make sure it's all clear with them too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! just one nit around the naming
59fde12
to
423a22d
Compare
423a22d
to
13c9355
Compare
Context
Added transaction to register a rebate by specifying the rebate percentage and liquid stake amount. The transaction stores the relevant parameters on the rebate section of the host zone.