Skip to content
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

Open
wants to merge 6 commits into
base: feat/plugin-dca
Choose a base branch
from

Conversation

radkomih
Copy link
Collaborator

@radkomih radkomih commented Jan 23, 2025

LimeChain/vultisig-plugins-marketplace#13

There are a couple of TODOs left that will be addressed in upcoming PRs

@radkomih radkomih self-assigned this Jan 23, 2025
@radkomih radkomih changed the title dca erc20 swap logic. refactor. signing tx dca erc20 swap logic and signing Jan 23, 2025
@radkomih radkomih force-pushed the feat/dca-business-logic branch 2 times, most recently from 28d7f47 to c56e30b Compare January 28, 2025 12:08
@radkomih radkomih force-pushed the feat/dca-business-logic branch from c56e30b to 2cb6c26 Compare February 10, 2025 08:51
@radkomih radkomih marked this pull request as ready for review February 13, 2025 12:09
@radkomih radkomih force-pushed the feat/dca-business-logic branch from 6309cde to 320b656 Compare February 13, 2025 12:14
@radkomih radkomih changed the title dca erc20 swap logic and signing DCA ERC20 swap logic and signing Feb 13, 2025
@@ -47,6 +53,24 @@ func (s *Server) SignPluginMessages(c echo.Context) error {
switch policy.PluginType {
case "payroll":
plugin = payroll.NewPayrollPlugin(s.db)
case "dca":
Copy link
Collaborator

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.

Copy link
Collaborator Author

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.

@radkomih radkomih changed the title DCA ERC20 swap logic and signing DCA ERC20 business logic and signing Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants