Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type MsgClient
- type MsgRegisterAccount
- func (*MsgRegisterAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRegisterAccount) GetConnectionId() string
- func (x *MsgRegisterAccount) GetOwner() string
- func (x *MsgRegisterAccount) GetVersion() string
- func (*MsgRegisterAccount) ProtoMessage()
- func (x *MsgRegisterAccount) ProtoReflect() protoreflect.Message
- func (x *MsgRegisterAccount) Reset()
- func (x *MsgRegisterAccount) String() string
- type MsgRegisterAccountResponse
- type MsgServer
- type MsgSubmitTx
- func (*MsgSubmitTx) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSubmitTx) GetConnectionId() string
- func (x *MsgSubmitTx) GetMsg() *anypb.Any
- func (x *MsgSubmitTx) GetOwner() string
- func (*MsgSubmitTx) ProtoMessage()
- func (x *MsgSubmitTx) ProtoReflect() protoreflect.Message
- func (x *MsgSubmitTx) Reset()
- func (x *MsgSubmitTx) String() string
- type MsgSubmitTxResponse
- type QueryClient
- type QueryInterchainAccountRequest
- func (*QueryInterchainAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInterchainAccountRequest) GetConnectionId() string
- func (x *QueryInterchainAccountRequest) GetOwner() string
- func (*QueryInterchainAccountRequest) ProtoMessage()
- func (x *QueryInterchainAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryInterchainAccountRequest) Reset()
- func (x *QueryInterchainAccountRequest) String() string
- type QueryInterchainAccountResponse
- func (*QueryInterchainAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInterchainAccountResponse) GetInterchainAccountAddress() string
- func (*QueryInterchainAccountResponse) ProtoMessage()
- func (x *QueryInterchainAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryInterchainAccountResponse) Reset()
- func (x *QueryInterchainAccountResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Msg_RegisterAccount_FullMethodName = "/regen.intertx.v1.Msg/RegisterAccount" Msg_SubmitTx_FullMethodName = "/regen.intertx.v1.Msg/SubmitTx" )
const (
Query_InterchainAccount_FullMethodName = "/regen.intertx.v1.Query/InterchainAccount"
)
Variables ¶
var File_regen_intertx_v1_doc_proto protoreflect.FileDescriptor
var File_regen_intertx_v1_query_proto protoreflect.FileDescriptor
var File_regen_intertx_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "regen.intertx.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterAccount", Handler: _Msg_RegisterAccount_Handler, }, { MethodName: "SubmitTx", Handler: _Msg_SubmitTx_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/intertx/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "regen.intertx.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InterchainAccount", Handler: _Query_InterchainAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/intertx/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type MsgClient ¶
type MsgClient interface { // Register defines a rpc handler for MsgRegisterAccount RegisterAccount(ctx context.Context, in *MsgRegisterAccount, opts ...grpc.CallOption) (*MsgRegisterAccountResponse, error) // SubmitTx defines a rpc handler for MsgSubmitTx SubmitTx(ctx context.Context, in *MsgSubmitTx, opts ...grpc.CallOption) (*MsgSubmitTxResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgRegisterAccount ¶
type MsgRegisterAccount struct { // owner is the address of the interchain account owner. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // connection_id is the connection id string (i.e. channel-5). ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // version is the application version string. For example, this could be an // ICS27 encoded metadata type or an ICS29 encoded metadata type with a nested // application version. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
MsgRegisterAccount defines the payload for Msg/RegisterAccount
func (*MsgRegisterAccount) Descriptor
deprecated
func (*MsgRegisterAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgRegisterAccount.ProtoReflect.Descriptor instead.
func (*MsgRegisterAccount) GetConnectionId ¶
func (x *MsgRegisterAccount) GetConnectionId() string
func (*MsgRegisterAccount) GetOwner ¶
func (x *MsgRegisterAccount) GetOwner() string
func (*MsgRegisterAccount) GetVersion ¶
func (x *MsgRegisterAccount) GetVersion() string
func (*MsgRegisterAccount) ProtoMessage ¶
func (*MsgRegisterAccount) ProtoMessage()
func (*MsgRegisterAccount) ProtoReflect ¶
func (x *MsgRegisterAccount) ProtoReflect() protoreflect.Message
func (*MsgRegisterAccount) Reset ¶
func (x *MsgRegisterAccount) Reset()
func (*MsgRegisterAccount) String ¶
func (x *MsgRegisterAccount) String() string
type MsgRegisterAccountResponse ¶
type MsgRegisterAccountResponse struct {
// contains filtered or unexported fields
}
MsgRegisterAccountResponse defines the response for Msg/RegisterAccount
func (*MsgRegisterAccountResponse) Descriptor
deprecated
func (*MsgRegisterAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRegisterAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgRegisterAccountResponse) ProtoMessage ¶
func (*MsgRegisterAccountResponse) ProtoMessage()
func (*MsgRegisterAccountResponse) ProtoReflect ¶
func (x *MsgRegisterAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgRegisterAccountResponse) Reset ¶
func (x *MsgRegisterAccountResponse) Reset()
func (*MsgRegisterAccountResponse) String ¶
func (x *MsgRegisterAccountResponse) String() string
type MsgServer ¶
type MsgServer interface { // Register defines a rpc handler for MsgRegisterAccount RegisterAccount(context.Context, *MsgRegisterAccount) (*MsgRegisterAccountResponse, error) // SubmitTx defines a rpc handler for MsgSubmitTx SubmitTx(context.Context, *MsgSubmitTx) (*MsgSubmitTxResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgSubmitTx ¶
type MsgSubmitTx struct { // owner is the owner address of the interchain account. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // connection_id is the id of the connection. ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // msg is the bytes of the transaction msg to send. Msg *anypb.Any `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
MsgSubmitTx defines the payload for Msg/SubmitTx
func (*MsgSubmitTx) Descriptor
deprecated
func (*MsgSubmitTx) Descriptor() ([]byte, []int)
Deprecated: Use MsgSubmitTx.ProtoReflect.Descriptor instead.
func (*MsgSubmitTx) GetConnectionId ¶
func (x *MsgSubmitTx) GetConnectionId() string
func (*MsgSubmitTx) GetMsg ¶
func (x *MsgSubmitTx) GetMsg() *anypb.Any
func (*MsgSubmitTx) GetOwner ¶
func (x *MsgSubmitTx) GetOwner() string
func (*MsgSubmitTx) ProtoMessage ¶
func (*MsgSubmitTx) ProtoMessage()
func (*MsgSubmitTx) ProtoReflect ¶
func (x *MsgSubmitTx) ProtoReflect() protoreflect.Message
func (*MsgSubmitTx) Reset ¶
func (x *MsgSubmitTx) Reset()
func (*MsgSubmitTx) String ¶
func (x *MsgSubmitTx) String() string
type MsgSubmitTxResponse ¶
type MsgSubmitTxResponse struct {
// contains filtered or unexported fields
}
MsgSubmitTxResponse defines the response for Msg/SubmitTx
func (*MsgSubmitTxResponse) Descriptor
deprecated
func (*MsgSubmitTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSubmitTxResponse.ProtoReflect.Descriptor instead.
func (*MsgSubmitTxResponse) ProtoMessage ¶
func (*MsgSubmitTxResponse) ProtoMessage()
func (*MsgSubmitTxResponse) ProtoReflect ¶
func (x *MsgSubmitTxResponse) ProtoReflect() protoreflect.Message
func (*MsgSubmitTxResponse) Reset ¶
func (x *MsgSubmitTxResponse) Reset()
func (*MsgSubmitTxResponse) String ¶
func (x *MsgSubmitTxResponse) String() string
type QueryClient ¶
type QueryClient interface { // QueryInterchainAccount returns the interchain account for given owner // address on a given connection pair InterchainAccount(ctx context.Context, in *QueryInterchainAccountRequest, opts ...grpc.CallOption) (*QueryInterchainAccountResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryInterchainAccountRequest ¶
type QueryInterchainAccountRequest struct { // owner is the address of the account that owns the ICA. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // connection_id is the connection the ICA claimed. ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // contains filtered or unexported fields }
QueryInterchainAccountRequest is the request type for the Query/InterchainAccountAddress RPC
func (*QueryInterchainAccountRequest) Descriptor
deprecated
func (*QueryInterchainAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryInterchainAccountRequest.ProtoReflect.Descriptor instead.
func (*QueryInterchainAccountRequest) GetConnectionId ¶
func (x *QueryInterchainAccountRequest) GetConnectionId() string
func (*QueryInterchainAccountRequest) GetOwner ¶
func (x *QueryInterchainAccountRequest) GetOwner() string
func (*QueryInterchainAccountRequest) ProtoMessage ¶
func (*QueryInterchainAccountRequest) ProtoMessage()
func (*QueryInterchainAccountRequest) ProtoReflect ¶
func (x *QueryInterchainAccountRequest) ProtoReflect() protoreflect.Message
func (*QueryInterchainAccountRequest) Reset ¶
func (x *QueryInterchainAccountRequest) Reset()
func (*QueryInterchainAccountRequest) String ¶
func (x *QueryInterchainAccountRequest) String() string
type QueryInterchainAccountResponse ¶
type QueryInterchainAccountResponse struct { // interchain_account_address is the address of the ICA. InterchainAccountAddress string `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
QueryInterchainAccountResponse the response type for the Query/InterchainAccountAddress RPC
func (*QueryInterchainAccountResponse) Descriptor
deprecated
func (*QueryInterchainAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryInterchainAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryInterchainAccountResponse) GetInterchainAccountAddress ¶
func (x *QueryInterchainAccountResponse) GetInterchainAccountAddress() string
func (*QueryInterchainAccountResponse) ProtoMessage ¶
func (*QueryInterchainAccountResponse) ProtoMessage()
func (*QueryInterchainAccountResponse) ProtoReflect ¶
func (x *QueryInterchainAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryInterchainAccountResponse) Reset ¶
func (x *QueryInterchainAccountResponse) Reset()
func (*QueryInterchainAccountResponse) String ¶
func (x *QueryInterchainAccountResponse) String() string
type QueryServer ¶
type QueryServer interface { // QueryInterchainAccount returns the interchain account for given owner // address on a given connection pair InterchainAccount(context.Context, *QueryInterchainAccountRequest) (*QueryInterchainAccountResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) RegisterAccount ¶
func (UnimplementedMsgServer) RegisterAccount(context.Context, *MsgRegisterAccount) (*MsgRegisterAccountResponse, error)
func (UnimplementedMsgServer) SubmitTx ¶
func (UnimplementedMsgServer) SubmitTx(context.Context, *MsgSubmitTx) (*MsgSubmitTxResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) InterchainAccount ¶
func (UnimplementedQueryServer) InterchainAccount(context.Context, *QueryInterchainAccountRequest) (*QueryInterchainAccountResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.