#[neo_validate]
Neo N3 Validation macro
This macro generates validation for a Neo N3 contract.
#[neo_validate] pub fn validate_value(value: NeoInteger) -> NeoResult<()> { if value < NeoInteger::zero() { return Err(NeoError::InvalidArgument); } Ok(()) }