aztec-nr - noir_aztec::note::lifecycle

Function create_note

pub fn create_note<Note>(
    context: &mut PrivateContext,
    storage_slot: Field,
    note: Note,
) -> NoteEmission<Note>
where Note: NoteType, Note: NoteHash, Note: Packable