cw_vault_token/lib.rs
1#![warn(rust_2021_compatibility, future_incompatible, nonstandard_style)]
2#![forbid(unsafe_code)]
3#![deny(bare_trait_objects, unused_doc_comments, unused_import_braces)]
4#![warn(missing_docs)]
5
6//! # Cosmwasm Vault Token
7//!
8//! ## Description
9//!
10//! An abstraction for different ways of implementing a vault token.
11//! This crate defines a set of traits that define the behavior of a vault
12//! token. Two implementations are provided, one for an Osmosis native denom
13//! minted through the TokenFactory module and one for Cw4626 tokenized vaults.
14//! See the cosmwasm-vault-standard crate for more information about tokenized
15//! vaults.
16
17/// Error Handling
18mod error;
19
20/// CW4626 and Denom impl
21mod implementations;
22
23/// Traits functionality interface
24mod traits;
25
26pub use error::*;
27pub use implementations::*;
28pub use traits::*;