1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;
use polymesh_api_codegen_macro::*;
#[codegen_api(metadata_file = "specs/polymesh_dev_spec_5001001.meta")]
mod polymesh {}
pub use polymesh::*;
// re-export core client and common types.
#[cfg(feature = "rpc")]
pub use polymesh_api_client as client;
#[cfg(feature = "rpc")]
pub use polymesh_api_client::{ChainApi, Client};
#[cfg(feature = "ink")]
pub use polymesh_api_ink as ink;