abstract-ans-host 0.22.1

Abstract Name Service Contract
Documentation
1
2
3
4
5
6
7
8
9
10
11
use abstract_std::ans_host::ExecuteMsg;
use cosmwasm_std::{
    testing::{mock_env, mock_info},
    DepsMut,
};

use crate::{contract, contract::AnsHostResult};

pub(crate) fn execute_as(deps: DepsMut, sender: &str, msg: ExecuteMsg) -> AnsHostResult {
    contract::execute(deps, mock_env(), mock_info(sender, &[]), msg)
}