participationv1

package
v0.0.0-...-abdbe5d Latest Latest
Warning

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

Go to latest
Published: Nov 30, 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.

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 (
	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"
)
View Source
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

View Source
var File_network_participation_v1_auction_used_allocations_proto protoreflect.FileDescriptor
View Source
var File_network_participation_v1_events_proto protoreflect.FileDescriptor
View Source
var File_network_participation_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_network_participation_v1_params_proto protoreflect.FileDescriptor
View Source
var File_network_participation_v1_query_proto protoreflect.FileDescriptor
View Source
var File_network_participation_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_network_participation_v1_used_allocations_proto protoreflect.FileDescriptor
View Source
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)

View Source
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 (*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 (*MsgWithdrawAllocationsResponse) Reset

func (x *MsgWithdrawAllocationsResponse) Reset()

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetAllocationPrice

func (x *Params) GetAllocationPrice() *AllocationPrice

func (*Params) GetParticipationTierList

func (x *Params) GetParticipationTierList() []*Tier

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

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 (*QueryAllAuctionUsedAllocationsRequest) GetPagination

func (*QueryAllAuctionUsedAllocationsRequest) ProtoMessage

func (*QueryAllAuctionUsedAllocationsRequest) ProtoMessage()

func (*QueryAllAuctionUsedAllocationsRequest) ProtoReflect

func (*QueryAllAuctionUsedAllocationsRequest) Reset

func (*QueryAllAuctionUsedAllocationsRequest) 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 (*QueryAllAuctionUsedAllocationsResponse) ProtoMessage

func (*QueryAllAuctionUsedAllocationsResponse) ProtoReflect

func (*QueryAllAuctionUsedAllocationsResponse) Reset

func (*QueryAllAuctionUsedAllocationsResponse) 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 (*QueryAllUsedAllocationsRequest) ProtoMessage

func (*QueryAllUsedAllocationsRequest) ProtoMessage()

func (*QueryAllUsedAllocationsRequest) ProtoReflect

func (*QueryAllUsedAllocationsRequest) Reset

func (x *QueryAllUsedAllocationsRequest) Reset()

func (*QueryAllUsedAllocationsRequest) 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 (*QueryAllUsedAllocationsResponse) GetUsedAllocations

func (x *QueryAllUsedAllocationsResponse) GetUsedAllocations() []*UsedAllocations

func (*QueryAllUsedAllocationsResponse) ProtoMessage

func (*QueryAllUsedAllocationsResponse) ProtoMessage()

func (*QueryAllUsedAllocationsResponse) ProtoReflect

func (*QueryAllUsedAllocationsResponse) Reset

func (*QueryAllUsedAllocationsResponse) 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 (*QueryAvailableAllocationsRequest) Reset

func (*QueryAvailableAllocationsRequest) 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 (*QueryAvailableAllocationsResponse) Reset

func (*QueryAvailableAllocationsResponse) 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 (*QueryGetAuctionUsedAllocationsRequest) GetAuctionId

func (*QueryGetAuctionUsedAllocationsRequest) ProtoMessage

func (*QueryGetAuctionUsedAllocationsRequest) ProtoMessage()

func (*QueryGetAuctionUsedAllocationsRequest) ProtoReflect

func (*QueryGetAuctionUsedAllocationsRequest) Reset

func (*QueryGetAuctionUsedAllocationsRequest) 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) ProtoReflect

func (*QueryGetAuctionUsedAllocationsResponse) Reset

func (*QueryGetAuctionUsedAllocationsResponse) 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 (*QueryGetUsedAllocationsRequest) Reset

func (x *QueryGetUsedAllocationsRequest) Reset()

func (*QueryGetUsedAllocationsRequest) 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 (*QueryGetUsedAllocationsResponse) Reset

func (*QueryGetUsedAllocationsResponse) 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 (*QueryTotalAllocationsRequest) Reset

func (x *QueryTotalAllocationsRequest) Reset()

func (*QueryTotalAllocationsRequest) 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 (*QueryTotalAllocationsResponse) Reset

func (x *QueryTotalAllocationsResponse) Reset()

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

Deprecated: Use Tier.ProtoReflect.Descriptor instead.

func (*Tier) GetBenefits

func (x *Tier) GetBenefits() *TierBenefits

func (*Tier) GetRequiredAllocations

func (x *Tier) GetRequiredAllocations() string

func (*Tier) GetTierId

func (x *Tier) GetTierId() uint64

func (*Tier) ProtoMessage

func (*Tier) ProtoMessage()

func (*Tier) ProtoReflect

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

func (*Tier) Reset

func (x *Tier) Reset()

func (*Tier) String

func (x *Tier) String() string

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) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Params

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

Jump to

Keyboard shortcuts

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