Module note_emission
Structs
- A note emission struct containing the information required for emitting a note. The exact
emitlogic is passed in by the application code - A struct wrapping note emission in
Option<T>. This is the struct provided to application codes, which can be used to emit only when a note was actually inserted. It is fairly common to have cases where a function conditionally inserts, and this allows us to keep the same API for emission in both cases (e.g. inserting a change note in a token's transfer function only when there is "change" left).