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 GenesisState
- type MsgAuctionBid
- func (*MsgAuctionBid) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAuctionBid) GetBid() *v1beta1.Coin
- func (x *MsgAuctionBid) GetBidder() string
- func (x *MsgAuctionBid) GetTransactions() [][]byte
- func (*MsgAuctionBid) ProtoMessage()
- func (x *MsgAuctionBid) ProtoReflect() protoreflect.Message
- func (x *MsgAuctionBid) Reset()
- func (x *MsgAuctionBid) String() string
- type MsgAuctionBidResponse
- type MsgClient
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetEscrowAccountAddress() []byte
- func (x *Params) GetFrontRunningProtection() bool
- func (x *Params) GetMaxBundleSize() uint32
- func (x *Params) GetMinBidIncrement() *v1beta1.Coin
- func (x *Params) GetProposerFee() string
- func (x *Params) GetReserveFee() *v1beta1.Coin
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryClient
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Msg_AuctionBid_FullMethodName = "/sdk.auction.v1.Msg/AuctionBid" Msg_UpdateParams_FullMethodName = "/sdk.auction.v1.Msg/UpdateParams" )
const (
Query_Params_FullMethodName = "/sdk.auction.v1.Query/Params"
)
Variables ¶
var File_sdk_auction_v1_genesis_proto protoreflect.FileDescriptor
var File_sdk_auction_v1_query_proto protoreflect.FileDescriptor
var File_sdk_auction_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sdk.auction.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AuctionBid", Handler: _Msg_AuctionBid_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sdk/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: "sdk.auction.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sdk/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 GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
GenesisState defines the genesis state of the x/auction module.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
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 MsgAuctionBid ¶
type MsgAuctionBid struct { // bidder is the address of the account that is submitting a bid to the // auction. Bidder string `protobuf:"bytes,1,opt,name=bidder,proto3" json:"bidder,omitempty"` // bid is the amount of coins that the bidder is bidding to participate in the // auction. Bid *v1beta1.Coin `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid,omitempty"` // transactions are the bytes of the transactions that the bidder wants to // bundle together. Transactions [][]byte `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
MsgAuctionBid defines a request type for sending bids to the x/auction module.
func (*MsgAuctionBid) Descriptor
deprecated
func (*MsgAuctionBid) Descriptor() ([]byte, []int)
Deprecated: Use MsgAuctionBid.ProtoReflect.Descriptor instead.
func (*MsgAuctionBid) GetBid ¶
func (x *MsgAuctionBid) GetBid() *v1beta1.Coin
func (*MsgAuctionBid) GetBidder ¶
func (x *MsgAuctionBid) GetBidder() string
func (*MsgAuctionBid) GetTransactions ¶
func (x *MsgAuctionBid) GetTransactions() [][]byte
func (*MsgAuctionBid) ProtoMessage ¶
func (*MsgAuctionBid) ProtoMessage()
func (*MsgAuctionBid) ProtoReflect ¶
func (x *MsgAuctionBid) ProtoReflect() protoreflect.Message
func (*MsgAuctionBid) Reset ¶
func (x *MsgAuctionBid) Reset()
func (*MsgAuctionBid) String ¶
func (x *MsgAuctionBid) String() string
type MsgAuctionBidResponse ¶
type MsgAuctionBidResponse struct {
// contains filtered or unexported fields
}
MsgAuctionBidResponse defines the Msg/AuctionBid response type.
func (*MsgAuctionBidResponse) Descriptor
deprecated
func (*MsgAuctionBidResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAuctionBidResponse.ProtoReflect.Descriptor instead.
func (*MsgAuctionBidResponse) ProtoMessage ¶
func (*MsgAuctionBidResponse) ProtoMessage()
func (*MsgAuctionBidResponse) ProtoReflect ¶
func (x *MsgAuctionBidResponse) ProtoReflect() protoreflect.Message
func (*MsgAuctionBidResponse) Reset ¶
func (x *MsgAuctionBidResponse) Reset()
func (*MsgAuctionBidResponse) String ¶
func (x *MsgAuctionBidResponse) String() string
type MsgClient ¶
type MsgClient interface { // AuctionBid defines a method for sending bids to the x/auction module. AuctionBid(ctx context.Context, in *MsgAuctionBid, opts ...grpc.CallOption) (*MsgAuctionBidResponse, error) // UpdateParams defines a governance operation for updating the x/auction // module parameters. The authority is hard-coded to the x/gov module account. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 { // AuctionBid defines a method for sending bids to the x/auction module. AuctionBid(context.Context, *MsgAuctionBid) (*MsgAuctionBidResponse, error) // UpdateParams defines a governance operation for updating the x/auction // module parameters. The authority is hard-coded to the x/gov module account. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address of the account that is authorized to update the // x/auction module parameters. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params is the new parameters for the x/auction module. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams defines a request type for updating the x/auction module parameters.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the Msg/UpdateParams response type.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct { // max_bundle_size is the maximum number of transactions that can be bundled // in a single bundle. MaxBundleSize uint32 `protobuf:"varint,1,opt,name=max_bundle_size,json=maxBundleSize,proto3" json:"max_bundle_size,omitempty"` // escrow_account_address is the address of the account that will receive a // portion of the bid proceeds. EscrowAccountAddress []byte `protobuf:"bytes,2,opt,name=escrow_account_address,json=escrowAccountAddress,proto3" json:"escrow_account_address,omitempty"` // reserve_fee specifies the bid floor for the auction. ReserveFee *v1beta1.Coin `protobuf:"bytes,3,opt,name=reserve_fee,json=reserveFee,proto3" json:"reserve_fee,omitempty"` // min_bid_increment specifies the minimum amount that the next bid must be // greater than the previous bid. MinBidIncrement *v1beta1.Coin `protobuf:"bytes,4,opt,name=min_bid_increment,json=minBidIncrement,proto3" json:"min_bid_increment,omitempty"` // front_running_protection specifies whether front running and sandwich // attack protection is enabled. FrontRunningProtection bool `` /* 130-byte string literal not displayed */ // proposer_fee defines the portion of the winning bid that goes to the block // proposer that proposed the block. ProposerFee string `protobuf:"bytes,6,opt,name=proposer_fee,json=proposerFee,proto3" json:"proposer_fee,omitempty"` // contains filtered or unexported fields }
Params defines the parameters of the x/auction module.
func (*Params) Descriptor
deprecated
func (*Params) GetEscrowAccountAddress ¶
func (*Params) GetFrontRunningProtection ¶
func (*Params) GetMaxBundleSize ¶
func (*Params) GetMinBidIncrement ¶
func (*Params) GetProposerFee ¶
func (*Params) GetReserveFee ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface { // Params queries the parameters of the x/auction module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface { // Params queries the parameters of the x/auction module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, 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) AuctionBid ¶
func (UnimplementedMsgServer) AuctionBid(context.Context, *MsgAuctionBid) (*MsgAuctionBidResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, 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.