komple_framework_merge_module/
state.rs1use cosmwasm_schema::cw_serde;
2use komple_framework_types::shared::{
3 CONFIG_NAMESPACE, EXECUTE_LOCK_NAMESPACE, OPERATORS_NAMESPACE, PARENT_ADDR_NAMESPACE,
4};
5
6use cosmwasm_std::Addr;
7use cw_storage_plus::Item;
8
9#[cw_serde]
10pub struct Config {
11 pub admin: Addr,
12 pub merge_lock: bool,
13}
14pub const CONFIG: Item<Config> = Item::new(CONFIG_NAMESPACE);
15
16pub const HUB_ADDR: Item<Addr> = Item::new(PARENT_ADDR_NAMESPACE);
18
19pub const OPERATORS: Item<Vec<Addr>> = Item::new(OPERATORS_NAMESPACE);
21
22pub const EXECUTE_LOCK: Item<bool> = Item::new(EXECUTE_LOCK_NAMESPACE);