Skip to main content

BundleRegistryLib

Git Source

Functions

init


🌱 Init Bundle

function init(BundleRegistry storage registry, string memory name) internal returns (BundleRegistry storage);

ensureInit

function ensureInit(BundleRegistry storage registry) internal returns (BundleRegistry storage);

find


🔍 Find Bundle

function find(BundleRegistry storage registry, string memory name) internal returns (Bundle storage bundle);

findCurrent

function findCurrent(BundleRegistry storage registry) internal returns (Bundle storage bundle);

genUniqueName


🏷 Generate Unique Name

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