Crate cw_iper_test
source ·Expand description
cw-iper-test
Re-exports§
pub use anyhow;pub use cw_multi_test;pub use serde_json;pub use strum;pub use strum_macros;
Modules§
- Default
IbcApplications
Macros§
- Router closure
Structs§
- Structure containing the basic info of a
IperApp. - This structure acts as a wrapper containing all
IperApp. - Structure containing the various
ibc closures cw-iper-testCore Structure- Wrapper struct to store both default
Contracttrait and optional [IbcContract] trait - The
IperIbcModuleis the default struct used in anIperAppas anIBC moduleand contains allIbcApplication. - The
IperStargateModuleis the default struct used in anIperAppas anStargate moduleand contains allStargateApplication. - Middleware::mid_packet_receive_after Err Result type.
- Middleware::mid_packet_receive_after Ok Result type.
Err[InfallibleResult] fromIbcApplication::packet_receive. Any changes on theStorageemitted duringIbcApplication::packet_receivewill be reverted.
Enums§
- Define how the ack has to be handled
- Define the
porttype of a ibc-channel - Enum rappresenting how the flow has to be controlled when triggering the
beforevariant ofMiddlewarefunctions.
Traits§
- Trait implemented in
AppBuilderwhere: - Trait implemented in
AppBuilderwhere: - Extension of
ContractWrapper, allowing to transform it intoContractdirectly - This trait identifies a generic
IBC application(e.g.,IC20,ICA, etc.) that is managed by theIperIbcModule. TheIperIbcModuleis a structure implementing bothIbcandModuletraits and serves as theIBC modulefor theAppclass of anIperApp. - This trait is used to implement the
port_namefor aIbcApplication. - This trait allow to reproduce the functionality of Middleware ibc application (like IbcHook).
Middlewareallow to wrap anotherIbcApplicationand and alter/implement functionality when one of the various functions that theIbcApplicationimplements is called. - This trait identifies a generic
Stargate application(e.g.,TokenFactory,IC20) that is managed by theIperStargateModule. - Trait required by
StargateApplication. - Trait required by
StargateApplicationfor the managment oftype_urls.