get_contract_instance_from_instantiation_params

Function get_contract_instance_from_instantiation_params 

pub fn get_contract_instance_from_instantiation_params(
    artifact: &ContractArtifact,
    params: ContractInstantiationParams<'_>,
) -> Result<ContractInstanceWithAddress, Error>
Expand description

Compute a contract instance (with derived address) from an artifact and instantiation parameters.

This is the shared helper used by both generic contract deployment and account address pre-computation.