Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + const ModuleName + const QuerierRoute + const RouterKey + const StoreKey + var ErrIBCAccountAlreadyExist = sdkerrors.Register(ModuleName, 2, "interchain account already registered") + var ErrIBCAccountNotExist = sdkerrors.Register(ModuleName, 3, "interchain account not exist") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var Marshal *codec.CodecProxy + var ModuleCdc = codec.New() + func PackTxMsgAny(sdkMsg sdk.Msg) (*codectypes.Any, error) + func RegisterCodec(cdc *codec.Codec) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type MsgClient interface + RegisterAccount func(ctx context.Context, in *MsgRegisterAccount, opts ...grpc.CallOption) (*MsgRegisterAccountResponse, error) + SubmitTx func(ctx context.Context, in *MsgSubmitTx, opts ...grpc.CallOption) (*MsgSubmitTxResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgRegisterAccount struct + ConnectionId string + Owner string + Version string + func NewMsgRegisterAccount(owner, connectionID, version string) *MsgRegisterAccount + func (*MsgRegisterAccount) Descriptor() ([]byte, []int) + func (*MsgRegisterAccount) ProtoMessage() + func (m *MsgRegisterAccount) Marshal() (dAtA []byte, err error) + func (m *MsgRegisterAccount) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRegisterAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRegisterAccount) Reset() + func (m *MsgRegisterAccount) Size() (n int) + func (m *MsgRegisterAccount) String() string + func (m *MsgRegisterAccount) Unmarshal(dAtA []byte) error + func (m *MsgRegisterAccount) XXX_DiscardUnknown() + func (m *MsgRegisterAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRegisterAccount) XXX_Merge(src proto.Message) + func (m *MsgRegisterAccount) XXX_Size() int + func (m *MsgRegisterAccount) XXX_Unmarshal(b []byte) error + func (m MsgRegisterAccount) GetSignBytes() []byte + func (m MsgRegisterAccount) Route() string + func (m MsgRegisterAccount) Type() string + func (msg MsgRegisterAccount) GetSigners() []sdk.AccAddress + func (msg MsgRegisterAccount) ValidWithHeight(h int64) error + func (msg MsgRegisterAccount) ValidateBasic() error + type MsgRegisterAccountResponse struct + func (*MsgRegisterAccountResponse) Descriptor() ([]byte, []int) + func (*MsgRegisterAccountResponse) ProtoMessage() + func (m *MsgRegisterAccountResponse) Marshal() (dAtA []byte, err error) + func (m *MsgRegisterAccountResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRegisterAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRegisterAccountResponse) Reset() + func (m *MsgRegisterAccountResponse) Size() (n int) + func (m *MsgRegisterAccountResponse) String() string + func (m *MsgRegisterAccountResponse) Unmarshal(dAtA []byte) error + func (m *MsgRegisterAccountResponse) XXX_DiscardUnknown() + func (m *MsgRegisterAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRegisterAccountResponse) XXX_Merge(src proto.Message) + func (m *MsgRegisterAccountResponse) XXX_Size() int + func (m *MsgRegisterAccountResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + RegisterAccount func(context.Context, *MsgRegisterAccount) (*MsgRegisterAccountResponse, error) + SubmitTx func(context.Context, *MsgSubmitTx) (*MsgSubmitTxResponse, error) + type MsgSubmitTx struct + ConnectionId string + Msg *types.Any + Owner string + func NewMsgSubmitTx(sdkMsg sdk.Msg, connectionID, owner string) (*MsgSubmitTx, error) + func (*MsgSubmitTx) Descriptor() ([]byte, []int) + func (*MsgSubmitTx) ProtoMessage() + func (m *MsgSubmitTx) GetSignBytes() []byte + func (m *MsgSubmitTx) Marshal() (dAtA []byte, err error) + func (m *MsgSubmitTx) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSubmitTx) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSubmitTx) Reset() + func (m *MsgSubmitTx) Size() (n int) + func (m *MsgSubmitTx) String() string + func (m *MsgSubmitTx) Unmarshal(dAtA []byte) error + func (m *MsgSubmitTx) XXX_DiscardUnknown() + func (m *MsgSubmitTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSubmitTx) XXX_Merge(src proto.Message) + func (m *MsgSubmitTx) XXX_Size() int + func (m *MsgSubmitTx) XXX_Unmarshal(b []byte) error + func (m MsgSubmitTx) Route() string + func (m MsgSubmitTx) Type() string + func (msg *MsgSubmitTx) GetTxMsg() sdk.MsgAdapter + func (msg MsgSubmitTx) GetSigners() []sdk.AccAddress + func (msg MsgSubmitTx) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (msg MsgSubmitTx) ValidWithHeight(h int64) error + func (msg MsgSubmitTx) ValidateBasic() error + type MsgSubmitTxResponse struct + func (*MsgSubmitTxResponse) Descriptor() ([]byte, []int) + func (*MsgSubmitTxResponse) ProtoMessage() + func (m *MsgSubmitTxResponse) Marshal() (dAtA []byte, err error) + func (m *MsgSubmitTxResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSubmitTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSubmitTxResponse) Reset() + func (m *MsgSubmitTxResponse) Size() (n int) + func (m *MsgSubmitTxResponse) String() string + func (m *MsgSubmitTxResponse) Unmarshal(dAtA []byte) error + func (m *MsgSubmitTxResponse) XXX_DiscardUnknown() + func (m *MsgSubmitTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSubmitTxResponse) XXX_Merge(src proto.Message) + func (m *MsgSubmitTxResponse) XXX_Size() int + func (m *MsgSubmitTxResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + InterchainAccount func(ctx context.Context, in *QueryInterchainAccountRequest, ...) (*QueryInterchainAccountResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryInterchainAccountRequest struct + ConnectionId string + Owner string + func NewQueryInterchainAccountRequest(connectionID, owner string) *QueryInterchainAccountRequest + func (*QueryInterchainAccountRequest) Descriptor() ([]byte, []int) + func (*QueryInterchainAccountRequest) ProtoMessage() + func (m *QueryInterchainAccountRequest) GetConnectionId() string + func (m *QueryInterchainAccountRequest) GetOwner() string + func (m *QueryInterchainAccountRequest) Marshal() (dAtA []byte, err error) + func (m *QueryInterchainAccountRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryInterchainAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryInterchainAccountRequest) Reset() + func (m *QueryInterchainAccountRequest) Size() (n int) + func (m *QueryInterchainAccountRequest) String() string + func (m *QueryInterchainAccountRequest) Unmarshal(dAtA []byte) error + func (m *QueryInterchainAccountRequest) XXX_DiscardUnknown() + func (m *QueryInterchainAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryInterchainAccountRequest) XXX_Merge(src proto.Message) + func (m *QueryInterchainAccountRequest) XXX_Size() int + func (m *QueryInterchainAccountRequest) XXX_Unmarshal(b []byte) error + type QueryInterchainAccountResponse struct + InterchainAccountAddress string + func NewQueryInterchainAccountResponse(interchainAccAddr string) *QueryInterchainAccountResponse + func (*QueryInterchainAccountResponse) Descriptor() ([]byte, []int) + func (*QueryInterchainAccountResponse) ProtoMessage() + func (m *QueryInterchainAccountResponse) GetInterchainAccountAddress() string + func (m *QueryInterchainAccountResponse) Marshal() (dAtA []byte, err error) + func (m *QueryInterchainAccountResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryInterchainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryInterchainAccountResponse) Reset() + func (m *QueryInterchainAccountResponse) Size() (n int) + func (m *QueryInterchainAccountResponse) String() string + func (m *QueryInterchainAccountResponse) Unmarshal(dAtA []byte) error + func (m *QueryInterchainAccountResponse) XXX_DiscardUnknown() + func (m *QueryInterchainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryInterchainAccountResponse) XXX_Merge(src proto.Message) + func (m *QueryInterchainAccountResponse) XXX_Size() int + func (m *QueryInterchainAccountResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + InterchainAccount func(context.Context, *QueryInterchainAccountRequest) (*QueryInterchainAccountResponse, error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) RegisterAccount(ctx context.Context, req *MsgRegisterAccount) (*MsgRegisterAccountResponse, error) + func (*UnimplementedMsgServer) SubmitTx(ctx context.Context, req *MsgSubmitTx) (*MsgSubmitTxResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) InterchainAccount(ctx context.Context, req *QueryInterchainAccountRequest) (*QueryInterchainAccountResponse, error)