AdminUpgradeabilityProxy
contract AdminUpgradeabilityProxy
is BaseAdminUpgradeabilityProxy, UpgradeabilityProxy
Extends from BaseAdminUpgradeabilityProxy with a constructor for initializing the implementation, admin, and init data.
Index
Reference
Functions
fallback
function (address _logic, address _admin, bytes _data) public payable
Contract constructor.
- Modifiers:
- 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.