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

feat: Stream Migrations/Merging #96

Open
fubuloubu opened this issue Jun 21, 2024 · 1 comment
Open

feat: Stream Migrations/Merging #96

fubuloubu opened this issue Jun 21, 2024 · 1 comment

Comments

@fubuloubu
Copy link
Member

fubuloubu commented Jun 21, 2024

Allow "migrating" one (or more) existing streams into one new stream, including all of the assets those old streams contain

The new stream will have new stream parameters including funding rate and product code which must be checked with the validator system again. Essentially, this is just a way to automate the action of closing N streams (owned by the same account) and creating a new stream with the given stream parameters, without having to transfer any unvested assets to do so.

Off-chain listeners will be able to see these events and consolidate those streams together in the off-chain payment service they are operating (for example, migrating a tier account + add-ons to a higher tier account that includes those add-ons). This should use a new StreamsMigrated event that doesn't trigger StreamCreated or StreamCancelled handling (which usually correlates with de-/provisioning resources in response to these stream events)

Copy link

linear bot commented Jun 21, 2024

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

No branches or pull requests

1 participant