-
Notifications
You must be signed in to change notification settings - Fork 0
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
DCA ERC20 business logic and signing #8
base: feat/plugin-dca
Are you sure you want to change the base?
Conversation
28d7f47
to
c56e30b
Compare
c56e30b
to
2cb6c26
Compare
6309cde
to
320b656
Compare
@@ -47,6 +53,24 @@ func (s *Server) SignPluginMessages(c echo.Context) error { | |||
switch policy.PluginType { | |||
case "payroll": | |||
plugin = payroll.NewPayrollPlugin(s.db) | |||
case "dca": |
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.
This functionality is appearing in a lot of places. I suggest extracting it as a function and re-using it.
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.
Agree, but I didn't want to change it too much from the upstream version, since upstream changes are still work in progress.
I think it will be easier to merge and then do a refactor.
LimeChain/vultisig-plugins-marketplace#13
There are a couple of TODOs left that will be addressed in upcoming PRs