Skip to main content

neo_storage

Attribute Macro neo_storage 

Source
#[neo_storage]
Expand description

Neo N3 Storage macro

This macro generates storage operations for a Neo N3 contract.

§Example

#[neo_storage]
pub struct MyStorage {
    pub value: NeoInteger,
    pub name: NeoString,
}