Crate cw_orch_interchain_core

Crate cw_orch_interchain_core 

Source
Expand description

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.

Re-exports§

pub use env::contract_port;
pub use env::InterchainEnv;

Modules§

channel
This defines types and traits associated with IBC channels.
env
Contains definitions of the main trait exposed by this crate This module contains the trait definition for an interchain analysis environment
results
Type definition for interchain structure and return types

Structs§

IbcPacketInfo
Structure to hold simple information about a sent packet
IbcPacketResult
Success packet outcome. This is the result of a packet analysis. The T generic is used to allow for raw transactions or analyzed transactions to be used
NestedPacketsFlow
The result of awaiting all packets sent across IBC during a single transaction.
SinglePacketFlow
The result of awaiting the Lifecycle of Single packet across IBC
SuccessNestedPacketsFlow
The result of following all packets sent across IBC during a single transaction.
SuccessSinglePacketFlow
Success Packet Flow. This is the result of a packet analysis.
TxId
Identifies a transaction

Enums§

IbcAckParser
Struct used to centralize all the pre-defined ack types
IbcAppResult
Contains the result (ack success) associated with various Ibc applications
IbcPacketOutcome
Raw packet outcome The T generic is used to allow for raw transactions or analyzed transactions to be used
InterchainError

Traits§

IbcQueryHandler
Adds additional capabilities to CwEnv for use with ibc environments
PacketAnalysis
Trait used for analysis of IBC packet flows