Skip to main content

NoteHeader

Fields

FieldType
contract_addressAztecAddress
nonceField
storage_slotField
note_hash_counteru32, // a note_hash_counter of 0 means non-transient

Methods

new

NoteHeader::new(contract_address, nonce, storage_slot);

Parameters

NameType
contract_addressAztecAddress
nonceField
storage_slotField

Standalone Functions

empty

empty();

Takes no parameters.

eq

eq(self, other);

Parameters

NameType
self
otherSelf

serialize

serialize(self);

function --> in that situation the serialize method is called by aztec-nr when computing an arguments hash.

Parameters

NameType
self