package
1.1.3-ibc-v7.3.0
Repository: https://github.com/bianjieai/nft-transfer.git
Documentation: pkg.go.dev
# Functions
DefaultGenesisState returns a GenesisState with "nft-transfer" as the default PortID.
DefaultParams is the default parameter configuration for the ibc-transfer module.
GetClassPrefix returns the receiving class prefix.
GetEscrowAddress returns the escrow address for the specified channel.
No description provided by the author
IsAwayFromOrigin determine if non-fungible token is moving away from the origin chain (the chain issued by the native nft).
No description provided by the author
NewGenesisState creates a new ibc nft-transfer GenesisState instance.
No description provided by the author
NewMsgTransfer creates a new MsgTransfer instance
nolint:interfacer.
NewNonFungibleTokenPacketData constructs a new NonFungibleTokenPacketData instance.
NewParams creates a new parameter configuration for the ibc transfer module.
No description provided by the author
ParseClassTrace parses a string with the ibc prefix (class trace) and the base classID into a ClassTrace type.
ParseHexHash parses a hex hash in string format to bytes and validates its correctness.
ProtoMarshalJSON provides an auxiliary function to return Proto3 JSON encoded bytes of a message.
RegisterInterfaces register the ibc nft-transfer module interfaces to protobuf Any.
RegisterLegacyAminoCodec registers the necessary nft-transfer interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
RemoveClassPrefix returns the unprefixed classID.
# Constants
IBC transfer events.
IBC transfer events.
IBC transfer events.
IBC transfer events.
IBC transfer events.
IBC transfer events.
IBC transfer events.
IBC transfer events.
ClassPrefix is the prefix used for internal SDK non-fungible token representation.
DefaultReceiveEnabled enabled.
DefaultSendEnabled enabled.
IBC transfer events.
IBC transfer events.
IBC transfer events.
IBC transfer events.
IBC transfer events.
ModuleName defines the IBC nft-transfer name.
PortID is the default port id that nft-transfer module binds to.
QuerierRoute is the querier route for IBC nft-transfer.
RouterKey is the message route for IBC nft-transfer.
StoreKey is the store key string for IBC nft-transfer.
msg types.
Version defines the current version the IBC nft-transfer module supports.
# Variables
AminoCdc is a amino codec created to support amino json compatible msgs.
ClassTraceKey defines the key to store the class trace info in store.
DefaultRelativePacketTimeoutHeight is the default packet timeout height (in blocks) relative to the current block height of the counterparty chain provided by the client state.
DefaultRelativePacketTimeoutTimestamp is the default packet timeout timestamp (in nanoseconds) relative to the current block timestamp of the counterparty chain provided by the client state.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IBC transfer sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IBC transfer sentinel errors.
IBC transfer sentinel errors.
IBC transfer sentinel errors.
IBC transfer sentinel errors.
IBC transfer sentinel errors.
IBC transfer sentinel errors.
IBC transfer sentinel errors.
IBC transfer sentinel errors.
IBC transfer sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModuleCdc references the global nft-transfer module codec.
ParamsKey is the key to query all nft_transfer params.
PortKey defines the key to store the port ID in store.
# Structs
ClassTrace contains the base classID for ICS721 non-fungible tokens and the source tracing information path.
GenesisState defines the ibc-nft-transfer genesis state.
MsgTransfer defines a msg to transfer non fungible tokens between ICS721 enabled chains.
MsgTransferResponse defines the Msg/Transfer response type.
MsgUpdateParams is the Msg/UpdateParams request type.
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
NonFungibleTokenPacketData defines a struct for the packet payload See NonFungibleTokenPacketData spec: https://github.com/cosmos/ibc/tree/master/spec/app/ics-721-nft-transfer#data-structures.
Params defines the set of IBC nft-transfer parameters.
QueryClassHashRequest is the request type for the Query/ClassHash RPC method.
QueryClassHashResponse is the response type for the Query/ClassHash RPC method.
QueryClassTraceRequest is the request type for the Query/ClassDenom RPC method.
QueryClassTraceResponse is the response type for the Query/ClassDenom RPC method.
QueryConnectionsRequest is the request type for the Query/ClassTraces RPC method.
QueryClassTracesResponse is the response type for the Query/ClassTraces RPC method.
QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method.
QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method.
QueryParamsRequest is request type for the Query/Params RPC method.
QueryParamsResponse is response type for the Query/Params RPC method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
# Interfaces
AccountKeeper defines the contract required for account APIs.
ChannelKeeper defines the expected IBC channel keeper.
Class defines the interface specifications of collection that can be transferred across chains.
ICS4Wrapper defines the expected ICS4Wrapper for middleware.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
NFT defines the interface specification of nft that can be transferred across chains.
NFTKeeper defines the expected nft keeper.
PortKeeper defines the expected IBC port keeper.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
# Type aliases
Traces defines a wrapper type for a slice of DenomTrace.