Module note

Source

Structs§

AfterBlockNumber
A wrapper around a block number which enforces that it is not u32::MAX.
Note
A note with all the data required for it to be consumed by executing it against the transaction kernel.
NoteAssets
An asset container for a note.
NoteDetails
Details of a note consisting of assets, script, inputs, and a serial number.
NoteHeader
Holds the strictly required, public information of a note.
NoteId
Returns a unique identifier of a note, which is simultaneously a commitment to the note.
NoteInclusionProof
Contains the data required to prove inclusion of a note in the canonical chain.
NoteInputs
A container for note inputs.
NoteLocation
Contains information about the location of a note.
NoteMetadata
Metadata associated with a note.
NoteRecipient
Value that describes under which condition a note can be consumed.
NoteScript
An executable program of a note.
Nullifier
A note’s nullifier.
PartialNote
Partial information about a note.

Enums§

NoteExecutionHint
Specifies the conditions under which a note is ready to be consumed. These conditions are meant to be encoded in the note script as well.
NoteExecutionMode
super::Note’s execution mode hints.
NoteFile
A serialized representation of a note.
NoteTag
NoteTag`s are best effort filters for notes registered with the network.
NoteType

Functions§

compute_note_commitment
Returns a commitment to the note and its metadata.