Skip to content

Instantly share code, notes, and snippets.

@Shashank-In
Created August 3, 2022 11:15
Show Gist options
  • Save Shashank-In/d011da4f00826eda6012c321b9b400ce to your computer and use it in GitHub Desktop.
Save Shashank-In/d011da4f00826eda6012c321b9b400ce to your computer and use it in GitHub Desktop.
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