Skip to main content

neo_config

Attribute Macro neo_config 

Source
#[neo_config]
Expand description

Neo N3 Configuration macro

This macro generates configuration for a Neo N3 contract.

§Example

#[neo_config]
pub struct MyConfig {
    pub max_value: NeoInteger,
    pub min_value: NeoInteger,
}