Skip to main content

neo_devpack_solidity/
lib.rs

1//! Neo DevPack for Solidity Library
2//!
3//! A Solidity to NeoVM bytecode compiler for Neo N3 smart contracts.
4//!
5//! # Architecture
6//!
7//! The compiler is organized into the following modules:
8//!
9//! - `solidity` - Solidity source parsing and metadata extraction
10//! - `ir` - Intermediate representation for code generation
11//! - `runtime` - NeoVM execution environment
12//! - `neo` - Neo-specific utilities (NEF, manifest)
13//! - `interop` - Neo N3 interop service identifiers (syscall IDs)
14//!
15//! Author: Jimmy <jimmy@r3e.network>
16
17// Allow referring to this crate by name (`neo_devpack_solidity::...`) internally.
18extern crate self as neo_devpack_solidity;
19
20// Core compilation modules
21pub mod ir;
22pub mod solidity;
23
24// Public CLI APIs (standard-json, NEF/manifest output, etc.)
25pub mod cli;
26
27// Neo N3 interop service identifiers
28pub mod interop;
29
30// Runtime and execution
31pub mod runtime;
32
33// Neo-specific utilities
34pub mod neo;
35pub mod storage_key;
36
37// Supporting modules
38pub mod error;
39pub mod frontend;
40pub mod semantic_model;
41pub mod type_system;
42pub mod types;
43
44// Supporting analysis and quality modules
45pub mod codegen_helpers;
46pub mod docs;
47pub mod security;
48pub mod testing;
49pub mod utils;
50pub mod validation;
51pub mod warning;
52
53// Public re-exports
54pub use error::*;
55pub use types::*;
56
57/// Compiler version
58pub const VERSION: &str = env!("CARGO_PKG_VERSION");