cw20_ics20/lib.rs
1/*!
2This is an *IBC Enabled* contract that allows us to send CW20 tokens from one chain over the standard ICS20
3protocol to the bank module of another chain. In short, it lets us send our custom CW20 tokens with IBC and use
4them just like native tokens on other chains.
5
6It is only designed to send tokens and redeem previously sent tokens. It will not mint tokens belonging
7to assets originating on the foreign chain. This is different than the Golang `ibctransfer` module, but
8we properly implement ICS20 and respond with an error message... let's hope the Go side handles this correctly.
9
10For more information on this contract, please check out the
11[README](https://github.com/CosmWasm/cw-plus/blob/main/contracts/cw20-ics20/README.md).
12*/
13
14pub mod amount;
15pub mod contract;
16mod error;
17pub mod ibc;
18mod migrations;
19pub mod msg;
20pub mod state;
21mod test_helpers;
22
23pub use crate::error::ContractError;