Calculate the address of a module to be deployed via the Registry.
bytes32 salt = keccak256(abi.encodePacked("SALT")); bytes memory initCode = abi.encodePacked(type(Module).creationCode); address moduleAddress = registry.calcModuleAddress(salt, initCode);
bytes32
The salt value to use for the module deployment.
bytes
The initialization code for the module deployment.
address
The address of the module.