Replies: 3 comments
-
Unfortunately, it's quite likely that we will not have time for this. |
Beta Was this translation helpful? Give feedback.
-
Interestingly, centralized migration operations are a thing now. Maple V2 has been recently announced, and as part of this release, they auto-migrated all user funds from V1. Taking such actions is obviously quite dangerous from a regulatory point of view, but it does provide a great user experience. |
Beta Was this translation helpful? Give feedback.
-
Closing since our recent decision to switch to a proxy design (as discussed in sablier-labs/v2-periphery#11) will automatically enable migrations. |
Beta Was this translation helpful? Give feedback.
-
Description
I think that we all agree that making the protocol upgradeable would be too much of a liability for us. It would basically make us custodians.
It just so happens that I have recently been involved in a Twitter discussion about this very topic with Adam Cochran, who made this point:
I think that this is a known pattern in the industry but I can't recall off the top of my head how it's called. Anyway, the idea is the following:
_streams
mapping to another v2.x Sablier contract. The transfer would basically delete the stream in thev2.n
contract and re-create the stream in thev2.(n+1)
contract, all while not making any claim of funds for either the sender or the recipient.nextSablierV2Linear
of typeaddress
that is initially set to zero but which can be subsequently modified by governance. This is the future address of the v2.x Sablier contract.Pros
I personally find this model great, because:
Cons
v2.x
release, and for every migration between them.Beta Was this translation helpful? Give feedback.
All reactions