1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use abstract_os::api::InstantiateMsg;
use boot_core::{prelude::boot_contract, BootEnvironment, Contract};
use cosmwasm_std::Empty;
use abstract_os::tendermint_staking::*;
#[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"),
)
}
}