1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![forbid(unsafe_code)]
#![warn(trivial_casts, trivial_numeric_casts, unused_import_braces)]

/// The version (commit hash) of the Cosmos SDK used when generating this library.
pub const CLASSIC_VERSION: &str = include_str!("types/TERRA_COMMIT");

pub const TREASURY_MODULE: &str = "treasury";
pub const ORACLE_MODULE: &str = "oracle";
pub const MARKET_MODULE: &str = "market";

pub mod shim;

#[allow(deprecated)]
pub mod types;

pub use shim::{cosmwasm_to_proto_coins, try_proto_to_cosmwasm_coins};