{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/upgrades/GraphUpgradeable.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "contract GraphUpgradeable {\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1, and is\n     * validated in the constructor.\n     */\n    bytes32 internal constant IMPLEMENTATION_SLOT =\n        0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev Check if the caller is the proxy admin.\n     */\n    modifier onlyProxyAdmin(IGraphProxy _proxy) {\n        require(msg.sender == _proxy.admin(), \"Caller must be the proxy admin\");\n        _;\n    }\n\n    /**\n     * @dev Check if the caller is the implementation.\n     */\n    modifier onlyImpl() {\n        require(msg.sender == _implementation(), \"Caller must be the implementation\");\n        _;\n    }\n\n    /**\n     * @dev Returns the current implementation.\n     * @return impl Address of the current implementation\n     */\n    function _implementation() internal view returns (address impl) {\n        bytes32 slot = IMPLEMENTATION_SLOT;\n        assembly {\n            impl := sload(slot)\n        }\n    }\n\n    /**\n     * @dev Accept to be an implementation of proxy.\n     */\n    function acceptProxy(IGraphProxy _proxy) external onlyProxyAdmin(_proxy) {\n        _proxy.acceptUpgrade();\n    }\n\n    /**\n     * @dev Accept to be an implementation of proxy and then call a function from the new\n     * implementation as specified by `_data`, which should be an encoded function call. This is\n     * useful to initialize new storage variables in the proxied contract.\n     */\n    function acceptProxyAndCall(IGraphProxy _proxy, bytes calldata _data)\n        external\n        onlyProxyAdmin(_proxy)\n    {\n        _proxy.acceptUpgradeAndCall(_data);\n    }\n}"
}