{
    "Function": "_addOwnerAtIndex",
    "File": "src/SmartWallet/MultiOwnable.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "isOwnerBytes",
        "_getMultiOwnableStorage",
        "revert AlreadyOwner(bytes)",
        "_getMultiOwnableStorage"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _addOwnerAtIndex(bytes memory owner, uint256 index) internal virtual {\n        if (isOwnerBytes(owner)) revert AlreadyOwner(owner);\n\n        _getMultiOwnableStorage().isOwner[owner] = true;\n        _getMultiOwnableStorage().ownerAtIndex[index] = owner;\n\n        emit AddOwner(index, owner);\n    }"
}