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.
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 EventReserve
- func (*EventReserve) Descriptor() ([]byte, []int)deprecated
- func (x *EventReserve) GetAmount() []*v1beta1.Coin
- func (x *EventReserve) GetName() string
- func (x *EventReserve) GetOwner() string
- func (x *EventReserve) GetResolve() string
- func (*EventReserve) ProtoMessage()
- func (x *EventReserve) ProtoReflect() protoreflect.Message
- func (x *EventReserve) Reset()
- func (x *EventReserve) String() string
- type GenesisState
- type MsgBid
- func (*MsgBid) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBid) GetAmount() []*v1beta1.Coin
- func (x *MsgBid) GetName() string
- func (x *MsgBid) GetOwner() string
- func (x *MsgBid) GetResolveAddress() string
- func (*MsgBid) ProtoMessage()
- func (x *MsgBid) ProtoReflect() protoreflect.Message
- func (x *MsgBid) Reset()
- func (x *MsgBid) String() string
- type MsgBidResponse
- type MsgClient
- type MsgServer
- type Name
- func (*Name) Descriptor() ([]byte, []int)deprecated
- func (x *Name) GetAmount() []*v1beta1.Coin
- func (x *Name) GetName() string
- func (x *Name) GetOwner() string
- func (x *Name) GetResolveAddress() string
- func (*Name) ProtoMessage()
- func (x *Name) ProtoReflect() protoreflect.Message
- func (x *Name) Reset()
- func (x *Name) String() string
- type NameCollection
- func (*NameCollection) Descriptor() ([]byte, []int)deprecated
- func (x *NameCollection) GetNames() []*Name
- func (x *NameCollection) GetOwner() string
- func (*NameCollection) ProtoMessage()
- func (x *NameCollection) ProtoReflect() protoreflect.Message
- func (x *NameCollection) Reset()
- func (x *NameCollection) String() string
- type Owner
- type QueryClient
- type QueryNameRequest
- type QueryNameResponse
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const (
Msg_Bid_FullMethodName = "/cosmos.auction.v1.Msg/Bid"
)
const (
Query_Name_FullMethodName = "/cosmos.auction.v1.Query/Name"
)
Variables ¶
var File_cosmos_auction_v1_event_proto protoreflect.FileDescriptor
var File_cosmos_auction_v1_genesis_proto protoreflect.FileDescriptor
var File_cosmos_auction_v1_query_proto protoreflect.FileDescriptor
var File_cosmos_auction_v1_tx_proto protoreflect.FileDescriptor
var File_cosmos_auction_v1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.auction.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Bid", Handler: _Msg_Bid_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/auction/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: "cosmos.auction.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Name", Handler: _Query_Name_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/auction/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 EventReserve ¶
type EventReserve struct { // name is the human readable reserved address Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // owner is the bech32 address of the name's owner Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // resolve is the bech32 address the name resolves to Resolve string `protobuf:"bytes,3,opt,name=resolve,proto3" json:"resolve,omitempty"` // receiver is the receiver address of nft Amount []*v1beta1.Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
EventReserve is emitted on Msg/Reserve
func (*EventReserve) Descriptor
deprecated
func (*EventReserve) Descriptor() ([]byte, []int)
Deprecated: Use EventReserve.ProtoReflect.Descriptor instead.
func (*EventReserve) GetAmount ¶
func (x *EventReserve) GetAmount() []*v1beta1.Coin
func (*EventReserve) GetName ¶
func (x *EventReserve) GetName() string
func (*EventReserve) GetOwner ¶
func (x *EventReserve) GetOwner() string
func (*EventReserve) GetResolve ¶
func (x *EventReserve) GetResolve() string
func (*EventReserve) ProtoMessage ¶
func (*EventReserve) ProtoMessage()
func (*EventReserve) ProtoReflect ¶
func (x *EventReserve) ProtoReflect() protoreflect.Message
func (*EventReserve) Reset ¶
func (x *EventReserve) Reset()
func (*EventReserve) String ¶
func (x *EventReserve) String() string
type GenesisState ¶
type GenesisState struct {
// contains filtered or unexported fields
}
GenesisState defines the nameservice module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
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 MsgBid ¶
type MsgBid struct { // name defines the human readable address Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // resolveAddress defines the bech32 address to resolve to ResolveAddress string `protobuf:"bytes,2,opt,name=resolve_address,json=resolveAddress,proto3" json:"resolve_address,omitempty"` // owner is the address of the owner of listing Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // price is the last price paid for listing Amount []*v1beta1.Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
MsgReserve represents a message to purchase a nameservice.
func (*MsgBid) Descriptor
deprecated
func (*MsgBid) GetResolveAddress ¶
func (*MsgBid) ProtoMessage ¶
func (*MsgBid) ProtoMessage()
func (*MsgBid) ProtoReflect ¶
func (x *MsgBid) ProtoReflect() protoreflect.Message
type MsgBidResponse ¶
type MsgBidResponse struct {
// contains filtered or unexported fields
}
MsgSendResponse defines the Msg/Reserve response type.
func (*MsgBidResponse) Descriptor
deprecated
func (*MsgBidResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBidResponse.ProtoReflect.Descriptor instead.
func (*MsgBidResponse) ProtoMessage ¶
func (*MsgBidResponse) ProtoMessage()
func (*MsgBidResponse) ProtoReflect ¶
func (x *MsgBidResponse) ProtoReflect() protoreflect.Message
func (*MsgBidResponse) Reset ¶
func (x *MsgBidResponse) Reset()
func (*MsgBidResponse) String ¶
func (x *MsgBidResponse) String() string
type MsgClient ¶
type MsgClient interface { // Reserve defines a method to buy a nameservice with an associated bech32 // address to resolve to. Bid(ctx context.Context, in *MsgBid, opts ...grpc.CallOption) (*MsgBidResponse, 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 MsgServer ¶
type MsgServer interface { // Reserve defines a method to buy a nameservice with an associated bech32 // address to resolve to. Bid(context.Context, *MsgBid) (*MsgBidResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type Name ¶
type Name struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // Bech32 Address to Resolve ResolveAddress string `protobuf:"bytes,3,opt,name=resolve_address,json=resolveAddress,proto3" json:"resolve_address,omitempty"` Amount []*v1beta1.Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
Name defines the properties of a name in the name service auction system.
func (*Name) Descriptor
deprecated
func (*Name) GetResolveAddress ¶
func (*Name) ProtoMessage ¶
func (*Name) ProtoMessage()
func (*Name) ProtoReflect ¶
func (x *Name) ProtoReflect() protoreflect.Message
type NameCollection ¶
type NameCollection struct { // owner is the owner address of the following nft Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // names is a all names of the same owner Names []*Name `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
Entry define all names owned by an account
func (*NameCollection) Descriptor
deprecated
func (*NameCollection) Descriptor() ([]byte, []int)
Deprecated: Use NameCollection.ProtoReflect.Descriptor instead.
func (*NameCollection) GetNames ¶
func (x *NameCollection) GetNames() []*Name
func (*NameCollection) GetOwner ¶
func (x *NameCollection) GetOwner() string
func (*NameCollection) ProtoMessage ¶
func (*NameCollection) ProtoMessage()
func (*NameCollection) ProtoReflect ¶
func (x *NameCollection) ProtoReflect() protoreflect.Message
func (*NameCollection) Reset ¶
func (x *NameCollection) Reset()
func (*NameCollection) String ¶
func (x *NameCollection) String() string
type Owner ¶
type Owner struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the owner // Bech32 Address of Owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // contains filtered or unexported fields }
Owner defines the properties of an owner in the name service auction system.
func (*Owner) Descriptor
deprecated
func (*Owner) GetOwnerAddress ¶
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface { // Name is a method that takes a QueryNameRequest and returns a QueryNameResponse. Name(ctx context.Context, in *QueryNameRequest, opts ...grpc.CallOption) (*QueryNameResponse, 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 QueryNameRequest ¶
type QueryNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
QueryNameRequest is the request type for the Query/Names RPC method
func (*QueryNameRequest) Descriptor
deprecated
func (*QueryNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryNameRequest.ProtoReflect.Descriptor instead.
func (*QueryNameRequest) GetName ¶
func (x *QueryNameRequest) GetName() string
func (*QueryNameRequest) ProtoMessage ¶
func (*QueryNameRequest) ProtoMessage()
func (*QueryNameRequest) ProtoReflect ¶
func (x *QueryNameRequest) ProtoReflect() protoreflect.Message
func (*QueryNameRequest) Reset ¶
func (x *QueryNameRequest) Reset()
func (*QueryNameRequest) String ¶
func (x *QueryNameRequest) String() string
type QueryNameResponse ¶
type QueryNameResponse struct { Name *Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
QueryNameResponse is the response type for the Query/Names RPC method
func (*QueryNameResponse) Descriptor
deprecated
func (*QueryNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryNameResponse.ProtoReflect.Descriptor instead.
func (*QueryNameResponse) GetName ¶
func (x *QueryNameResponse) GetName() *Name
func (*QueryNameResponse) ProtoMessage ¶
func (*QueryNameResponse) ProtoMessage()
func (*QueryNameResponse) ProtoReflect ¶
func (x *QueryNameResponse) ProtoReflect() protoreflect.Message
func (*QueryNameResponse) Reset ¶
func (x *QueryNameResponse) Reset()
func (*QueryNameResponse) String ¶
func (x *QueryNameResponse) String() string
type QueryServer ¶
type QueryServer interface { // Name is a method that takes a QueryNameRequest and returns a QueryNameResponse. Name(context.Context, *QueryNameRequest) (*QueryNameResponse, 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) Bid ¶
func (UnimplementedMsgServer) Bid(context.Context, *MsgBid) (*MsgBidResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Name ¶
func (UnimplementedQueryServer) Name(context.Context, *QueryNameRequest) (*QueryNameResponse, 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.