Skip to main content

InitializablePair

Git Source

Inherits: IPairInitializable, Initializable

Functions

constructor

constructor();

initialize

function initialize() external initializer;

_initialize

function _initialize() internal virtual;

onlyProxySelfCall

Allows only the proxy-controlled self-call used by beacon upgrade reinitialization.

modifier onlyProxySelfCall();

reInitialize

Reinitializes the pair only when the proxy calls itself after a beacon implementation upgrade.

function reInitialize() external onlyProxySelfCall reinitializer(_getInitializedVersion() + 1);

_reInitialize

function _reInitialize() internal virtual;

Errors

AccessDenied

error AccessDenied();