ProxyUpgradeableOwnable

Git Source

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

NameTypeDescription
<none>addressimplementation 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

NameTypeDescription
implementationaddressaddress 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);