我有一个 Solidity 智能合约ContractFactory,正在RSK上部署并在Hardhat中开发。ContractFactory具有deploy生成新Child智能合约的函数。\n\xe2\x80\x8b
// SPDX-License-Identifier: MIT\npragma solidity ^0.8.9;\n\xe2\x80\x8b\ncontract ContractFactory {\n event ContractDeployed(address owner, address childContract);\n\xe2\x80\x8b\n function deploy() public {\n Child newContract = new Child(msg.sender);\n emit ContractDeployed(msg.sender, address(newContract));\n }\n}\n\xe2\x80\x8b\ncontract Child {\n address owner;\n\xe2\x80\x8b\n constructor(address _owner) {\n owner = _owner;\n }\n}\nRun Code Online (Sandbox Code Playgroud)\n在调用该函数之前,我能否知道 新的智能合约将收到RSKdeploy上的哪个地址?Child