Created
August 3, 2022 11:14
-
-
Save az0mb13/8eb59e3c06db4a02d0833ef322b330fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
contract Proxy { | |
address owner; | |
constructor() public { | |
owner = msg.sender; | |
} | |
function forward(address callee, bytes _data) public { | |
require(callee.delegatecall(_data)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment