abstract_std/native/ibc/ica_client.rs
1pub mod state {
2 use cosmwasm_std::Addr;
3 use cw_storage_plus::Map;
4
5 use crate::objects::{storage_namespaces, TruncatedChainId};
6
7 /// Information about the deployed infrastructure we're connected to.
8 #[cosmwasm_schema::cw_serde]
9 pub struct IcaInfrastructure {
10 /// Address of the polytone note deployed on the local chain. This contract will forward the messages for us.
11 pub polytone_note: Addr,
12 }
13
14 pub const ICA_INFRA: Map<&TruncatedChainId, IcaInfrastructure> =
15 Map::new(storage_namespaces::ica_client::ICA_INFRA);
16}