1 2 3 4 5 6 7 8
use crate::error::ContractError; use cosmwasm_std::Reply; use cw_utils::parse_reply_instantiate_data; pub fn get_reply_address(msg: Reply) -> Result<String, ContractError> { let res = parse_reply_instantiate_data(msg)?; Ok(res.contract_address) }