ProxyUpgradeableOwnable
Inherits: IProxyUpgradeableOwnable, Proxy, SafeOwnable
Functions
constructor
constructor(address implementation);
receive
receive() external payable;
_getImplementation
get logic implementation address
function _getImplementation() internal view override returns (address);
Returns
Name | Type | Description |
---|---|---|
<none> | address | implementation address |
getImplementation
Return the implementation address of the proxy
function getImplementation() external view returns (address);
setImplementation
set address of implementation contract
function setImplementation(address implementation) external onlyOwner;
Parameters
Name | Type | Description |
---|---|---|
implementation | address | address of the new implementation |
_setImplementation
set address of implementation contract
function _setImplementation(address implementation) internal;
Events
ImplementationSet
event ImplementationSet(address implementation);
Errors
ProxyUpgradeableOwnable__InvalidImplementation
error ProxyUpgradeableOwnable__InvalidImplementation(address implementation);