cw1155/
lib.rs

1/*!
2CW1155 is a specification for managing multiple tokens based on CosmWasm.
3The name and design is based on Ethereum's ERC1155 standard.
4
5The specification is split into multiple sections, a contract may only
6implement some of this functionality, but must implement the base.
7
8Fungible tokens and non-fungible tokens are treated equally, non-fungible tokens just have one max supply.
9
10Approval is set or unset to some operator over entire set of tokens. (More nuanced control is defined in
11[ERC1761](https://eips.ethereum.org/EIPS/eip-1761))
12
13For more information on this specification, please check out the
14[README](https://github.com/CosmWasm/cw-plus/blob/main/packages/cw1155/README.md).
15*/
16
17pub use cw_utils::Expiration;
18
19pub use crate::event::{ApproveAllEvent, MetadataEvent, TransferEvent};
20pub use crate::msg::{Cw1155ExecuteMsg, TokenId};
21pub use crate::query::{
22    Approval, ApprovedForAllResponse, BalanceResponse, BatchBalanceResponse, Cw1155QueryMsg,
23    IsApprovedForAllResponse, TokenInfoResponse, TokensResponse,
24};
25pub use crate::receiver::{Cw1155BatchReceiveMsg, Cw1155ReceiveMsg};
26
27mod event;
28mod msg;
29mod query;
30mod receiver;