cw_orch_interchain_core/
lib.rs

1//! This crate aims at providing types, structures and traits for implementing an IBC execution/analysis environment
2//! It provides helpers and a common structure to make the code as environment agnostic as possible
3//! Just like cw-orch as a whole it aims at unifying the developer experience inside tests/scripts/maintenance processes.
4
5#![warn(missing_docs)]
6pub mod channel;
7
8/// Contains definitions of the main trait exposed by this crate
9pub mod env;
10
11/// Contains default acknowledgment parsers
12mod ack_parser;
13mod error;
14
15pub(crate) mod analysis;
16pub(crate) mod ibc_query;
17pub(crate) mod packet;
18/// Type definition for interchain structure and return types
19pub mod results;
20pub(crate) mod tx;
21
22pub use ack_parser::IbcAckParser;
23pub use analysis::PacketAnalysis;
24pub use env::{contract_port, InterchainEnv};
25pub use error::InterchainError;
26pub use ibc_query::IbcQueryHandler;
27pub use packet::{
28    success::{IbcAppResult, IbcPacketResult, SuccessNestedPacketsFlow, SuccessSinglePacketFlow},
29    IbcPacketInfo, IbcPacketOutcome, NestedPacketsFlow, SinglePacketFlow,
30};
31pub use tx::TxId;