Closed Ivshti closed 5 years ago
additional idea here: for simplicity,t he contracts only support ERC20 tokens; in order to support ETH, we can create an ERC20 interface that represents eth but works with the UserContract abstractions; needs to be thought over
simple contract based on/derived from the gnosis safe that allows gas abstractions for a user, and scheduled withdrawals
other implementations of gas abstractions seem dangerously complicated...
what we need is:
channelWithdraw
with any arguments for a certain channel; this allows scheduled withdrawals and does not have negative trust implications sincechannelWithdraw
always withdraws tomsg.sender
; the only thing is, this message should allow only one such call, otherwise the relayer can withdraw your acc via tx fees