polytone_proxy/
state.rs

1use cosmwasm_std::{Addr, SubMsgResponse};
2use cw_storage_plus::Item;
3
4/// Stores the instantiator of the contract.
5pub const INSTANTIATOR: Item<Addr> = Item::new("owner");
6
7/// Stores a list of callback's currently being collected. Has no
8/// value if none are being collected.
9pub const COLLECTOR: Item<Vec<Option<SubMsgResponse>>> = Item::new("callbacks");