Crate ibc_app_nft_transfer_types
source ·Expand description
Implementation of the IBC Non-Fungible Token Transfer (ICS-721) data structures.
Modules§
- Defines the Non-Fungible Token Transfer (ICS-721) error types.
- Defines Non-Fungible Token Transfer (ICS-721) event types.
- Defines the Non-Fungible Token Transfer (ICS-721) message types.
- Contains the
PacketData
type that defines the structure of NFT transfers’ packet bytes - Re-exports ICS-721 NFT transfer proto types from the
ibc-proto
crate.
Structs§
- Class data for an NFT
- Class ID for an NFT
- Class URI for an NFT
- Represents the token transfer memo
- Prefixed class to trace sources like ICS-20 PrefixedDenom
- Token data for an NFT
- Token ID for an NFT
- Token URI for an NFT
- A full trace path modelled as a collection of
TracePrefix
s. - One hop in a token’s trace, which consists of the port and channel IDs of the sender
Constants§
- The successful string used for creating an acknowledgement status, equivalent to
base64::encode(0x01)
. - Module identifier for the ICS-721 application.
- The port identifier that the ICS-721 applications typically bind with.
- ICS-721 application current version.
Functions§
- Returns a successful acknowledgement status for the NFT transfer application.
- Returns true if the class ID originally came from the receiving chain and false otherwise.
- Returns true if the class ID originally came from the sender chain and false otherwise.