Crate ibc_app_transfer_types

source ·
Expand description

Implementation of the IBC fungible token transfer (ICS-20) data structures.

Modules§

  • Defines the token transfer error type
  • Defines all token transfer event types
  • Defines the token transfer message type
  • Contains the PacketData type that defines the structure of token transfers’ packet bytes
  • Re-exports ICS-20 token transfer proto types from the ibc-proto crate.

Structs§

  • A type for representing token transfer amounts.
  • The “base” of a denomination.
  • Coin defines a token with a denomination and an amount.
  • Represents the token transfer memo
  • A type that contains the base denomination for ICS20 and the source tracing information path.
  • A full trace path modelled as a collection of TracePrefixs.
  • One hop in a token’s trace, which consists of the port and channel IDs of the sender
  • Re-exports U256 from primitive-types crate for convenience. Little-endian large integer type 256-bit unsigned integer.

Constants§

  • The successful string used for creating an acknowledgement status, equivalent to base64::encode(0x01).
  • Module identifier for the ICS20 application.
  • The port identifier that the ICS20 applications typically bind with.
  • ICS20 application current version.

Functions§

  • Returns a successful acknowledgement status for the token transfer application.
  • Returns true if the denomination originally came from the receiving chain and false otherwise.
  • Returns true if the denomination originally came from the sender chain and false otherwise.

Type Aliases§