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

Flexible Send Msg for splitter to use dynamic Recipient #682

Closed
SlayerAnsh opened this issue Dec 3, 2024 · 0 comments · Fixed by #686
Closed

Flexible Send Msg for splitter to use dynamic Recipient #682

SlayerAnsh opened this issue Dec 3, 2024 · 0 comments · Fixed by #686
Assignees
Labels
enhancement New feature or request splitter

Comments

@SlayerAnsh
Copy link
Contributor

Description

Currently splitter recipients are stored in STATE and used whenever Send msg is called. However, if more reusable builds, user might want to split funds against different configuration of recipient and updating state before each call might not be feasible.

Suggesting an optional config in send message which should be used and fallback to config stored in state if missing.

Implementation

  • Add optional config in Send msg to allow user to use custom config with every msg. Defaults fallback to stored config in contract

Dependencies

NA

Acceptance Criteria

  • Same splitter contract splits funds with different config when config is provided in msg
@SlayerAnsh SlayerAnsh added enhancement New feature or request splitter labels Dec 3, 2024
@joemonem joemonem self-assigned this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request splitter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants