{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/gmp-sdk/deploy/Create3.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "type()",
        "keccak256(bytes)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "library Create3 {\n    using ContractAddress for address;\n\n    bytes32 internal constant DEPLOYER_BYTECODE_HASH = keccak256(type(CreateDeployer).creationCode);\n\n    /**\n     * @dev Deploys a new contract using the CREATE3 method. This function first deploys the\n     * CreateDeployer contract using the CREATE2 opcode and then utilizes the CreateDeployer\n     * to deploy the new contract with the CREATE opcode.\n     * @param salt A salt to further randomize the contract address\n     * @param bytecode The bytecode of the contract to be deployed\n     * @return deployed The address of the deployed contract\n     */\n    function deploy(bytes32 salt, bytes memory bytecode) internal returns (address deployed) {\n        deployed = deployedAddress(address(this), salt);\n\n        if (deployed.isContract()) revert AlreadyDeployed();\n        if (bytecode.length == 0) revert EmptyBytecode();\n\n        // Deploy using create2\n        CreateDeployer deployer = new CreateDeployer{ salt: salt }();\n\n        if (address(deployer) == address(0)) revert DeployFailed();\n\n        deployer.deploy(bytecode);\n    }\n\n    /**\n     * @dev Compute the deployed address that will result from the CREATE3 method.\n     * @param salt A salt to further randomize the contract address\n     * @param sender The sender address which would deploy the contract\n     * @return deployed The deterministic contract address if it was deployed\n     */\n    function deployedAddress(address sender, bytes32 salt) internal pure returns (address deployed) {\n        address deployer = address(uint160(uint256(keccak256(abi.encodePacked(hex'ff', sender, salt, DEPLOYER_BYTECODE_HASH)))));\n\n        deployed = address(uint160(uint256(keccak256(abi.encodePacked(hex'd6_94', deployer, hex'01')))));\n    }\n}"
}