1
2
3
4
5
6
7
8
9
10
11
12
13
14
use abstract_core::ibc_host::*;
use boot_core::{contract, Contract, CwEnv};
use cosmwasm_std::Empty;

#[contract(InstantiateMsg, Empty, QueryMsg, MigrateMsg)]
pub struct OsmosisHost<Chain>;

impl<Chain: CwEnv> OsmosisHost<Chain> {
    pub fn new(name: &str, chain: Chain) -> Self {
        let mut contract = Contract::new(name, chain);
        contract = contract.with_wasm_path("abstract_osmosis_host");
        Self(contract)
    }
}