1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
use abstract_os::{api::InstantiateMsg, tendermint_staking::*};
use boot_core::{prelude::boot_contract, BootEnvironment, Contract};
use cosmwasm_std::Empty;
#[boot_contract(InstantiateMsg, ExecuteMsg, QueryMsg, Empty)]
pub struct TMintStakingApi<Chain>;
impl<Chain: BootEnvironment> TMintStakingApi<Chain> {
pub fn new(name: &str, chain: Chain) -> Self {
Self(
Contract::new(name, chain).with_wasm_path("tendermint_staking"),
// .with_mock(Box::new(
// ContractWrapper::new_with_empty(
// ::contract::execute,
// ::contract::instantiate,
// ::contract::query,
// ),
// ))
)
}
}