ckb_ssri_std/
macros.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! Re-exports of procedural macros from ckb-ssri-std-proc-macro
//!
//! This module provides convenient access to all procedural macros defined in the
//! `ckb-ssri-std-proc-macro` crate. These macros are essential for implementing
//! SSRI-compliant smart contracts.
//!
//! # Available Macros
//!
//! - `ssri_module`: Marks a module as an SSRI-compliant module
//! - `ssri_method`: Marks a function as an exposed SSRI method
//!
//! # Example
//!
//! ```ignore
//! use ckb_ssri_std::macros::*;
//!
//! #[ssri_module]
//! mod my_contract {
//!     #[ssri_method]
//!     fn my_method() -> Result<(), Error> {
//!         // Implementation
//!     }
//! }
//! ```

pub use ckb_ssri_std_proc_macro::*;