Skip to main content

DictionaryBase

Git Source

Inherits: IDictionaryCore, IVerifiable

State Variables

functions

mapping(bytes4 selector => address implementation) internal functions;

functionSelectorList

bytes4[] internal functionSelectorList;

facade

address internal facade;

Functions

getImplementation

function getImplementation(bytes4 selector) external view returns (address);

implementation

function implementation() external view returns (address);

supportsInterface

function supportsInterface(bytes4 interfaceId) external view returns (bool);

Parameters

NameTypeDescription
interfaceIdbytes4equals to the function selector

supportsInterfaces

Specification 3.1.1.2

function supportsInterfaces() external view returns (bytes4[] memory);

_setImplementation

function _setImplementation(bytes4 _selector, address _impl) internal virtual;

__deleteImplementation

function __deleteImplementation(bytes4 _selector) internal virtual;

__updateFunctionSelectorList

function __updateFunctionSelectorList(bytes4 _selector) internal virtual;

__existsSameSelector

function __existsSameSelector(bytes4 _selector) internal virtual returns (bool);

__updateImplementation

function __updateImplementation(bytes4 _selector, address _impl) internal virtual;

_upgradeFacade

function _upgradeFacade(address _newFacade) internal virtual;