UpgradeabilityProxy
contract UpgradeabilityProxy
is Proxy, UpgradeabilityStorage
This contract represents a proxy where the implementation address to which it will delegate can be upgraded.
Reference
Functions
fallback
function (string _contractName, string _version) publicConstructor function.
- Parameters:
_contractName- string_version- string
upgradeTo
function upgradeTo(string _contractName, string _version, address _impl) publicUpgrades the implementation to the requested version.
- Parameters:
_contractName- string_version- representing the version name of the new implementation to be set_impl- address