Skip to main content

Inspector

Git Source

=================== 🕵️‍♀️ Inspector

Functions

hasNotContract

================== 🧩 Function

function hasNotContract(Function storage func) internal view returns (bool);

isEqual

function isEqual(Function memory a, Function memory b) internal pure returns (bool);

isComplete

function isComplete(Function memory func) internal pure returns (bool);

isUninitialized

function isUninitialized(Function storage func) internal view returns (bool);

hasSameSelector

=============== 🗂️ Bundle

function hasSameSelector(Bundle storage bundle, Function storage func) internal view returns (bool flag);

hasNotSameSelector

function hasNotSameSelector(Bundle storage bundle, Function storage func) internal view returns (bool);

isComplete

function isComplete(Bundle storage bundle) internal view returns (bool);

isUninitialized

function isUninitialized(Bundle storage bundle) internal view returns (bool);

hasCurrentBundle

======================= 📙 Bundle Registry

function hasCurrentBundle(BundleRegistry storage bundle) internal view returns (bool);

hasNotCurrentBundle

function hasNotCurrentBundle(BundleRegistry storage bundle) internal view returns (bool);

isComplete

============== 🏠 Proxy

function isComplete(Proxy_2 memory proxy) internal pure returns (bool);

isInitialized

function isInitialized(Proxy_2 storage proxy) internal view returns (bool);

isUninitialized

function isUninitialized(Proxy_2 storage proxy) internal view returns (bool);

isNotUndefined

🏠 Proxy Kind
function isNotUndefined(ProxyKind kind) internal pure returns (bool);

isSupported

==================== 📚 Dictionary

function isSupported(Dictionary_1 memory dictionary, bytes4 selector) internal view returns (bool);

isVerifiable

function isVerifiable(Dictionary_1 memory dictionary) internal returns (bool);

isComplete

function isComplete(Dictionary_1 memory dictionary) internal pure returns (bool);

isUninitialized

function isUninitialized(Dictionary_1 storage dictionary) internal view returns (bool);

isNotUndefined


📚 Dictionary Kind

function isNotUndefined(DictionaryKind kind) internal pure returns (bool);

isAssigned

=================== 🧱 Primitives

📝 String

function isAssigned(string storage str) internal pure returns (bool);

isEmpty

function isEmpty(string memory str) internal pure returns (bool);

isNotEmpty

function isNotEmpty(string memory str) internal pure returns (bool);

isEqual

function isEqual(string memory a, string memory b) internal pure returns (bool);

isNotEqual

function isNotEqual(string memory a, string memory b) internal pure returns (bool);

isAssigned

💾 Bytes4

function isAssigned(bytes4 selector) internal pure returns (bool);

isEmpty

function isEmpty(bytes4 selector) internal pure returns (bool);

isNotEmpty

function isNotEmpty(bytes4 selector) internal pure returns (bool);

isEqual

function isEqual(bytes4 a, bytes4 b) internal pure returns (bool);

isNotEqual

function isNotEqual(bytes4 a, bytes4 b) internal pure returns (bool);

isZero

📌 Address

function isZero(address addr) internal pure returns (bool);

isNotZero

function isNotZero(address addr) internal pure returns (bool);

hasCode

function hasCode(address addr) internal view returns (bool);

hasNotCode

function hasNotCode(address addr) internal view returns (bool);

isContract

function isContract(address addr) internal view returns (bool);

isNotContract

function isNotContract(address addr) internal view returns (bool);

isNot

✅ Bool

function isNot(bool flag) internal pure returns (bool);

isFalse

function isFalse(bool flag) internal pure returns (bool);

isNotZero

#️⃣ Uint

function isNotZero(uint256 num) internal pure returns (bool);

isUninitialized

=================== 🔒 Type Guard

function isUninitialized(TypeStatus status) internal pure returns (bool);

isInitialized

function isInitialized(TypeStatus status) internal pure returns (bool);

isBuilding

function isBuilding(TypeStatus status) internal pure returns (bool);

isBuilt

function isBuilt(TypeStatus status) internal pure returns (bool);

isLocked

function isLocked(TypeStatus status) internal pure returns (bool);

isNotLocked

function isNotLocked(TypeStatus status) internal pure returns (bool);

isComplete

function isComplete(TypeStatus status) internal pure returns (bool);