1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! # Abstract Api
//!
//! Basis for an interfacing contract to an external service.
use cosmwasm_std::{Empty, Response};

pub use error::HostError;

pub use crate::state::Host;
pub mod account_commands;
pub mod chains;
pub mod endpoints;
pub mod error;
/// Abstract SDK trait implementations
pub mod features;
mod handler;
pub(crate) mod host_commands;
mod schema;
pub mod state;

// Default to Empty
pub type ApiResult<C = Empty> = Result<Response<C>, HostError>;