cw_orch_interchain_core/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! This crate aims at providing types, structures and traits for implementing an IBC execution/analysis environment
//! It provides helpers and a common structure to make the code as environment agnostic as possible
//! Just like cw-orch as a whole it aims at unifying the developer experience inside tests/scripts/maintenance processes.

#![warn(missing_docs)]
pub mod channel;

/// Contains definitions of the main trait exposed by this crate
pub mod env;

/// Contains default acknowledgment parsers
mod ack_parser;
mod error;

pub(crate) mod analysis;
pub(crate) mod ibc_query;
pub(crate) mod packet;
/// Type definition for interchain structure and return types
pub mod results;
pub(crate) mod tx;

pub use ack_parser::IbcAckParser;
pub use analysis::PacketAnalysis;
pub use env::{contract_port, InterchainEnv};
pub use error::InterchainError;
pub use ibc_query::IbcQueryHandler;
pub use packet::{
    success::{IbcAppResult, IbcPacketResult, SuccessNestedPacketsFlow, SuccessSinglePacketFlow},
    IbcPacketInfo, IbcPacketOutcome, NestedPacketsFlow, SinglePacketFlow,
};
pub use tx::TxId;