abstract_cw20/
lib.rs

1/*!
2CW20 is a specification for fungible tokens based on CosmWasm.
3The name and design is loosely based on Ethereum's ERC20 standard,
4but many changes have been made. The types in here can be imported by
5contracts that wish to implement this spec, or by contracts that call
6to any standard cw20 contract.
7
8For more information on this specification, please check out the
9[README](https://github.com/CosmWasm/cw-plus/blob/main/packages/cw20/README.md).
10*/
11
12pub use cw_utils::Expiration;
13
14pub use crate::balance::Balance;
15pub use crate::coin::{Cw20Coin, Cw20CoinVerified};
16pub use crate::denom::{Denom, UncheckedDenom};
17pub use crate::helpers::Cw20Contract;
18pub use crate::logo::{EmbeddedLogo, Logo, LogoInfo};
19pub use crate::msg::Cw20ExecuteMsg;
20pub use crate::query::{
21    AllAccountsResponse, AllAllowancesResponse, AllSpenderAllowancesResponse, AllowanceInfo,
22    AllowanceResponse, BalanceResponse, Cw20QueryMsg, DownloadLogoResponse, MarketingInfoResponse,
23    MinterResponse, SpenderAllowanceInfo, TokenInfoResponse,
24};
25pub use crate::receiver::Cw20ReceiveMsg;
26
27mod balance;
28mod coin;
29mod denom;
30mod helpers;
31mod logo;
32pub mod msg;
33mod query;
34mod receiver;
35
36#[cfg(test)]
37mod tests {
38    #[test]
39    fn it_works() {
40        // test me
41    }
42}