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.
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 GenesisState
- type MigrateRecord
- func (*MigrateRecord) Descriptor() ([]byte, []int)deprecated
- func (x *MigrateRecord) GetFrom() string
- func (x *MigrateRecord) GetHeight() int64
- func (x *MigrateRecord) GetTo() string
- func (*MigrateRecord) ProtoMessage()
- func (x *MigrateRecord) ProtoReflect() protoreflect.Message
- func (x *MigrateRecord) Reset()
- func (x *MigrateRecord) String() string
- type MsgClient
- type MsgMigrateAccount
- func (*MsgMigrateAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMigrateAccount) GetFrom() string
- func (x *MsgMigrateAccount) GetSignature() string
- func (x *MsgMigrateAccount) GetTo() string
- func (*MsgMigrateAccount) ProtoMessage()
- func (x *MsgMigrateAccount) ProtoReflect() protoreflect.Message
- func (x *MsgMigrateAccount) Reset()
- func (x *MsgMigrateAccount) String() string
- type MsgMigrateAccountResponse
- type MsgServer
- type QueryClient
- type QueryMigrateCheckAccountRequest
- func (*QueryMigrateCheckAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMigrateCheckAccountRequest) GetFrom() string
- func (x *QueryMigrateCheckAccountRequest) GetTo() string
- func (*QueryMigrateCheckAccountRequest) ProtoMessage()
- func (x *QueryMigrateCheckAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMigrateCheckAccountRequest) Reset()
- func (x *QueryMigrateCheckAccountRequest) String() string
- type QueryMigrateCheckAccountResponse
- func (*QueryMigrateCheckAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (*QueryMigrateCheckAccountResponse) ProtoMessage()
- func (x *QueryMigrateCheckAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMigrateCheckAccountResponse) Reset()
- func (x *QueryMigrateCheckAccountResponse) String() string
- type QueryMigrateRecordRequest
- func (*QueryMigrateRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMigrateRecordRequest) GetAddress() string
- func (*QueryMigrateRecordRequest) ProtoMessage()
- func (x *QueryMigrateRecordRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMigrateRecordRequest) Reset()
- func (x *QueryMigrateRecordRequest) String() string
- type QueryMigrateRecordResponse
- func (*QueryMigrateRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMigrateRecordResponse) GetFound() bool
- func (x *QueryMigrateRecordResponse) GetMigrateRecord() *MigrateRecord
- func (*QueryMigrateRecordResponse) ProtoMessage()
- func (x *QueryMigrateRecordResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMigrateRecordResponse) Reset()
- func (x *QueryMigrateRecordResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_MigrateRecord_FullMethodName = "/fx.migrate.v1.Query/MigrateRecord" Query_MigrateCheckAccount_FullMethodName = "/fx.migrate.v1.Query/MigrateCheckAccount" )
const (
Msg_MigrateAccount_FullMethodName = "/fx.migrate.v1.Msg/MigrateAccount"
)
Variables ¶
var File_fx_migrate_v1_genesis_proto protoreflect.FileDescriptor
var File_fx_migrate_v1_migrate_proto protoreflect.FileDescriptor
var File_fx_migrate_v1_query_proto protoreflect.FileDescriptor
var File_fx_migrate_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fx.migrate.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "MigrateAccount", Handler: _Msg_MigrateAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fx/migrate/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: "fx.migrate.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "MigrateRecord", Handler: _Query_MigrateRecord_Handler, }, { MethodName: "MigrateCheckAccount", Handler: _Query_MigrateCheckAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fx/migrate/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 GenesisState ¶
type GenesisState struct { MigrateRecords []*MigrateRecord `protobuf:"bytes,1,rep,name=migrate_records,json=migrateRecords,proto3" json:"migrate_records,omitempty"` // contains filtered or unexported fields }
GenesisState defines the module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetMigrateRecords ¶
func (x *GenesisState) GetMigrateRecords() []*MigrateRecord
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MigrateRecord ¶
type MigrateRecord struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*MigrateRecord) Descriptor
deprecated
func (*MigrateRecord) Descriptor() ([]byte, []int)
Deprecated: Use MigrateRecord.ProtoReflect.Descriptor instead.
func (*MigrateRecord) GetFrom ¶
func (x *MigrateRecord) GetFrom() string
func (*MigrateRecord) GetHeight ¶
func (x *MigrateRecord) GetHeight() int64
func (*MigrateRecord) GetTo ¶
func (x *MigrateRecord) GetTo() string
func (*MigrateRecord) ProtoMessage ¶
func (*MigrateRecord) ProtoMessage()
func (*MigrateRecord) ProtoReflect ¶
func (x *MigrateRecord) ProtoReflect() protoreflect.Message
func (*MigrateRecord) Reset ¶
func (x *MigrateRecord) Reset()
func (*MigrateRecord) String ¶
func (x *MigrateRecord) String() string
type MsgClient ¶
type MsgClient interface {
MigrateAccount(ctx context.Context, in *MsgMigrateAccount, opts ...grpc.CallOption) (*MsgMigrateAccountResponse, 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 MsgMigrateAccount ¶
type MsgMigrateAccount struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*MsgMigrateAccount) Descriptor
deprecated
func (*MsgMigrateAccount) Descriptor() ([]byte, []int)
Deprecated: Use MsgMigrateAccount.ProtoReflect.Descriptor instead.
func (*MsgMigrateAccount) GetFrom ¶
func (x *MsgMigrateAccount) GetFrom() string
func (*MsgMigrateAccount) GetSignature ¶
func (x *MsgMigrateAccount) GetSignature() string
func (*MsgMigrateAccount) GetTo ¶
func (x *MsgMigrateAccount) GetTo() string
func (*MsgMigrateAccount) ProtoMessage ¶
func (*MsgMigrateAccount) ProtoMessage()
func (*MsgMigrateAccount) ProtoReflect ¶
func (x *MsgMigrateAccount) ProtoReflect() protoreflect.Message
func (*MsgMigrateAccount) Reset ¶
func (x *MsgMigrateAccount) Reset()
func (*MsgMigrateAccount) String ¶
func (x *MsgMigrateAccount) String() string
type MsgMigrateAccountResponse ¶
type MsgMigrateAccountResponse struct {
// contains filtered or unexported fields
}
func (*MsgMigrateAccountResponse) Descriptor
deprecated
func (*MsgMigrateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMigrateAccountResponse.ProtoReflect.Descriptor instead.
func (*MsgMigrateAccountResponse) ProtoMessage ¶
func (*MsgMigrateAccountResponse) ProtoMessage()
func (*MsgMigrateAccountResponse) ProtoReflect ¶
func (x *MsgMigrateAccountResponse) ProtoReflect() protoreflect.Message
func (*MsgMigrateAccountResponse) Reset ¶
func (x *MsgMigrateAccountResponse) Reset()
func (*MsgMigrateAccountResponse) String ¶
func (x *MsgMigrateAccountResponse) String() string
type MsgServer ¶
type MsgServer interface { MigrateAccount(context.Context, *MsgMigrateAccount) (*MsgMigrateAccountResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type QueryClient ¶
type QueryClient interface { // DenomTrace queries a denomination trace information. MigrateRecord(ctx context.Context, in *QueryMigrateRecordRequest, opts ...grpc.CallOption) (*QueryMigrateRecordResponse, error) MigrateCheckAccount(ctx context.Context, in *QueryMigrateCheckAccountRequest, opts ...grpc.CallOption) (*QueryMigrateCheckAccountResponse, 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 QueryMigrateCheckAccountRequest ¶
type QueryMigrateCheckAccountRequest struct { // migrate from address From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // migrate to address To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*QueryMigrateCheckAccountRequest) Descriptor
deprecated
func (*QueryMigrateCheckAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMigrateCheckAccountRequest.ProtoReflect.Descriptor instead.
func (*QueryMigrateCheckAccountRequest) GetFrom ¶
func (x *QueryMigrateCheckAccountRequest) GetFrom() string
func (*QueryMigrateCheckAccountRequest) GetTo ¶
func (x *QueryMigrateCheckAccountRequest) GetTo() string
func (*QueryMigrateCheckAccountRequest) ProtoMessage ¶
func (*QueryMigrateCheckAccountRequest) ProtoMessage()
func (*QueryMigrateCheckAccountRequest) ProtoReflect ¶
func (x *QueryMigrateCheckAccountRequest) ProtoReflect() protoreflect.Message
func (*QueryMigrateCheckAccountRequest) Reset ¶
func (x *QueryMigrateCheckAccountRequest) Reset()
func (*QueryMigrateCheckAccountRequest) String ¶
func (x *QueryMigrateCheckAccountRequest) String() string
type QueryMigrateCheckAccountResponse ¶
type QueryMigrateCheckAccountResponse struct {
// contains filtered or unexported fields
}
func (*QueryMigrateCheckAccountResponse) Descriptor
deprecated
func (*QueryMigrateCheckAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMigrateCheckAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryMigrateCheckAccountResponse) ProtoMessage ¶
func (*QueryMigrateCheckAccountResponse) ProtoMessage()
func (*QueryMigrateCheckAccountResponse) ProtoReflect ¶
func (x *QueryMigrateCheckAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryMigrateCheckAccountResponse) Reset ¶
func (x *QueryMigrateCheckAccountResponse) Reset()
func (*QueryMigrateCheckAccountResponse) String ¶
func (x *QueryMigrateCheckAccountResponse) String() string
type QueryMigrateRecordRequest ¶
type QueryMigrateRecordRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*QueryMigrateRecordRequest) Descriptor
deprecated
func (*QueryMigrateRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMigrateRecordRequest.ProtoReflect.Descriptor instead.
func (*QueryMigrateRecordRequest) GetAddress ¶
func (x *QueryMigrateRecordRequest) GetAddress() string
func (*QueryMigrateRecordRequest) ProtoMessage ¶
func (*QueryMigrateRecordRequest) ProtoMessage()
func (*QueryMigrateRecordRequest) ProtoReflect ¶
func (x *QueryMigrateRecordRequest) ProtoReflect() protoreflect.Message
func (*QueryMigrateRecordRequest) Reset ¶
func (x *QueryMigrateRecordRequest) Reset()
func (*QueryMigrateRecordRequest) String ¶
func (x *QueryMigrateRecordRequest) String() string
type QueryMigrateRecordResponse ¶
type QueryMigrateRecordResponse struct { // has migrate true-> migrated, false-> not migrated. Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"` // migrateRecord defines the the migrate record. MigrateRecord *MigrateRecord `protobuf:"bytes,2,opt,name=migrate_record,json=migrateRecord,proto3" json:"migrate_record,omitempty"` // contains filtered or unexported fields }
func (*QueryMigrateRecordResponse) Descriptor
deprecated
func (*QueryMigrateRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMigrateRecordResponse.ProtoReflect.Descriptor instead.
func (*QueryMigrateRecordResponse) GetFound ¶
func (x *QueryMigrateRecordResponse) GetFound() bool
func (*QueryMigrateRecordResponse) GetMigrateRecord ¶
func (x *QueryMigrateRecordResponse) GetMigrateRecord() *MigrateRecord
func (*QueryMigrateRecordResponse) ProtoMessage ¶
func (*QueryMigrateRecordResponse) ProtoMessage()
func (*QueryMigrateRecordResponse) ProtoReflect ¶
func (x *QueryMigrateRecordResponse) ProtoReflect() protoreflect.Message
func (*QueryMigrateRecordResponse) Reset ¶
func (x *QueryMigrateRecordResponse) Reset()
func (*QueryMigrateRecordResponse) String ¶
func (x *QueryMigrateRecordResponse) String() string
type QueryServer ¶
type QueryServer interface { // DenomTrace queries a denomination trace information. MigrateRecord(context.Context, *QueryMigrateRecordRequest) (*QueryMigrateRecordResponse, error) MigrateCheckAccount(context.Context, *QueryMigrateCheckAccountRequest) (*QueryMigrateCheckAccountResponse, 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) MigrateAccount ¶
func (UnimplementedMsgServer) MigrateAccount(context.Context, *MsgMigrateAccount) (*MsgMigrateAccountResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) MigrateCheckAccount ¶
func (UnimplementedQueryServer) MigrateCheckAccount(context.Context, *QueryMigrateCheckAccountRequest) (*QueryMigrateCheckAccountResponse, error)
func (UnimplementedQueryServer) MigrateRecord ¶
func (UnimplementedQueryServer) MigrateRecord(context.Context, *QueryMigrateRecordRequest) (*QueryMigrateRecordResponse, 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.