abstract_std/objects/
storage_namespaces.rs

1/// namespace key for State Item
2pub const BASE_STATE: &str = "base_state";
3/// namespace for contract Admin
4pub const ADMIN_NAMESPACE: &str = "admin";
5/// storage key for cw_ownable::Ownership
6pub const OWNERSHIP_STORAGE_KEY: &str = "ownership";
7/// storage key for ModuleData
8pub const MODULE_STORAGE_KEY: &str = "mod";
9/// Storage key for config in all modules
10pub const CONFIG_STORAGE_KEY: &str = "cfg";
11
12pub mod account {
13    pub const SUSPENSION_STATUS: &str = "aa";
14    pub const INFO: &str = "ab";
15    pub const ACCOUNT_MODULES: &str = "ac";
16    pub const DEPENDENTS: &str = "ad";
17    pub const SUB_ACCOUNTS: &str = "ae";
18    pub const WHITELISTED_MODULES: &str = "af";
19    pub const ACCOUNT_ID: &str = "ag";
20    pub const INSTALL_MODULES_CONTEXT: &str = "ah";
21    pub const MIGRATE_CONTEXT: &str = "ai";
22    pub const CALLING_TO_AS_ADMIN: &str = "aj";
23
24    // XION authentificators, could be there could be not
25    #[cfg(feature = "xion")]
26    pub const AUTH_ADMIN: &str = "ax";
27}
28
29pub mod ans_host {
30    pub const ASSET_ADDRESSES: &str = "ba";
31    pub const REV_ASSET_ADDRESSES: &str = "bb";
32    pub const CONTRACT_ADDRESSES: &str = "bc";
33    pub const CHANNELS: &str = "bd";
34    pub const REGISTERED_DEXES: &str = "be";
35    pub const ASSET_PAIRINGS: &str = "bf";
36    pub const POOL_METADATA: &str = "bg";
37}
38
39pub mod registry {
40    pub const PENDING_MODULES: &str = "ca";
41    pub const REGISTERED_MODULES: &str = "cb";
42    pub const STANDALONE_INFOS: &str = "cc";
43    pub const SERVICE_INFOS: &str = "cd";
44    pub const YANKED_MODULES: &str = "ce";
45    pub const MODULE_CONFIG: &str = "cf";
46    pub const MODULE_DEFAULT_CONFIG: &str = "cg";
47    pub const ACCOUNT_ADDRESSES: &str = "ch";
48    pub const LOCAL_ACCOUNT_SEQUENCE: &str = "ci";
49    pub const NAMESPACES: &str = "cj";
50    pub const REV_NAMESPACES: &str = "ck";
51}
52
53pub mod module_factory {
54    pub const CURRENT_BASE: &str = "da";
55}
56pub mod ibc_client {
57    pub const IBC_INFRA: &str = "ea";
58    pub const REVERSE_POLYTONE_NOTE: &str = "eb";
59    pub const ACCOUNTS: &str = "ec";
60    pub const ACKS: &str = "ed";
61    pub const ICS20_ACCOUNT_CALLBACKS: &str = "ee";
62    pub const ICS20_ACCOUNT_CALLBACK_PAYLOAD: &str = "ef";
63}
64
65pub mod ibc_host {
66    pub const CHAIN_PROXIES: &str = "fa";
67    pub const REVERSE_CHAIN_PROXIES: &str = "fb";
68    pub const TEMP_ACTION_AFTER_CREATION: &str = "fc";
69}
70
71pub mod ica_client {}