Skip to main content

utils

Standalone Functions

compute_siloed_hash

compute_siloed_hash(contract_address, unique_note_hash);

Parameters

NameType
contract_addressAztecAddress
unique_note_hashField

compute_unique_hash

compute_unique_hash(nonce, inner_note_hash);

Parameters

NameType
nonceField
inner_note_hashField

compute_inner_note_hash

compute_inner_note_hash(note);

Parameters

NameType
noteNote

compute_unique_note_hash

compute_unique_note_hash(note_with_header);

Parameters

NameType
note_with_headerNote

compute_siloed_note_hash

compute_siloed_note_hash(note_with_header);

Parameters

NameType
note_with_headerNote

compute_siloed_nullifier

compute_siloed_nullifier(note_with_header, context);

Parameters

NameType
note_with_headerNote
context&mut PrivateContext

compute_note_hash_for_insertion

compute_note_hash_for_insertion(note);

Parameters

NameType
noteNote

compute_note_hash_for_read_request

compute_note_hash_for_read_request(note);

Parameters

NameType
noteNote

compute_note_hash_for_consumption

compute_note_hash_for_consumption(note);

Parameters

NameType
noteNote

compute_note_hash_and_optionally_a_nullifier

compute_note_hash_and_optionally_a_nullifier(// docs);

Parameters

NameType
// docsstart