pub fn GetDeployAddress(
caller_address: Option<&ContractAddress>,
nonce: &SHA256Hash,
contract_hash: &SHA256Hash,
) -> Result<ContractAddress, SysErr>Expand description
Computes the address that would be deployed for a contract with the given deployer address, nonce, and contract hash. This is a pure computation and does not actually deploy the contract. If caller_address is omitted, the current contract’s address is used, giving the address DeployContract would use.
§Arguments
caller_addressnoncecontract_hash
§Outputs
to_be_deployed
This is a convenience wrapper around uninit_GetDeployAddress that returns the result as SyscallResult<T>.