UpgradeabilityProxy
contract UpgradeabilityProxy
Extends BaseUpgradeabilityProxy with a constructor for initializing implementation and init data.
Index
Reference
Functions
fallback
function (address _logic, bytes _data) public payable
Contract constructor.
- Parameters:
_logic
- Address of the initial implementation._data
- Data to send as msg.data to the implementation to initialize the proxied contract. It should include the signature and the parameters of the function to be called, as described in https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding. This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.