(contract: AztecAddress, noteHash: Fr)
| 34 | * @returns A siloed note hash. |
| 35 | */ |
| 36 | export function siloNoteHash(contract: AztecAddress, noteHash: Fr): Promise<Fr> { |
| 37 | return poseidon2HashWithSeparator([contract, noteHash], DomainSeparator.SILOED_NOTE_HASH); |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Computes a unique note hash. |
no test coverage detected