#[note_script]Expand description
Marks a method as the note script entrypoint (#[note_script]).
The method must be contained within an inherent impl block annotated with #[note].
ยงSupported entrypoint signature
- Receiver must be plain
self(by value);&self,&mut self,mut self, and typed receivers (e.g.self: Box<Self>) are not supported. - The method must return
(). - Excluding
self, the method must accept:- exactly one
Wordargument, and - optionally a single
&Accountor&mut Accountargument (in either order).
- exactly one
- Generic methods and
async fnare not supported.