auctionv1

package
v0.0.0-...-8edd000 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

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

View Source
const (
	Msg_Bid_FullMethodName = "/cosmos.auction.v1.Msg/Bid"
)
View Source
const (
	Query_Name_FullMethodName = "/cosmos.auction.v1.Query/Name"
)

Variables

View Source
var File_cosmos_auction_v1_event_proto protoreflect.FileDescriptor
View Source
var File_cosmos_auction_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_cosmos_auction_v1_query_proto protoreflect.FileDescriptor
View Source
var File_cosmos_auction_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_cosmos_auction_v1_types_proto protoreflect.FileDescriptor
View Source
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)

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use MsgBid.ProtoReflect.Descriptor instead.

func (*MsgBid) GetAmount

func (x *MsgBid) GetAmount() []*v1beta1.Coin

func (*MsgBid) GetName

func (x *MsgBid) GetName() string

func (*MsgBid) GetOwner

func (x *MsgBid) GetOwner() string

func (*MsgBid) GetResolveAddress

func (x *MsgBid) GetResolveAddress() string

func (*MsgBid) ProtoMessage

func (*MsgBid) ProtoMessage()

func (*MsgBid) ProtoReflect

func (x *MsgBid) ProtoReflect() protoreflect.Message

func (*MsgBid) Reset

func (x *MsgBid) Reset()

func (*MsgBid) String

func (x *MsgBid) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Name.ProtoReflect.Descriptor instead.

func (*Name) GetAmount

func (x *Name) GetAmount() []*v1beta1.Coin

func (*Name) GetName

func (x *Name) GetName() string

func (*Name) GetOwner

func (x *Name) GetOwner() string

func (*Name) GetResolveAddress

func (x *Name) GetResolveAddress() string

func (*Name) ProtoMessage

func (*Name) ProtoMessage()

func (*Name) ProtoReflect

func (x *Name) ProtoReflect() protoreflect.Message

func (*Name) Reset

func (x *Name) Reset()

func (*Name) String

func (x *Name) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetName

func (x *Owner) GetName() string

func (*Owner) GetOwnerAddress

func (x *Owner) GetOwnerAddress() string

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect

func (x *Owner) ProtoReflect() protoreflect.Message

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

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

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Name

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL