Documentation ¶
Index ¶
- func QueryChannel(clientCtx client.Context, portID, channelID string, prove bool) (*types.QueryChannelResponse, error)
- func QueryChannelClientState(clientCtx client.Context, portID, channelID string, prove bool) (*types.QueryChannelClientStateResponse, error)
- func QueryChannelConsensusState(clientCtx client.Context, portID, channelID string, height clienttypes.Height, ...) (*types.QueryChannelConsensusStateResponse, error)
- func QueryNextSequenceReceive(clientCtx client.Context, portID, channelID string, prove bool) (*types.QueryNextSequenceReceiveResponse, error)
- func QueryNextSequenceSend(clientCtx client.Context, portID, channelID string, prove bool) (*types.QueryNextSequenceSendResponse, error)
- func QueryPacketAcknowledgement(clientCtx client.Context, portID, channelID string, sequence uint64, ...) (*types.QueryPacketAcknowledgementResponse, error)
- func QueryPacketCommitment(clientCtx client.Context, portID, channelID string, sequence uint64, ...) (*types.QueryPacketCommitmentResponse, error)
- func QueryPacketReceipt(clientCtx client.Context, portID, channelID string, sequence uint64, ...) (*types.QueryPacketReceiptResponse, error)
- func QueryUpgrade(clientCtx client.Context, portID, channelID string, prove bool) (*types.QueryUpgradeResponse, error)
- func QueryUpgradeError(clientCtx client.Context, portID, channelID string, prove bool) (*types.QueryUpgradeErrorResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryChannel ¶
func QueryChannel( clientCtx client.Context, portID, channelID string, prove bool, ) (*types.QueryChannelResponse, error)
QueryChannel returns a channel end. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryChannelClientState ¶
func QueryChannelClientState( clientCtx client.Context, portID, channelID string, prove bool, ) (*types.QueryChannelClientStateResponse, error)
QueryChannelClientState returns the ClientState of a channel end. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryChannelConsensusState ¶
func QueryChannelConsensusState( clientCtx client.Context, portID, channelID string, height clienttypes.Height, prove bool, ) (*types.QueryChannelConsensusStateResponse, error)
QueryChannelConsensusState returns the ConsensusState of a channel end. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryNextSequenceReceive ¶
func QueryNextSequenceReceive( clientCtx client.Context, portID, channelID string, prove bool, ) (*types.QueryNextSequenceReceiveResponse, error)
QueryNextSequenceReceive returns the next sequence receive. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryNextSequenceSend ¶
func QueryNextSequenceSend( clientCtx client.Context, portID, channelID string, prove bool, ) (*types.QueryNextSequenceSendResponse, error)
QueryNextSequenceSend returns the next sequence send. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryPacketAcknowledgement ¶
func QueryPacketAcknowledgement(clientCtx client.Context, portID, channelID string, sequence uint64, prove bool) (*types.QueryPacketAcknowledgementResponse, error)
QueryPacketAcknowledgement returns the data about a packet acknowledgement. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client
func QueryPacketCommitment ¶
func QueryPacketCommitment( clientCtx client.Context, portID, channelID string, sequence uint64, prove bool, ) (*types.QueryPacketCommitmentResponse, error)
QueryPacketCommitment returns a packet commitment. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryPacketReceipt ¶
func QueryPacketReceipt( clientCtx client.Context, portID, channelID string, sequence uint64, prove bool, ) (*types.QueryPacketReceiptResponse, error)
QueryPacketReceipt returns data about a packet receipt. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryUpgrade ¶
func QueryUpgrade( clientCtx client.Context, portID, channelID string, prove bool, ) (*types.QueryUpgradeResponse, error)
QueryUpgrade returns the upgrade. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryUpgradeError ¶
func QueryUpgradeError( clientCtx client.Context, portID, channelID string, prove bool, ) (*types.QueryUpgradeErrorResponse, error)
QueryUpgradeError returns the upgrade error. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
Types ¶
This section is empty.