This contract implements a proxy that allows to change the implementation address to which it will delegate. Such a change is called an implementation upgrade.
event Upgraded(address implementation)
Emitted when the implementation is upgraded.
implementation- Address of the new implementation.
function _implementation() internal view returns (address)
Returns the current implementation.
- Address of the current implementation
function _upgradeTo(address newImplementation) internal
Upgrades the proxy to a new implementation.
newImplementation- Address of the new implementation.
function (address _implementation) public
_implementation- Address of the initial implementation.