provwasm_std/lib.rs
1/// The version (commit hash) of the Cosmos SDK used when generating this library.
2pub const PROVENANCE_VERSION: &str = include_str!("types/PROVENANCE_COMMIT");
3
4pub mod metadata_address;
5pub mod shim;
6#[allow(
7 deprecated,
8 unused_imports,
9 clippy::large_enum_variant,
10 clippy::too_many_arguments,
11 clippy::doc_overindented_list_items,
12 clippy::doc_lazy_continuation
13)]
14pub mod types;
15
16// Coin conversion functions are only available when cosmos-base feature is enabled
17#[cfg(feature = "cosmos-base")]
18pub use shim::{cosmwasm_to_proto_coins, try_proto_to_cosmwasm_coins};
19
20// Indicate that smart contracts that use this lib can only be run on the Provenance Blockchain.
21#[no_mangle]
22extern "C" fn requires_provenance() {}