Skip to main content

ProxyRegistryLib

Git Source

Functions

register


🗳️ Register Proxy

function register(ProxyRegistry storage registry, string memory name, Proxy memory _proxy)
internal
returns (Proxy storage proxy);

find


🔍 Find Proxy

function find(ProxyRegistry storage registry, string memory name) internal returns (Proxy storage proxy);

findCurrent

function findCurrent(ProxyRegistry storage registry) internal returns (Proxy storage proxy);

genUniqueName


🏷 Generate Unique Name

function genUniqueName(ProxyRegistry storage registry) internal returns (string memory name);

genUniqueMockName

function genUniqueMockName(ProxyRegistry storage registry, string memory baseName)
internal
returns (string memory name);