Skip to content

Instantly share code, notes, and snippets.

@cag
Created March 27, 2018 20:24
Show Gist options
  • Save cag/1b65bcc00c214429ca986fb743018884 to your computer and use it in GitHub Desktop.
Save cag/1b65bcc00c214429ca986fb743018884 to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.21;
import "./ProxyPostByzantium.sol";
import "./Ownable.sol";
contract UpdateableProxyData is ProxyData, OwnableData {}
contract UpdateableProxy is Proxy, Ownable {
function UpdateableProxy(address proxied, address owner)
public
Proxy(proxied)
OwnableData(owner)
{}
function updateProxied(address newProxied)
public
onlyOwner
{
proxied = newProxied;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment