{
    "Function": "removeOwnerAtIndex",
    "File": "src/SmartWallet/MultiOwnable.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "_getMultiOwnableStorage",
        "revert NoOwnerAtIndex(uint256)",
        "onlyOwner",
        "_getMultiOwnableStorage",
        "ownerAtIndex"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function removeOwnerAtIndex(uint256 index) public virtual onlyOwner {\n        bytes memory owner = ownerAtIndex(index);\n        if (owner.length == 0) revert NoOwnerAtIndex(index);\n\n        delete _getMultiOwnableStorage().isOwner[owner];\n        delete _getMultiOwnableStorage().ownerAtIndex[index];\n\n        emit RemoveOwner(index, owner);\n    }"
}