Expand description
IBC library code
Re-exports§
pub use context::ValidationParams;pub use context::common::IbcCommonContext;pub use context::nft_transfer::NftTransferContext;pub use context::nft_transfer_mod::NftTransferModule;pub use context::storage::IbcStorageContext;pub use context::token_transfer::TokenTransferContext;pub use context::transfer_mod::ModuleWrapper;pub use context::transfer_mod::TransferModule;
Modules§
- apps
- Re-exports implementations of various IBC applications.
- clients
- Re-exports implementations of IBC light clients.
- context
- IBC Contexts
- core
- Re-exports implementations of all the IBC core (TAO) modules.
- cosmos_
host - Re-exports Cosmos-specific utility types, traits, and implementations.
- derive
- Re-exports convenient derive macros from
ibc-derivecrate. - event
- IBC event related types
- parameters
- IBC system parameters
- primitives
- Re-exports primitive types and traits from the
ibc-primitivescrate. - storage
- Functions for IBC-related data to access the storage
- trace
- Functions for IBC token
- vp
- IBC integration as a native validity predicate
Structs§
- IbcActions
- IBC actions to handle IBC operations
- IbcShielding
Data - Shielding data in IBC packet memo
- IbcToken
Hash - IBC token hash derived from a denomination.
- Internal
Data - Internal transfer data extracted from the wrapping IBC transaction
- MsgNft
Transfer - IBC NFT transfer message with
Transfer - MsgTransfer
- IBC transfer message with
Transfer - Namada
Memo - Memo data serialized as a JSON object included in IBC packets.
- NftClass
- NFT class
- NftMetadata
- NFT metadata
- Osmosis
Swap Memo Data - Osmosis swap memo data.
- Osmosis
Swap Memo Data Inner - Osmosis swap inner memo data.
- PGFIbc
Target - The target of a PGF payment
- Proof
Spec - Store
- IBC storage
Keys/Read/Writeimplementation
Enums§
- Error
- IbcMessage
- The different variants of an Ibc message
- Namada
Memo Data - Data included in a Namada memo.
Constants§
- COMMITMENT_
PREFIX - The commitment prefix for the ICS23 commitment proof
- EVENT_
TYPE_ NFT_ PACKET - The event type defined in ibc-rs for receiving an NFT
- EVENT_
TYPE_ PACKET - The event type defined in ibc-rs for receiving a token
- IBC_
ESCROW_ ADDRESS - The escrow address for IBC transfer
Traits§
- Valid
Namada Memo - Marker trait that denotes whether an IBC memo is valid in Namada.
Functions§
- convert_
masp_ tx_ to_ ibc_ memo - Get IBC memo string from MASP transaction for receiving
- decode_
ibc_ shielding_ data - Decode IBC shielding data from the string
- decode_
message - Tries to decode transaction data to an
IbcMessage - extract_
masp_ tx_ from_ envelope - Extract MASP transaction from IBC envelope
- extract_
masp_ tx_ from_ packet - Extract MASP transaction from IBC packet memo
- extract_
traces_ from_ recv_ msg - Extract the traces used in a receive packet message
- finalize_
block - Update IBC-related data when finalizing block
- get_
last_ sequence_ send - Return the last sequence send
- init_
genesis_ storage - Initialize storage in the genesis block.
- received_
ibc_ token - Get the IbcToken from the source/destination ports and channels
- transfer_
over_ ibc - Transfer tokens over IBC
Type Aliases§
- IbcTx
Data Hash - IBC transaction data section hash