Skip to main content

FunctionLib

Git Source

Functions

assignName


📛 Assign Name

function assignName(Function storage func, string memory name) internal returns (Function storage);

assignSelector


🎯 Assign Selector

function assignSelector(Function storage func, bytes4 selector) internal returns (Function storage);

assignImplementation


🎨 Assign Implementation

function assignImplementation(Function storage func, address implementation) internal returns (Function storage);

assign


🌈 Assign

function assign(Function storage func, string memory name, bytes4 selector, address implementation)
internal
returns (Function storage);

fetch


📨 Fetch Function

function fetch(Function storage func, string memory envKey) internal returns (Function storage);