aztec-nr - noir_aztec::macros::functions::initialization_utils

Function compute_initialization_hash

pub fn compute_initialization_hash(
    init_selector: FunctionSelector,
    init_args_hash: Field,
) -> Field

This function is not only used in macros but it's also used by external people to check that an instance has been initialized with the correct constructor arguments. Don't hide this unless you implement factory functionality.