Created
August 3, 2022 11:15
-
-
Save Shashank-In/d011da4f00826eda6012c321b9b400ce 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