InitializableAdminUpgradeabilityProxy
contract InitializableAdminUpgradeabilityProxy
is BaseAdminUpgradeabilityProxy, InitializableUpgradeabilityProxy
Extends from BaseAdminUpgradeabilityProxy with an initializer for initializing the implementation, admin, and init data.
Index
Reference
Functions
initialize
function initialize(address _logic, address _admin, bytes _data) public payable
Contract initializer.
- Parameters:
_logic
- address of the initial implementation._admin
- Address of the proxy administrator._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.