Open nrryuya opened 5 years ago
I found a delegation example in vyper test code https://github.com/ethereum/vyper/blob/50b57010ba60d9914a746488bbd939041e914301/tests/parser/functions/test_raw_call.py#L97
Gnosis Safe has a family of proxy pattern contracts. https://github.com/gnosis/safe-contracts/tree/development/contracts/proxies
specify target address and copy calldata on contract
pass target address and calldata from sender
Questions
msg.data
is not supported in Vyper and there seems another discussion. Let's postpone this contract for now.
https://github.com/ethereum/vyper/pull/896#discussion_r200004489
After msg.data
gets supported.
https://github.com/ethereum/vyper/issues/1181
OpenZeppelin Proxy.sol