oasis_contract_sdk/
lib.rs1#[cfg(target_arch = "wasm32")]
4pub mod abi;
5pub mod context;
6pub mod contract;
7pub mod env;
8pub mod error;
9pub mod event;
10pub mod memory;
11pub mod storage;
12#[cfg(not(target_arch = "wasm32"))]
13pub mod testing;
14
15pub use oasis_contract_sdk_types as types;
17
18pub use cbor;
20
21pub use self::{context::Context, contract::Contract, error::Error, event::Event};
23
24#[cfg(feature = "oasis-contract-sdk-macros")]
26pub use oasis_contract_sdk_macros::*;
27
28#[cfg(target_arch = "wasm32")]
30#[global_allocator]
31static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;