pub mod exts;
pub mod cred;
pub mod signed;
pub mod errors;
pub mod exp;
#[cfg(not(feature = "wasm"))]
mod ts;
#[cfg(not(feature = "wasm"))]
mod bin;
#[cfg(not(feature = "wasm"))]
mod uint;
#[cfg_attr(feature="wasm", derive(serde::Deserialize))]
pub struct ContractVersion {
pub contract: crate::String,
pub version: crate::String,
}
pub mod binary {
#[cfg(not(feature = "wasm"))]
pub use super::bin::{Binary, to_json_binary, from_json, to_json_string};
#[cfg(feature = "wasm")]
pub use crate::wasm::{Binary, to_json_binary, from_json, to_json_string};
}
pub mod timestamp {
#[cfg(not(feature = "wasm"))]
pub use super::ts::Timestamp;
#[cfg(feature = "wasm")]
pub use crate::wasm::Timestamp;
}
pub mod uints {
#[cfg(not(feature = "wasm"))]
pub use super::uint::{Uint128, Uint64};
#[cfg(feature = "wasm")]
pub use crate::wasm::{Uint128, Uint64};
}