Skip to main content

neo_entry

Attribute Macro neo_entry 

Source
#[neo_entry]
Expand description

Neo N3 Entry Point macro

This macro marks a function as a Neo N3 contract entry point.

§Example

#[neo_entry]
pub fn deploy() -> NeoResult<()> {
    // Deployment logic
    Ok(())
}