use abstract_sdk::base::{AbstractContract, Handler}; use cosmwasm_std::Empty; use crate::{state::ContractError, AdapterContract}; impl Handler for AdapterContract { type Error = Error; type CustomInitMsg = InitMsg; type CustomExecMsg = ExecMsg; type CustomQueryMsg = QueryMsg; type CustomMigrateMsg = Empty; type SudoMsg = SudoMsg; fn contract(&self) -> &AbstractContract { &self.contract } }