{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/gmp-sdk/upgradable/Proxy.sol",
    "Parent Contracts": [
        "contracts/gmp-sdk/upgradable/BaseProxy.sol",
        "contracts/gmp-sdk/interfaces/IProxy.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "contract Proxy is BaseProxy {\n    /**\n     * @notice Constructs the proxy contract with a the implementation address, owner address, and optional setup parameters.\n     * @param implementationAddress The address of the implementation contract\n     * @param owner The owner address\n     * @param setupParams Optional parameters to setup the implementation contract\n     * @dev The constructor verifies that the owner address is not the zero address and that the contract ID of the implementation is valid.\n     * It then stores the implementation address and owner address in their designated storage slots and calls the setup function on the\n     * implementation (if setup params exist).\n     */\n    constructor(\n        address implementationAddress,\n        address owner,\n        bytes memory setupParams\n    ) {\n        if (owner == address(0)) revert InvalidOwner();\n\n        bytes32 id = contractId();\n        if (id != bytes32(0) && IUpgradable(implementationAddress).contractId() != id) revert InvalidImplementation();\n\n        assembly {\n            sstore(_IMPLEMENTATION_SLOT, implementationAddress)\n            sstore(_OWNER_SLOT, owner)\n        }\n\n        if (setupParams.length != 0) {\n            (bool success, ) = implementationAddress.delegatecall(abi.encodeWithSelector(IUpgradable.setup.selector, setupParams));\n            if (!success) revert SetupFailed();\n        }\n    }\n}"
}