contract-proxy-kit
contract-proxy-kit copied to clipboard
Implement new factory
(Just listing everything that this should handle)
- [x] Resolves #31
- [x] Resolves #38
- [x] Resolves #39
- [x] Resolves #46
- [x] Resolves #67
- [x] Resolves #90
- [x] Resolves #105
- [x] Related: #102
Ugh, this is still not ready, and generalizing setup straight up made an obvious security vulnerability, which I realized while thinking about the implication of this design, which would in any case require a signature and a transaction authorization on MM (so two user interactions per batch instead of the one that is the case right now). Thought about tx.origin but that opens up a can of phish.
Okay, I'll resolve this by requiring the owner to either be the msg.sender or to have signed the creation params.
Note to self: rename from facade to adapter because that contract now has a more complicated interface and it's only used to ease working with the Safe relay.