#[neo_method]
Neo N3 Method macro
This macro marks a function as a Neo N3 contract method.
#[neo_method] pub fn my_method(&self, arg: NeoInteger) -> NeoResult<NeoString> { // Method implementation Ok(NeoString::from_str("Hello, Neo!")) }