abstract_interface/native/
ibc_host.rs1pub use abstract_std::ibc_host::{ExecuteMsg, InstantiateMsg, MigrateMsg, QueryMsg};
2use cw_orch::{interface, prelude::*};
3
4#[interface(InstantiateMsg, ExecuteMsg, QueryMsg, MigrateMsg)]
5pub struct IbcHost<Chain>;
6
7impl<Chain: CwEnv> cw_blob::interface::DeterministicInstantiation<Chain> for IbcHost<Chain> {}
8
9impl<Chain: CwEnv> Uploadable for IbcHost<Chain> {
10 fn wrapper() -> <Mock as TxHandler>::ContractSource {
11 Box::new(
12 ContractWrapper::new_with_empty(
13 ibc_host::contract::execute,
14 ibc_host::contract::instantiate,
15 ibc_host::contract::query,
16 )
17 .with_migrate(ibc_host::contract::migrate)
18 .with_reply(ibc_host::contract::reply),
19 )
20 }
21 fn wasm(_chain: &ChainInfoOwned) -> WasmPath {
22 artifacts_dir_from_workspace!()
23 .find_wasm_path("ibc_host")
24 .unwrap()
25 }
26}