Skip to content

EmptyImplementationUUPS ​

generic empty contract that can be set for UUPS proxies as initial logic contract, to avoid it affecting the deterministic contract address. upgrade is auth-gated via an immutable owner set in constructor, to not affect the storage layout.

OWNER ​

solidity
address OWNER

used to auth-gate upgrade triggering

Unauthorized ​

solidity
error Unauthorized()

constructor ​

solidity
constructor(address owner_) public

_authorizeUpgrade ​

solidity
function _authorizeUpgrade(address) internal