Receives the storage_slot of the crate::state_vars::StateVariable that holds the note, plus any arbitrary
note data. This typically includes randomness, owner, and domain specific values (e.g. numeric amount, address,
id, etc.).
Usage of this function guarantees that different state variables will never produce colliding note hashes, even if
their underlying notes have different implementations.
Computes a domain-separated note hash.
Receives the
storage_slotof thecrate::state_vars::StateVariablethat holds the note, plus any arbitrary notedata. This typically includes randomness, owner, and domain specific values (e.g. numeric amount, address, id, etc.).Usage of this function guarantees that different state variables will never produce colliding note hashes, even if their underlying notes have different implementations.