def METHOD_NAME(
    contract_name, params, deployments, symbol: str = "::"
) -> Dict[str, Any]:
    """Process deployment params for a contract."""
    processed_params = dict()
    for k, v in params.items():
        if isinstance(v, str) and (v.startswith(symbol) and v.endswith(symbol)):
            dependency_expression = v.strip(symbol)
            dependency_name, attribute_name = dependency_expression.split(".")
            try:
                v = getattr(deployments[dependency_name], attribute_name)
            except KeyError:
                raise ValueError(f"Contract {contract_name} not found in deployments")
            except AttributeError:
                raise ValueError(
                    f"Attribute {attribute_name} not found in {dependency_name}"
                )
        processed_params[k] = v
    return processed_params