abstract_cw1_subkeys/lib.rs
1/*!
2This builds on [`cw1_whitelist`] to provide the first non-trivial solution.
3It still works like [`cw1_whitelist`] with a set of admins (typically 1)
4which have full control of the account. However, you can then grant
5a number of accounts allowances to send native tokens from this account.
6
7This was proposed in Summer 2019 for the Cosmos Hub and resembles the
8functionality of ERC20 (allowances and transfer from).
9
10For more information on this contract, please check out the
11[README](https://github.com/CosmWasm/cw-plus/blob/main/contracts/cw1-subkeys/README.md).
12*/
13
14pub mod contract;
15mod error;
16pub mod msg;
17pub mod state;
18
19pub use crate::error::ContractError;