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.
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 AllocationPrice
- type AuctionUsedAllocations
- func (*AuctionUsedAllocations) Descriptor() ([]byte, []int)deprecated
- func (x *AuctionUsedAllocations) GetAddress() string
- func (x *AuctionUsedAllocations) GetAuctionId() uint64
- func (x *AuctionUsedAllocations) GetNumAllocations() string
- func (x *AuctionUsedAllocations) GetWithdrawn() bool
- func (*AuctionUsedAllocations) ProtoMessage()
- func (x *AuctionUsedAllocations) ProtoReflect() protoreflect.Message
- func (x *AuctionUsedAllocations) Reset()
- func (x *AuctionUsedAllocations) String() string
- type EventAllocationsUsed
- func (*EventAllocationsUsed) Descriptor() ([]byte, []int)deprecated
- func (x *EventAllocationsUsed) GetAuctionId() uint64
- func (x *EventAllocationsUsed) GetNumAllocations() string
- func (x *EventAllocationsUsed) GetParticipant() string
- func (*EventAllocationsUsed) ProtoMessage()
- func (x *EventAllocationsUsed) ProtoReflect() protoreflect.Message
- func (x *EventAllocationsUsed) Reset()
- func (x *EventAllocationsUsed) String() string
- type EventAllocationsWithdrawn
- func (*EventAllocationsWithdrawn) Descriptor() ([]byte, []int)deprecated
- func (x *EventAllocationsWithdrawn) GetAuctionId() uint64
- func (x *EventAllocationsWithdrawn) GetParticipant() string
- func (*EventAllocationsWithdrawn) ProtoMessage()
- func (x *EventAllocationsWithdrawn) ProtoReflect() protoreflect.Message
- func (x *EventAllocationsWithdrawn) Reset()
- func (x *EventAllocationsWithdrawn) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetAuctionUsedAllocationsList() []*AuctionUsedAllocations
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetUsedAllocationsList() []*UsedAllocations
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgClient
- type MsgParticipate
- func (*MsgParticipate) Descriptor() ([]byte, []int)deprecated
- func (x *MsgParticipate) GetAuctionId() uint64
- func (x *MsgParticipate) GetParticipant() string
- func (x *MsgParticipate) GetTierId() uint64
- func (*MsgParticipate) ProtoMessage()
- func (x *MsgParticipate) ProtoReflect() protoreflect.Message
- func (x *MsgParticipate) Reset()
- func (x *MsgParticipate) String() string
- type MsgParticipateResponse
- 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 MsgWithdrawAllocations
- func (*MsgWithdrawAllocations) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdrawAllocations) GetAuctionId() uint64
- func (x *MsgWithdrawAllocations) GetParticipant() string
- func (*MsgWithdrawAllocations) ProtoMessage()
- func (x *MsgWithdrawAllocations) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawAllocations) Reset()
- func (x *MsgWithdrawAllocations) String() string
- type MsgWithdrawAllocationsResponse
- func (*MsgWithdrawAllocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgWithdrawAllocationsResponse) ProtoMessage()
- func (x *MsgWithdrawAllocationsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawAllocationsResponse) Reset()
- func (x *MsgWithdrawAllocationsResponse) String() string
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetAllocationPrice() *AllocationPrice
- func (x *Params) GetParticipationTierList() []*Tier
- func (x *Params) GetRegistrationPeriod() *durationpb.Duration
- func (x *Params) GetWithdrawalDelay() *durationpb.Duration
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryAllAuctionUsedAllocationsRequest
- func (*QueryAllAuctionUsedAllocationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllAuctionUsedAllocationsRequest) GetAddress() string
- func (x *QueryAllAuctionUsedAllocationsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllAuctionUsedAllocationsRequest) ProtoMessage()
- func (x *QueryAllAuctionUsedAllocationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllAuctionUsedAllocationsRequest) Reset()
- func (x *QueryAllAuctionUsedAllocationsRequest) String() string
- type QueryAllAuctionUsedAllocationsResponse
- func (*QueryAllAuctionUsedAllocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllAuctionUsedAllocationsResponse) GetAuctionUsedAllocations() []*AuctionUsedAllocations
- func (x *QueryAllAuctionUsedAllocationsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllAuctionUsedAllocationsResponse) ProtoMessage()
- func (x *QueryAllAuctionUsedAllocationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllAuctionUsedAllocationsResponse) Reset()
- func (x *QueryAllAuctionUsedAllocationsResponse) String() string
- type QueryAllUsedAllocationsRequest
- func (*QueryAllUsedAllocationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUsedAllocationsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllUsedAllocationsRequest) ProtoMessage()
- func (x *QueryAllUsedAllocationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllUsedAllocationsRequest) Reset()
- func (x *QueryAllUsedAllocationsRequest) String() string
- type QueryAllUsedAllocationsResponse
- func (*QueryAllUsedAllocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUsedAllocationsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllUsedAllocationsResponse) GetUsedAllocations() []*UsedAllocations
- func (*QueryAllUsedAllocationsResponse) ProtoMessage()
- func (x *QueryAllUsedAllocationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllUsedAllocationsResponse) Reset()
- func (x *QueryAllUsedAllocationsResponse) String() string
- type QueryAvailableAllocationsRequest
- func (*QueryAvailableAllocationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAvailableAllocationsRequest) GetAddress() string
- func (*QueryAvailableAllocationsRequest) ProtoMessage()
- func (x *QueryAvailableAllocationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAvailableAllocationsRequest) Reset()
- func (x *QueryAvailableAllocationsRequest) String() string
- type QueryAvailableAllocationsResponse
- func (*QueryAvailableAllocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAvailableAllocationsResponse) GetAvailableAllocations() string
- func (*QueryAvailableAllocationsResponse) ProtoMessage()
- func (x *QueryAvailableAllocationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAvailableAllocationsResponse) Reset()
- func (x *QueryAvailableAllocationsResponse) String() string
- type QueryClient
- type QueryGetAuctionUsedAllocationsRequest
- func (*QueryGetAuctionUsedAllocationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetAuctionUsedAllocationsRequest) GetAddress() string
- func (x *QueryGetAuctionUsedAllocationsRequest) GetAuctionId() uint64
- func (*QueryGetAuctionUsedAllocationsRequest) ProtoMessage()
- func (x *QueryGetAuctionUsedAllocationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetAuctionUsedAllocationsRequest) Reset()
- func (x *QueryGetAuctionUsedAllocationsRequest) String() string
- type QueryGetAuctionUsedAllocationsResponse
- func (*QueryGetAuctionUsedAllocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetAuctionUsedAllocationsResponse) GetAuctionUsedAllocations() *AuctionUsedAllocations
- func (*QueryGetAuctionUsedAllocationsResponse) ProtoMessage()
- func (x *QueryGetAuctionUsedAllocationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetAuctionUsedAllocationsResponse) Reset()
- func (x *QueryGetAuctionUsedAllocationsResponse) String() string
- type QueryGetUsedAllocationsRequest
- func (*QueryGetUsedAllocationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetUsedAllocationsRequest) GetAddress() string
- func (*QueryGetUsedAllocationsRequest) ProtoMessage()
- func (x *QueryGetUsedAllocationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetUsedAllocationsRequest) Reset()
- func (x *QueryGetUsedAllocationsRequest) String() string
- type QueryGetUsedAllocationsResponse
- func (*QueryGetUsedAllocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetUsedAllocationsResponse) GetUsedAllocations() *UsedAllocations
- func (*QueryGetUsedAllocationsResponse) ProtoMessage()
- func (x *QueryGetUsedAllocationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetUsedAllocationsResponse) Reset()
- func (x *QueryGetUsedAllocationsResponse) String() string
- 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 QueryTotalAllocationsRequest
- func (*QueryTotalAllocationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTotalAllocationsRequest) GetAddress() string
- func (*QueryTotalAllocationsRequest) ProtoMessage()
- func (x *QueryTotalAllocationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTotalAllocationsRequest) Reset()
- func (x *QueryTotalAllocationsRequest) String() string
- type QueryTotalAllocationsResponse
- func (*QueryTotalAllocationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTotalAllocationsResponse) GetTotalAllocations() string
- func (*QueryTotalAllocationsResponse) ProtoMessage()
- func (x *QueryTotalAllocationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTotalAllocationsResponse) Reset()
- func (x *QueryTotalAllocationsResponse) String() string
- type Tier
- func (*Tier) Descriptor() ([]byte, []int)deprecated
- func (x *Tier) GetBenefits() *TierBenefits
- func (x *Tier) GetRequiredAllocations() string
- func (x *Tier) GetTierId() uint64
- func (*Tier) ProtoMessage()
- func (x *Tier) ProtoReflect() protoreflect.Message
- func (x *Tier) Reset()
- func (x *Tier) String() string
- type TierBenefits
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) Participate(context.Context, *MsgParticipate) (*MsgParticipateResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (UnimplementedMsgServer) WithdrawAllocations(context.Context, *MsgWithdrawAllocations) (*MsgWithdrawAllocationsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AvailableAllocations(context.Context, *QueryAvailableAllocationsRequest) (*QueryAvailableAllocationsResponse, error)
- func (UnimplementedQueryServer) GetAuctionUsedAllocations(context.Context, *QueryGetAuctionUsedAllocationsRequest) (*QueryGetAuctionUsedAllocationsResponse, error)
- func (UnimplementedQueryServer) GetUsedAllocations(context.Context, *QueryGetUsedAllocationsRequest) (*QueryGetUsedAllocationsResponse, error)
- func (UnimplementedQueryServer) ListAuctionUsedAllocations(context.Context, *QueryAllAuctionUsedAllocationsRequest) (*QueryAllAuctionUsedAllocationsResponse, error)
- func (UnimplementedQueryServer) ListUsedAllocations(context.Context, *QueryAllUsedAllocationsRequest) (*QueryAllUsedAllocationsResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) TotalAllocations(context.Context, *QueryTotalAllocationsRequest) (*QueryTotalAllocationsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
- type UsedAllocations
- func (*UsedAllocations) Descriptor() ([]byte, []int)deprecated
- func (x *UsedAllocations) GetAddress() string
- func (x *UsedAllocations) GetNumAllocations() string
- func (*UsedAllocations) ProtoMessage()
- func (x *UsedAllocations) ProtoReflect() protoreflect.Message
- func (x *UsedAllocations) Reset()
- func (x *UsedAllocations) String() string
Constants ¶
const ( Query_Params_FullMethodName = "/network.participation.v1.Query/Params" Query_GetAuctionUsedAllocations_FullMethodName = "/network.participation.v1.Query/GetAuctionUsedAllocations" Query_ListAuctionUsedAllocations_FullMethodName = "/network.participation.v1.Query/ListAuctionUsedAllocations" Query_GetUsedAllocations_FullMethodName = "/network.participation.v1.Query/GetUsedAllocations" Query_ListUsedAllocations_FullMethodName = "/network.participation.v1.Query/ListUsedAllocations" Query_TotalAllocations_FullMethodName = "/network.participation.v1.Query/TotalAllocations" Query_AvailableAllocations_FullMethodName = "/network.participation.v1.Query/AvailableAllocations" )
const ( Msg_UpdateParams_FullMethodName = "/network.participation.v1.Msg/UpdateParams" Msg_Participate_FullMethodName = "/network.participation.v1.Msg/Participate" Msg_WithdrawAllocations_FullMethodName = "/network.participation.v1.Msg/WithdrawAllocations" )
Variables ¶
var File_network_participation_v1_auction_used_allocations_proto protoreflect.FileDescriptor
var File_network_participation_v1_events_proto protoreflect.FileDescriptor
var File_network_participation_v1_genesis_proto protoreflect.FileDescriptor
var File_network_participation_v1_params_proto protoreflect.FileDescriptor
var File_network_participation_v1_query_proto protoreflect.FileDescriptor
var File_network_participation_v1_tx_proto protoreflect.FileDescriptor
var File_network_participation_v1_used_allocations_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "network.participation.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "Participate", Handler: _Msg_Participate_Handler, }, { MethodName: "WithdrawAllocations", Handler: _Msg_WithdrawAllocations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "network/participation/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: "network.participation.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "GetAuctionUsedAllocations", Handler: _Query_GetAuctionUsedAllocations_Handler, }, { MethodName: "ListAuctionUsedAllocations", Handler: _Query_ListAuctionUsedAllocations_Handler, }, { MethodName: "GetUsedAllocations", Handler: _Query_GetUsedAllocations_Handler, }, { MethodName: "ListUsedAllocations", Handler: _Query_ListUsedAllocations_Handler, }, { MethodName: "TotalAllocations", Handler: _Query_TotalAllocations_Handler, }, { MethodName: "AvailableAllocations", Handler: _Query_AvailableAllocations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "network/participation/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 AllocationPrice ¶
type AllocationPrice struct { // number of bonded tokens necessary to get one allocation Bonded string `protobuf:"bytes,1,opt,name=bonded,proto3" json:"bonded,omitempty"` // contains filtered or unexported fields }
func (*AllocationPrice) Descriptor
deprecated
func (*AllocationPrice) Descriptor() ([]byte, []int)
Deprecated: Use AllocationPrice.ProtoReflect.Descriptor instead.
func (*AllocationPrice) GetBonded ¶
func (x *AllocationPrice) GetBonded() string
func (*AllocationPrice) ProtoMessage ¶
func (*AllocationPrice) ProtoMessage()
func (*AllocationPrice) ProtoReflect ¶
func (x *AllocationPrice) ProtoReflect() protoreflect.Message
func (*AllocationPrice) Reset ¶
func (x *AllocationPrice) Reset()
func (*AllocationPrice) String ¶
func (x *AllocationPrice) String() string
type AuctionUsedAllocations ¶
type AuctionUsedAllocations struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` AuctionId uint64 `protobuf:"varint,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` Withdrawn bool `protobuf:"varint,3,opt,name=withdrawn,proto3" json:"withdrawn,omitempty"` NumAllocations string `protobuf:"bytes,4,opt,name=num_allocations,json=numAllocations,proto3" json:"num_allocations,omitempty"` // contains filtered or unexported fields }
func (*AuctionUsedAllocations) Descriptor
deprecated
func (*AuctionUsedAllocations) Descriptor() ([]byte, []int)
Deprecated: Use AuctionUsedAllocations.ProtoReflect.Descriptor instead.
func (*AuctionUsedAllocations) GetAddress ¶
func (x *AuctionUsedAllocations) GetAddress() string
func (*AuctionUsedAllocations) GetAuctionId ¶
func (x *AuctionUsedAllocations) GetAuctionId() uint64
func (*AuctionUsedAllocations) GetNumAllocations ¶
func (x *AuctionUsedAllocations) GetNumAllocations() string
func (*AuctionUsedAllocations) GetWithdrawn ¶
func (x *AuctionUsedAllocations) GetWithdrawn() bool
func (*AuctionUsedAllocations) ProtoMessage ¶
func (*AuctionUsedAllocations) ProtoMessage()
func (*AuctionUsedAllocations) ProtoReflect ¶
func (x *AuctionUsedAllocations) ProtoReflect() protoreflect.Message
func (*AuctionUsedAllocations) Reset ¶
func (x *AuctionUsedAllocations) Reset()
func (*AuctionUsedAllocations) String ¶
func (x *AuctionUsedAllocations) String() string
type EventAllocationsUsed ¶
type EventAllocationsUsed struct { Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"` AuctionId uint64 `protobuf:"varint,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` NumAllocations string `protobuf:"bytes,3,opt,name=num_allocations,json=numAllocations,proto3" json:"num_allocations,omitempty"` // contains filtered or unexported fields }
func (*EventAllocationsUsed) Descriptor
deprecated
func (*EventAllocationsUsed) Descriptor() ([]byte, []int)
Deprecated: Use EventAllocationsUsed.ProtoReflect.Descriptor instead.
func (*EventAllocationsUsed) GetAuctionId ¶
func (x *EventAllocationsUsed) GetAuctionId() uint64
func (*EventAllocationsUsed) GetNumAllocations ¶
func (x *EventAllocationsUsed) GetNumAllocations() string
func (*EventAllocationsUsed) GetParticipant ¶
func (x *EventAllocationsUsed) GetParticipant() string
func (*EventAllocationsUsed) ProtoMessage ¶
func (*EventAllocationsUsed) ProtoMessage()
func (*EventAllocationsUsed) ProtoReflect ¶
func (x *EventAllocationsUsed) ProtoReflect() protoreflect.Message
func (*EventAllocationsUsed) Reset ¶
func (x *EventAllocationsUsed) Reset()
func (*EventAllocationsUsed) String ¶
func (x *EventAllocationsUsed) String() string
type EventAllocationsWithdrawn ¶
type EventAllocationsWithdrawn struct { Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"` AuctionId uint64 `protobuf:"varint,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` // contains filtered or unexported fields }
func (*EventAllocationsWithdrawn) Descriptor
deprecated
func (*EventAllocationsWithdrawn) Descriptor() ([]byte, []int)
Deprecated: Use EventAllocationsWithdrawn.ProtoReflect.Descriptor instead.
func (*EventAllocationsWithdrawn) GetAuctionId ¶
func (x *EventAllocationsWithdrawn) GetAuctionId() uint64
func (*EventAllocationsWithdrawn) GetParticipant ¶
func (x *EventAllocationsWithdrawn) GetParticipant() string
func (*EventAllocationsWithdrawn) ProtoMessage ¶
func (*EventAllocationsWithdrawn) ProtoMessage()
func (*EventAllocationsWithdrawn) ProtoReflect ¶
func (x *EventAllocationsWithdrawn) ProtoReflect() protoreflect.Message
func (*EventAllocationsWithdrawn) Reset ¶
func (x *EventAllocationsWithdrawn) Reset()
func (*EventAllocationsWithdrawn) String ¶
func (x *EventAllocationsWithdrawn) String() string
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` AuctionUsedAllocationsList []*AuctionUsedAllocations `` /* 143-byte string literal not displayed */ UsedAllocationsList []*UsedAllocations `protobuf:"bytes,3,rep,name=used_allocations_list,json=usedAllocationsList,proto3" json:"used_allocations_list,omitempty"` // contains filtered or unexported fields }
GenesisState defines the participation module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetAuctionUsedAllocationsList ¶
func (x *GenesisState) GetAuctionUsedAllocationsList() []*AuctionUsedAllocations
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetUsedAllocationsList ¶
func (x *GenesisState) GetUsedAllocationsList() []*UsedAllocations
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 MsgClient ¶
type MsgClient interface { // UpdateParams defines a (governance) operation for updating the module // parameters. The authority defaults to the x/gov module account. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) Participate(ctx context.Context, in *MsgParticipate, opts ...grpc.CallOption) (*MsgParticipateResponse, error) WithdrawAllocations(ctx context.Context, in *MsgWithdrawAllocations, opts ...grpc.CallOption) (*MsgWithdrawAllocationsResponse, 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 MsgParticipate ¶
type MsgParticipate struct { Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"` AuctionId uint64 `protobuf:"varint,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` TierId uint64 `protobuf:"varint,3,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"` // contains filtered or unexported fields }
func (*MsgParticipate) Descriptor
deprecated
func (*MsgParticipate) Descriptor() ([]byte, []int)
Deprecated: Use MsgParticipate.ProtoReflect.Descriptor instead.
func (*MsgParticipate) GetAuctionId ¶
func (x *MsgParticipate) GetAuctionId() uint64
func (*MsgParticipate) GetParticipant ¶
func (x *MsgParticipate) GetParticipant() string
func (*MsgParticipate) GetTierId ¶
func (x *MsgParticipate) GetTierId() uint64
func (*MsgParticipate) ProtoMessage ¶
func (*MsgParticipate) ProtoMessage()
func (*MsgParticipate) ProtoReflect ¶
func (x *MsgParticipate) ProtoReflect() protoreflect.Message
func (*MsgParticipate) Reset ¶
func (x *MsgParticipate) Reset()
func (*MsgParticipate) String ¶
func (x *MsgParticipate) String() string
type MsgParticipateResponse ¶
type MsgParticipateResponse struct {
// contains filtered or unexported fields
}
func (*MsgParticipateResponse) Descriptor
deprecated
func (*MsgParticipateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgParticipateResponse.ProtoReflect.Descriptor instead.
func (*MsgParticipateResponse) ProtoMessage ¶
func (*MsgParticipateResponse) ProtoMessage()
func (*MsgParticipateResponse) ProtoReflect ¶
func (x *MsgParticipateResponse) ProtoReflect() protoreflect.Message
func (*MsgParticipateResponse) Reset ¶
func (x *MsgParticipateResponse) Reset()
func (*MsgParticipateResponse) String ¶
func (x *MsgParticipateResponse) String() string
type MsgServer ¶
type MsgServer interface { // UpdateParams defines a (governance) operation for updating the module // parameters. The authority defaults to the x/gov module account. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) Participate(context.Context, *MsgParticipate) (*MsgParticipateResponse, error) WithdrawAllocations(context.Context, *MsgWithdrawAllocations) (*MsgWithdrawAllocationsResponse, 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 that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
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 response structure for executing a MsgUpdateParams message.
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 MsgWithdrawAllocations ¶
type MsgWithdrawAllocations struct { Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"` AuctionId uint64 `protobuf:"varint,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` // contains filtered or unexported fields }
func (*MsgWithdrawAllocations) Descriptor
deprecated
func (*MsgWithdrawAllocations) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawAllocations.ProtoReflect.Descriptor instead.
func (*MsgWithdrawAllocations) GetAuctionId ¶
func (x *MsgWithdrawAllocations) GetAuctionId() uint64
func (*MsgWithdrawAllocations) GetParticipant ¶
func (x *MsgWithdrawAllocations) GetParticipant() string
func (*MsgWithdrawAllocations) ProtoMessage ¶
func (*MsgWithdrawAllocations) ProtoMessage()
func (*MsgWithdrawAllocations) ProtoReflect ¶
func (x *MsgWithdrawAllocations) ProtoReflect() protoreflect.Message
func (*MsgWithdrawAllocations) Reset ¶
func (x *MsgWithdrawAllocations) Reset()
func (*MsgWithdrawAllocations) String ¶
func (x *MsgWithdrawAllocations) String() string
type MsgWithdrawAllocationsResponse ¶
type MsgWithdrawAllocationsResponse struct {
// contains filtered or unexported fields
}
func (*MsgWithdrawAllocationsResponse) Descriptor
deprecated
func (*MsgWithdrawAllocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawAllocationsResponse.ProtoReflect.Descriptor instead.
func (*MsgWithdrawAllocationsResponse) ProtoMessage ¶
func (*MsgWithdrawAllocationsResponse) ProtoMessage()
func (*MsgWithdrawAllocationsResponse) ProtoReflect ¶
func (x *MsgWithdrawAllocationsResponse) ProtoReflect() protoreflect.Message
func (*MsgWithdrawAllocationsResponse) Reset ¶
func (x *MsgWithdrawAllocationsResponse) Reset()
func (*MsgWithdrawAllocationsResponse) String ¶
func (x *MsgWithdrawAllocationsResponse) String() string
type Params ¶
type Params struct { AllocationPrice *AllocationPrice `protobuf:"bytes,1,opt,name=allocation_price,json=allocationPrice,proto3" json:"allocation_price,omitempty"` ParticipationTierList []*Tier `` /* 126-byte string literal not displayed */ // Time frame before auction starts where MsgParticipate can be called RegistrationPeriod *durationpb.Duration `protobuf:"bytes,3,opt,name=registration_period,json=registrationPeriod,proto3" json:"registration_period,omitempty"` // Delay after auction starts when allocations can be withdrawn WithdrawalDelay *durationpb.Duration `protobuf:"bytes,4,opt,name=withdrawal_delay,json=withdrawalDelay,proto3" json:"withdrawal_delay,omitempty"` // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetAllocationPrice ¶
func (x *Params) GetAllocationPrice() *AllocationPrice
func (*Params) GetParticipationTierList ¶
func (*Params) GetRegistrationPeriod ¶
func (x *Params) GetRegistrationPeriod() *durationpb.Duration
func (*Params) GetWithdrawalDelay ¶
func (x *Params) GetWithdrawalDelay() *durationpb.Duration
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAllAuctionUsedAllocationsRequest ¶
type QueryAllAuctionUsedAllocationsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllAuctionUsedAllocationsRequest) Descriptor
deprecated
func (*QueryAllAuctionUsedAllocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllAuctionUsedAllocationsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllAuctionUsedAllocationsRequest) GetAddress ¶
func (x *QueryAllAuctionUsedAllocationsRequest) GetAddress() string
func (*QueryAllAuctionUsedAllocationsRequest) GetPagination ¶
func (x *QueryAllAuctionUsedAllocationsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllAuctionUsedAllocationsRequest) ProtoMessage ¶
func (*QueryAllAuctionUsedAllocationsRequest) ProtoMessage()
func (*QueryAllAuctionUsedAllocationsRequest) ProtoReflect ¶
func (x *QueryAllAuctionUsedAllocationsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllAuctionUsedAllocationsRequest) Reset ¶
func (x *QueryAllAuctionUsedAllocationsRequest) Reset()
func (*QueryAllAuctionUsedAllocationsRequest) String ¶
func (x *QueryAllAuctionUsedAllocationsRequest) String() string
type QueryAllAuctionUsedAllocationsResponse ¶
type QueryAllAuctionUsedAllocationsResponse struct { AuctionUsedAllocations []*AuctionUsedAllocations `` /* 129-byte string literal not displayed */ Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllAuctionUsedAllocationsResponse) Descriptor
deprecated
func (*QueryAllAuctionUsedAllocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllAuctionUsedAllocationsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllAuctionUsedAllocationsResponse) GetAuctionUsedAllocations ¶
func (x *QueryAllAuctionUsedAllocationsResponse) GetAuctionUsedAllocations() []*AuctionUsedAllocations
func (*QueryAllAuctionUsedAllocationsResponse) GetPagination ¶
func (x *QueryAllAuctionUsedAllocationsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllAuctionUsedAllocationsResponse) ProtoMessage ¶
func (*QueryAllAuctionUsedAllocationsResponse) ProtoMessage()
func (*QueryAllAuctionUsedAllocationsResponse) ProtoReflect ¶
func (x *QueryAllAuctionUsedAllocationsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllAuctionUsedAllocationsResponse) Reset ¶
func (x *QueryAllAuctionUsedAllocationsResponse) Reset()
func (*QueryAllAuctionUsedAllocationsResponse) String ¶
func (x *QueryAllAuctionUsedAllocationsResponse) String() string
type QueryAllUsedAllocationsRequest ¶
type QueryAllUsedAllocationsRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllUsedAllocationsRequest) Descriptor
deprecated
func (*QueryAllUsedAllocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUsedAllocationsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllUsedAllocationsRequest) GetPagination ¶
func (x *QueryAllUsedAllocationsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllUsedAllocationsRequest) ProtoMessage ¶
func (*QueryAllUsedAllocationsRequest) ProtoMessage()
func (*QueryAllUsedAllocationsRequest) ProtoReflect ¶
func (x *QueryAllUsedAllocationsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllUsedAllocationsRequest) Reset ¶
func (x *QueryAllUsedAllocationsRequest) Reset()
func (*QueryAllUsedAllocationsRequest) String ¶
func (x *QueryAllUsedAllocationsRequest) String() string
type QueryAllUsedAllocationsResponse ¶
type QueryAllUsedAllocationsResponse struct { UsedAllocations []*UsedAllocations `protobuf:"bytes,1,rep,name=used_allocations,json=usedAllocations,proto3" json:"used_allocations,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllUsedAllocationsResponse) Descriptor
deprecated
func (*QueryAllUsedAllocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUsedAllocationsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllUsedAllocationsResponse) GetPagination ¶
func (x *QueryAllUsedAllocationsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllUsedAllocationsResponse) GetUsedAllocations ¶
func (x *QueryAllUsedAllocationsResponse) GetUsedAllocations() []*UsedAllocations
func (*QueryAllUsedAllocationsResponse) ProtoMessage ¶
func (*QueryAllUsedAllocationsResponse) ProtoMessage()
func (*QueryAllUsedAllocationsResponse) ProtoReflect ¶
func (x *QueryAllUsedAllocationsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllUsedAllocationsResponse) Reset ¶
func (x *QueryAllUsedAllocationsResponse) Reset()
func (*QueryAllUsedAllocationsResponse) String ¶
func (x *QueryAllUsedAllocationsResponse) String() string
type QueryAvailableAllocationsRequest ¶
type QueryAvailableAllocationsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*QueryAvailableAllocationsRequest) Descriptor
deprecated
func (*QueryAvailableAllocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAvailableAllocationsRequest.ProtoReflect.Descriptor instead.
func (*QueryAvailableAllocationsRequest) GetAddress ¶
func (x *QueryAvailableAllocationsRequest) GetAddress() string
func (*QueryAvailableAllocationsRequest) ProtoMessage ¶
func (*QueryAvailableAllocationsRequest) ProtoMessage()
func (*QueryAvailableAllocationsRequest) ProtoReflect ¶
func (x *QueryAvailableAllocationsRequest) ProtoReflect() protoreflect.Message
func (*QueryAvailableAllocationsRequest) Reset ¶
func (x *QueryAvailableAllocationsRequest) Reset()
func (*QueryAvailableAllocationsRequest) String ¶
func (x *QueryAvailableAllocationsRequest) String() string
type QueryAvailableAllocationsResponse ¶
type QueryAvailableAllocationsResponse struct { AvailableAllocations string `protobuf:"bytes,1,opt,name=available_allocations,json=availableAllocations,proto3" json:"available_allocations,omitempty"` // contains filtered or unexported fields }
func (*QueryAvailableAllocationsResponse) Descriptor
deprecated
func (*QueryAvailableAllocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAvailableAllocationsResponse.ProtoReflect.Descriptor instead.
func (*QueryAvailableAllocationsResponse) GetAvailableAllocations ¶
func (x *QueryAvailableAllocationsResponse) GetAvailableAllocations() string
func (*QueryAvailableAllocationsResponse) ProtoMessage ¶
func (*QueryAvailableAllocationsResponse) ProtoMessage()
func (*QueryAvailableAllocationsResponse) ProtoReflect ¶
func (x *QueryAvailableAllocationsResponse) ProtoReflect() protoreflect.Message
func (*QueryAvailableAllocationsResponse) Reset ¶
func (x *QueryAvailableAllocationsResponse) Reset()
func (*QueryAvailableAllocationsResponse) String ¶
func (x *QueryAvailableAllocationsResponse) String() string
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of AuctionUsedAllocations items. GetAuctionUsedAllocations(ctx context.Context, in *QueryGetAuctionUsedAllocationsRequest, opts ...grpc.CallOption) (*QueryGetAuctionUsedAllocationsResponse, error) ListAuctionUsedAllocations(ctx context.Context, in *QueryAllAuctionUsedAllocationsRequest, opts ...grpc.CallOption) (*QueryAllAuctionUsedAllocationsResponse, error) // Queries a list of UsedAllocations items. GetUsedAllocations(ctx context.Context, in *QueryGetUsedAllocationsRequest, opts ...grpc.CallOption) (*QueryGetUsedAllocationsResponse, error) ListUsedAllocations(ctx context.Context, in *QueryAllUsedAllocationsRequest, opts ...grpc.CallOption) (*QueryAllUsedAllocationsResponse, error) // Queries a list of TotalAllocations items. TotalAllocations(ctx context.Context, in *QueryTotalAllocationsRequest, opts ...grpc.CallOption) (*QueryTotalAllocationsResponse, error) // Queries a list of AvailableAllocations items. AvailableAllocations(ctx context.Context, in *QueryAvailableAllocationsRequest, opts ...grpc.CallOption) (*QueryAvailableAllocationsResponse, 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 QueryGetAuctionUsedAllocationsRequest ¶
type QueryGetAuctionUsedAllocationsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` AuctionId uint64 `protobuf:"varint,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` // contains filtered or unexported fields }
func (*QueryGetAuctionUsedAllocationsRequest) Descriptor
deprecated
func (*QueryGetAuctionUsedAllocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetAuctionUsedAllocationsRequest.ProtoReflect.Descriptor instead.
func (*QueryGetAuctionUsedAllocationsRequest) GetAddress ¶
func (x *QueryGetAuctionUsedAllocationsRequest) GetAddress() string
func (*QueryGetAuctionUsedAllocationsRequest) GetAuctionId ¶
func (x *QueryGetAuctionUsedAllocationsRequest) GetAuctionId() uint64
func (*QueryGetAuctionUsedAllocationsRequest) ProtoMessage ¶
func (*QueryGetAuctionUsedAllocationsRequest) ProtoMessage()
func (*QueryGetAuctionUsedAllocationsRequest) ProtoReflect ¶
func (x *QueryGetAuctionUsedAllocationsRequest) ProtoReflect() protoreflect.Message
func (*QueryGetAuctionUsedAllocationsRequest) Reset ¶
func (x *QueryGetAuctionUsedAllocationsRequest) Reset()
func (*QueryGetAuctionUsedAllocationsRequest) String ¶
func (x *QueryGetAuctionUsedAllocationsRequest) String() string
type QueryGetAuctionUsedAllocationsResponse ¶
type QueryGetAuctionUsedAllocationsResponse struct { AuctionUsedAllocations *AuctionUsedAllocations `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*QueryGetAuctionUsedAllocationsResponse) Descriptor
deprecated
func (*QueryGetAuctionUsedAllocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetAuctionUsedAllocationsResponse.ProtoReflect.Descriptor instead.
func (*QueryGetAuctionUsedAllocationsResponse) GetAuctionUsedAllocations ¶
func (x *QueryGetAuctionUsedAllocationsResponse) GetAuctionUsedAllocations() *AuctionUsedAllocations
func (*QueryGetAuctionUsedAllocationsResponse) ProtoMessage ¶
func (*QueryGetAuctionUsedAllocationsResponse) ProtoMessage()
func (*QueryGetAuctionUsedAllocationsResponse) ProtoReflect ¶
func (x *QueryGetAuctionUsedAllocationsResponse) ProtoReflect() protoreflect.Message
func (*QueryGetAuctionUsedAllocationsResponse) Reset ¶
func (x *QueryGetAuctionUsedAllocationsResponse) Reset()
func (*QueryGetAuctionUsedAllocationsResponse) String ¶
func (x *QueryGetAuctionUsedAllocationsResponse) String() string
type QueryGetUsedAllocationsRequest ¶
type QueryGetUsedAllocationsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*QueryGetUsedAllocationsRequest) Descriptor
deprecated
func (*QueryGetUsedAllocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetUsedAllocationsRequest.ProtoReflect.Descriptor instead.
func (*QueryGetUsedAllocationsRequest) GetAddress ¶
func (x *QueryGetUsedAllocationsRequest) GetAddress() string
func (*QueryGetUsedAllocationsRequest) ProtoMessage ¶
func (*QueryGetUsedAllocationsRequest) ProtoMessage()
func (*QueryGetUsedAllocationsRequest) ProtoReflect ¶
func (x *QueryGetUsedAllocationsRequest) ProtoReflect() protoreflect.Message
func (*QueryGetUsedAllocationsRequest) Reset ¶
func (x *QueryGetUsedAllocationsRequest) Reset()
func (*QueryGetUsedAllocationsRequest) String ¶
func (x *QueryGetUsedAllocationsRequest) String() string
type QueryGetUsedAllocationsResponse ¶
type QueryGetUsedAllocationsResponse struct { UsedAllocations *UsedAllocations `protobuf:"bytes,1,opt,name=used_allocations,json=usedAllocations,proto3" json:"used_allocations,omitempty"` // contains filtered or unexported fields }
func (*QueryGetUsedAllocationsResponse) Descriptor
deprecated
func (*QueryGetUsedAllocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetUsedAllocationsResponse.ProtoReflect.Descriptor instead.
func (*QueryGetUsedAllocationsResponse) GetUsedAllocations ¶
func (x *QueryGetUsedAllocationsResponse) GetUsedAllocations() *UsedAllocations
func (*QueryGetUsedAllocationsResponse) ProtoMessage ¶
func (*QueryGetUsedAllocationsResponse) ProtoMessage()
func (*QueryGetUsedAllocationsResponse) ProtoReflect ¶
func (x *QueryGetUsedAllocationsResponse) ProtoReflect() protoreflect.Message
func (*QueryGetUsedAllocationsResponse) Reset ¶
func (x *QueryGetUsedAllocationsResponse) Reset()
func (*QueryGetUsedAllocationsResponse) String ¶
func (x *QueryGetUsedAllocationsResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is 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 holds all the parameters of this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is 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 { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of AuctionUsedAllocations items. GetAuctionUsedAllocations(context.Context, *QueryGetAuctionUsedAllocationsRequest) (*QueryGetAuctionUsedAllocationsResponse, error) ListAuctionUsedAllocations(context.Context, *QueryAllAuctionUsedAllocationsRequest) (*QueryAllAuctionUsedAllocationsResponse, error) // Queries a list of UsedAllocations items. GetUsedAllocations(context.Context, *QueryGetUsedAllocationsRequest) (*QueryGetUsedAllocationsResponse, error) ListUsedAllocations(context.Context, *QueryAllUsedAllocationsRequest) (*QueryAllUsedAllocationsResponse, error) // Queries a list of TotalAllocations items. TotalAllocations(context.Context, *QueryTotalAllocationsRequest) (*QueryTotalAllocationsResponse, error) // Queries a list of AvailableAllocations items. AvailableAllocations(context.Context, *QueryAvailableAllocationsRequest) (*QueryAvailableAllocationsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QueryTotalAllocationsRequest ¶
type QueryTotalAllocationsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*QueryTotalAllocationsRequest) Descriptor
deprecated
func (*QueryTotalAllocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTotalAllocationsRequest.ProtoReflect.Descriptor instead.
func (*QueryTotalAllocationsRequest) GetAddress ¶
func (x *QueryTotalAllocationsRequest) GetAddress() string
func (*QueryTotalAllocationsRequest) ProtoMessage ¶
func (*QueryTotalAllocationsRequest) ProtoMessage()
func (*QueryTotalAllocationsRequest) ProtoReflect ¶
func (x *QueryTotalAllocationsRequest) ProtoReflect() protoreflect.Message
func (*QueryTotalAllocationsRequest) Reset ¶
func (x *QueryTotalAllocationsRequest) Reset()
func (*QueryTotalAllocationsRequest) String ¶
func (x *QueryTotalAllocationsRequest) String() string
type QueryTotalAllocationsResponse ¶
type QueryTotalAllocationsResponse struct { TotalAllocations string `protobuf:"bytes,1,opt,name=total_allocations,json=totalAllocations,proto3" json:"total_allocations,omitempty"` // contains filtered or unexported fields }
func (*QueryTotalAllocationsResponse) Descriptor
deprecated
func (*QueryTotalAllocationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTotalAllocationsResponse.ProtoReflect.Descriptor instead.
func (*QueryTotalAllocationsResponse) GetTotalAllocations ¶
func (x *QueryTotalAllocationsResponse) GetTotalAllocations() string
func (*QueryTotalAllocationsResponse) ProtoMessage ¶
func (*QueryTotalAllocationsResponse) ProtoMessage()
func (*QueryTotalAllocationsResponse) ProtoReflect ¶
func (x *QueryTotalAllocationsResponse) ProtoReflect() protoreflect.Message
func (*QueryTotalAllocationsResponse) Reset ¶
func (x *QueryTotalAllocationsResponse) Reset()
func (*QueryTotalAllocationsResponse) String ¶
func (x *QueryTotalAllocationsResponse) String() string
type Tier ¶
type Tier struct { TierId uint64 `protobuf:"varint,1,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"` RequiredAllocations string `protobuf:"bytes,2,opt,name=required_allocations,json=requiredAllocations,proto3" json:"required_allocations,omitempty"` Benefits *TierBenefits `protobuf:"bytes,3,opt,name=benefits,proto3" json:"benefits,omitempty"` // contains filtered or unexported fields }
Matches a number of required allocations with benefits
func (*Tier) Descriptor
deprecated
func (*Tier) GetBenefits ¶
func (x *Tier) GetBenefits() *TierBenefits
func (*Tier) GetRequiredAllocations ¶
func (*Tier) ProtoMessage ¶
func (*Tier) ProtoMessage()
func (*Tier) ProtoReflect ¶
func (x *Tier) ProtoReflect() protoreflect.Message
type TierBenefits ¶
type TierBenefits struct { // max_bid_amount maximum amount an auction participant can bid MaxBidAmount string `protobuf:"bytes,1,opt,name=max_bid_amount,json=maxBidAmount,proto3" json:"max_bid_amount,omitempty"` // contains filtered or unexported fields }
func (*TierBenefits) Descriptor
deprecated
func (*TierBenefits) Descriptor() ([]byte, []int)
Deprecated: Use TierBenefits.ProtoReflect.Descriptor instead.
func (*TierBenefits) GetMaxBidAmount ¶
func (x *TierBenefits) GetMaxBidAmount() string
func (*TierBenefits) ProtoMessage ¶
func (*TierBenefits) ProtoMessage()
func (*TierBenefits) ProtoReflect ¶
func (x *TierBenefits) ProtoReflect() protoreflect.Message
func (*TierBenefits) Reset ¶
func (x *TierBenefits) Reset()
func (*TierBenefits) String ¶
func (x *TierBenefits) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) Participate ¶
func (UnimplementedMsgServer) Participate(context.Context, *MsgParticipate) (*MsgParticipateResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (UnimplementedMsgServer) WithdrawAllocations ¶
func (UnimplementedMsgServer) WithdrawAllocations(context.Context, *MsgWithdrawAllocations) (*MsgWithdrawAllocationsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AvailableAllocations ¶
func (UnimplementedQueryServer) AvailableAllocations(context.Context, *QueryAvailableAllocationsRequest) (*QueryAvailableAllocationsResponse, error)
func (UnimplementedQueryServer) GetAuctionUsedAllocations ¶
func (UnimplementedQueryServer) GetAuctionUsedAllocations(context.Context, *QueryGetAuctionUsedAllocationsRequest) (*QueryGetAuctionUsedAllocationsResponse, error)
func (UnimplementedQueryServer) GetUsedAllocations ¶
func (UnimplementedQueryServer) GetUsedAllocations(context.Context, *QueryGetUsedAllocationsRequest) (*QueryGetUsedAllocationsResponse, error)
func (UnimplementedQueryServer) ListAuctionUsedAllocations ¶
func (UnimplementedQueryServer) ListAuctionUsedAllocations(context.Context, *QueryAllAuctionUsedAllocationsRequest) (*QueryAllAuctionUsedAllocationsResponse, error)
func (UnimplementedQueryServer) ListUsedAllocations ¶
func (UnimplementedQueryServer) ListUsedAllocations(context.Context, *QueryAllUsedAllocationsRequest) (*QueryAllUsedAllocationsResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) TotalAllocations ¶
func (UnimplementedQueryServer) TotalAllocations(context.Context, *QueryTotalAllocationsRequest) (*QueryTotalAllocationsResponse, 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.
type UsedAllocations ¶
type UsedAllocations struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` NumAllocations string `protobuf:"bytes,2,opt,name=num_allocations,json=numAllocations,proto3" json:"num_allocations,omitempty"` // contains filtered or unexported fields }
func (*UsedAllocations) Descriptor
deprecated
func (*UsedAllocations) Descriptor() ([]byte, []int)
Deprecated: Use UsedAllocations.ProtoReflect.Descriptor instead.
func (*UsedAllocations) GetAddress ¶
func (x *UsedAllocations) GetAddress() string
func (*UsedAllocations) GetNumAllocations ¶
func (x *UsedAllocations) GetNumAllocations() string
func (*UsedAllocations) ProtoMessage ¶
func (*UsedAllocations) ProtoMessage()
func (*UsedAllocations) ProtoReflect ¶
func (x *UsedAllocations) ProtoReflect() protoreflect.Message
func (*UsedAllocations) Reset ¶
func (x *UsedAllocations) Reset()
func (*UsedAllocations) String ¶
func (x *UsedAllocations) String() string