Created
March 27, 2018 20:24
-
-
Save cag/1b65bcc00c214429ca986fb743018884 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.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