Replies: 4 comments 27 replies
-
There is a 3rd option of having a special allowance system, similar to the management of the I'll bring yet another reason for which this functionality is very important. For our custom vault/routers/erc4626 and even as per the example given in #41 we will have the possibility of hiding certain actions from the user. Example: they'll be able to stream native tokens while we do the wrapping on create and the unwrapping on withdraw. In order to be able to do that, the user won't call the |
Beta Was this translation helpful? Give feedback.
-
As asked I'll share my thoughts on a public Pro
Con
I still think we would benefit from creating an access control scheme where the user can nominate some entities that handle withdrawal on their behalf. The natural question is if we should implement this privilege manager for:
Pro
Con
|
Beta Was this translation helpful? Give feedback.
-
Another argument against a public
|
Beta Was this translation helpful? Give feedback.
-
This proposal has been morphed into #155. Locking. |
Beta Was this translation helpful? Give feedback.
-
In an offline discussion, @razgraf made the suggestion to implement a "withdraw on behalf of" functionality, which would enable third-party relayers to pay the gas costs for withdrawing for end-users.
My only reservation is that it would take quite some time to implement this, and we already have a long list of more urgent matters to tackle. Multiple new functions and one big mapping would be needed to add support for withdrawing on behalf of other users.
That said, there are two alternative implementations that would achieve the same goal, albeit they would involve different assumptions:
withdraw
function? Obviously the concern with this is that anyone would be able to trigger taxable events for other people.Stream
struct that by default is set tofalse
but users can set totrue
which would allow anyone to call thewithdraw
function?Beta Was this translation helpful? Give feedback.
All reactions