Versions in this module Expand all Collapse all v3 v3.3.5 Oct 6, 2022 v3.3.4 Oct 6, 2022 Changes in this version + const QuerierRoute + const RouterKey + const StoreKey + const SubModuleName + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidPort = sdkerrors.Register(SubModuleName, 4, "invalid port") + var ErrInvalidRoute = sdkerrors.Register(SubModuleName, 5, "route not found") + var ErrPortExists = sdkerrors.Register(SubModuleName, 2, "port is already binded") + var ErrPortNotFound = sdkerrors.Register(SubModuleName, 3, "port not found") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + func GetModuleOwner(modules []string) string + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type IBCModule interface + OnAcknowledgementPacket func(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error + OnChanCloseConfirm func(ctx sdk.Context, portID, channelID string) error + OnChanCloseInit func(ctx sdk.Context, portID, channelID string) error + OnChanOpenAck func(ctx sdk.Context, portID, channelID string, counterpartyChannelID string, ...) error + OnChanOpenConfirm func(ctx sdk.Context, portID, channelID string) error + OnChanOpenInit func(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) error + OnChanOpenTry func(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (version string, err error) + OnRecvPacket func(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) exported.Acknowledgement + OnTimeoutPacket func(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error + type ICS4Wrapper interface + SendPacket func(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI) error + WriteAcknowledgement func(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ...) error + type Middleware interface + type QueryAppVersionRequest struct + ConnectionId string + Counterparty *types.Counterparty + Ordering types.Order + PortId string + ProposedVersion string + func (*QueryAppVersionRequest) Descriptor() ([]byte, []int) + func (*QueryAppVersionRequest) ProtoMessage() + func (m *QueryAppVersionRequest) GetConnectionId() string + func (m *QueryAppVersionRequest) GetCounterparty() *types.Counterparty + func (m *QueryAppVersionRequest) GetOrdering() types.Order + func (m *QueryAppVersionRequest) GetPortId() string + func (m *QueryAppVersionRequest) GetProposedVersion() string + func (m *QueryAppVersionRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAppVersionRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAppVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAppVersionRequest) Reset() + func (m *QueryAppVersionRequest) Size() (n int) + func (m *QueryAppVersionRequest) String() string + func (m *QueryAppVersionRequest) Unmarshal(dAtA []byte) error + func (m *QueryAppVersionRequest) XXX_DiscardUnknown() + func (m *QueryAppVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAppVersionRequest) XXX_Merge(src proto.Message) + func (m *QueryAppVersionRequest) XXX_Size() int + func (m *QueryAppVersionRequest) XXX_Unmarshal(b []byte) error + type QueryAppVersionResponse struct + PortId string + Version string + func NewQueryAppVersionResponse(portID, version string) *QueryAppVersionResponse + func (*QueryAppVersionResponse) Descriptor() ([]byte, []int) + func (*QueryAppVersionResponse) ProtoMessage() + func (m *QueryAppVersionResponse) GetPortId() string + func (m *QueryAppVersionResponse) GetVersion() string + func (m *QueryAppVersionResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAppVersionResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAppVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAppVersionResponse) Reset() + func (m *QueryAppVersionResponse) Size() (n int) + func (m *QueryAppVersionResponse) String() string + func (m *QueryAppVersionResponse) Unmarshal(dAtA []byte) error + func (m *QueryAppVersionResponse) XXX_DiscardUnknown() + func (m *QueryAppVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAppVersionResponse) XXX_Merge(src proto.Message) + func (m *QueryAppVersionResponse) XXX_Size() int + func (m *QueryAppVersionResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + AppVersion func(ctx context.Context, in *QueryAppVersionRequest, opts ...grpc.CallOption) (*QueryAppVersionResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + AppVersion func(context.Context, *QueryAppVersionRequest) (*QueryAppVersionResponse, error) + type Router struct + func NewRouter() *Router + func (rtr *Router) AddRoute(module string, cbs IBCModule) *Router + func (rtr *Router) GetRoute(module string) (IBCModule, bool) + func (rtr *Router) HasRoute(module string) bool + func (rtr *Router) Seal() + func (rtr Router) Sealed() bool + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) AppVersion(ctx context.Context, req *QueryAppVersionRequest) (*QueryAppVersionResponse, error)