mod callback;
mod checks;
mod ibc_msg;

use cosmwasm_std::IbcOrder;

pub use crate::{
    callback::IbcResponseMsg,
    checks::{check_order, check_version, SimpleIcaError},
    ibc_msg::{
        BalancesResponse, DispatchResponse, IbcQueryResponse, RegisterResponse,
        SendAllBackResponse, StdAck, WhoAmIResponse,
    },
};

pub const IBC_APP_VERSION: &str = "abstract-ica-v1";
pub const APP_ORDER: IbcOrder = IbcOrder::Unordered;
// we use this for tests to ensure it is rejected
pub const BAD_APP_ORDER: IbcOrder = IbcOrder::Ordered;
