abstract-interface-testing 0.15.1

Abstract deployment helpers with cw-orchestrator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use abstract_core::ibc_host::*;
use cosmwasm_std::Empty;

use cw_orch::{interface, prelude::*};

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

impl<Chain: CwEnv> OsmosisHost<Chain> {
    pub fn new(name: &str, chain: Chain) -> Self {
        Self(cw_orch::contract::Contract::new(name, chain))
    }
}