safe-smart-account
safe-smart-account copied to clipboard
[7702] Safe contract changes
The code in Safe contracts need modification to work EIP-7702. The issues to be tackled in Safe contracts:
Should EOA delegate to Safe singleton or Safe proxy? Allow EOA itself to be the owner after delegation. Safe singleton does not permit address(this) to be owner. With EIP-7702, as EOA has private key it can sign transactions. How to initialise EOA storage after delegating to Safe contract? Outcome:
Document different approaches. Pro, Con of each List the required contract changes needed for Demo.