neo_solidity/neo.rs
1//! Neo N3 Utilities Module
2//!
3//! Provides Neo N3 blockchain-specific utilities for NEF (Neo Executable Format)
4//! generation and method tokens.
5//!
6//! # Key Components
7//!
8//! - [`MethodToken`] - Cross-contract call optimization tokens
9//! - [`build_nef_with_tokens`] - NEF file generation with method tokens
10//! - [`clamp_nef_source_with_flag`] - Source code embedding in NEF
11//!
12//! # NEF Format
13//!
14//! The Neo Executable Format (NEF) is the standard container for Neo N3 smart
15//! contracts, containing bytecode, metadata, and optional method tokens.
16
17use sha2::{Digest, Sha256};
18use std::borrow::Cow;
19
20include!("neo/constants.rs");
21include!("neo/method_token.rs");
22include!("neo/build.rs");
23include!("neo/encoding.rs");
24include!("neo/source.rs");
25include!("neo/contract_hash.rs");
26
27#[cfg(test)]
28mod tests;