poolincentivev1

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_nova_poolincentive_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_nova_poolincentive_v1_gov_proto protoreflect.FileDescriptor
View Source
var File_nova_poolincentive_v1_params_proto protoreflect.FileDescriptor
View Source
var File_nova_poolincentive_v1_query_proto protoreflect.FileDescriptor
View Source
var File_nova_poolincentive_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "nova.poolincentive.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCandidatePool",
			Handler:    _Msg_CreateCandidatePool_Handler,
		},
		{
			MethodName: "CreateIncentivePool",
			Handler:    _Msg_CreateIncentivePool_Handler,
		},
		{
			MethodName: "SetPoolWeight",
			Handler:    _Msg_SetPoolWeight_Handler,
		},
		{
			MethodName: "SetMultiplePoolWeight",
			Handler:    _Msg_SetMultiplePoolWeight_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "nova/poolincentive/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: "nova.poolincentive.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "SingleCandidatePool",
			Handler:    _Query_SingleCandidatePool_Handler,
		},
		{
			MethodName: "AllCandidatePool",
			Handler:    _Query_AllCandidatePool_Handler,
		},
		{
			MethodName: "SingleIncentivePool",
			Handler:    _Query_SingleIncentivePool_Handler,
		},
		{
			MethodName: "AllIncentivePool",
			Handler:    _Query_AllIncentivePool_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "nova/poolincentive/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 CandidatePool

type CandidatePool struct {
	PoolId              string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolContractAddress string `protobuf:"bytes,2,opt,name=pool_contract_address,json=poolContractAddress,proto3" json:"pool_contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*CandidatePool) Descriptor deprecated

func (*CandidatePool) Descriptor() ([]byte, []int)

Deprecated: Use CandidatePool.ProtoReflect.Descriptor instead.

func (*CandidatePool) GetPoolContractAddress

func (x *CandidatePool) GetPoolContractAddress() string

func (*CandidatePool) GetPoolId

func (x *CandidatePool) GetPoolId() string

func (*CandidatePool) ProtoMessage

func (*CandidatePool) ProtoMessage()

func (*CandidatePool) ProtoReflect

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

func (*CandidatePool) Reset

func (x *CandidatePool) Reset()

func (*CandidatePool) String

func (x *CandidatePool) String() string

type CandidatePoolInfo

type CandidatePoolInfo struct {
	CandidatePools []*CandidatePool `protobuf:"bytes,1,rep,name=candidate_pools,json=candidatePools,proto3" json:"candidate_pools,omitempty"`
	// contains filtered or unexported fields
}

func (*CandidatePoolInfo) Descriptor deprecated

func (*CandidatePoolInfo) Descriptor() ([]byte, []int)

Deprecated: Use CandidatePoolInfo.ProtoReflect.Descriptor instead.

func (*CandidatePoolInfo) GetCandidatePools

func (x *CandidatePoolInfo) GetCandidatePools() []*CandidatePool

func (*CandidatePoolInfo) ProtoMessage

func (*CandidatePoolInfo) ProtoMessage()

func (*CandidatePoolInfo) ProtoReflect

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

func (*CandidatePoolInfo) Reset

func (x *CandidatePoolInfo) Reset()

func (*CandidatePoolInfo) String

func (x *CandidatePoolInfo) String() string

type DistributionRecord

type DistributionRecord struct {
	PoolId string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Weight uint64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*DistributionRecord) Descriptor deprecated

func (*DistributionRecord) Descriptor() ([]byte, []int)

Deprecated: Use DistributionRecord.ProtoReflect.Descriptor instead.

func (*DistributionRecord) GetPoolId

func (x *DistributionRecord) GetPoolId() string

func (*DistributionRecord) GetWeight

func (x *DistributionRecord) GetWeight() uint64

func (*DistributionRecord) ProtoMessage

func (*DistributionRecord) ProtoMessage()

func (*DistributionRecord) ProtoReflect

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

func (*DistributionRecord) Reset

func (x *DistributionRecord) Reset()

func (*DistributionRecord) String

func (x *DistributionRecord) String() string

type GenesisState

type GenesisState struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// incentive_pools holds incentive pool list.
	// repeated IncentivePool incentive_pools = 2 [ (gogoproto.nullable) = false ];
	IncentivePoolInfo *IncentivePoolInfo `protobuf:"bytes,2,opt,name=incentive_pool_info,json=incentivePoolInfo,proto3" json:"incentive_pool_info,omitempty"`
	// candidate_pools holds incentive pool list and total weight
	// repeated CandidatePool candidate_pools = 3 [ (gogoproto.nullable) = false ];
	CandidatePoolInfo *CandidatePoolInfo `protobuf:"bytes,3,opt,name=candidate_pool_info,json=candidatePoolInfo,proto3" json:"candidate_pool_info,omitempty"`
	// contains filtered or unexported fields
}

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetCandidatePoolInfo

func (x *GenesisState) GetCandidatePoolInfo() *CandidatePoolInfo

func (*GenesisState) GetIncentivePoolInfo

func (x *GenesisState) GetIncentivePoolInfo() *IncentivePoolInfo

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

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

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type IncentivePool

type IncentivePool struct {
	PoolId              string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolContractAddress string `protobuf:"bytes,2,opt,name=pool_contract_address,json=poolContractAddress,proto3" json:"pool_contract_address,omitempty"`
	Weight              uint64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*IncentivePool) Descriptor deprecated

func (*IncentivePool) Descriptor() ([]byte, []int)

Deprecated: Use IncentivePool.ProtoReflect.Descriptor instead.

func (*IncentivePool) GetPoolContractAddress

func (x *IncentivePool) GetPoolContractAddress() string

func (*IncentivePool) GetPoolId

func (x *IncentivePool) GetPoolId() string

func (*IncentivePool) GetWeight

func (x *IncentivePool) GetWeight() uint64

func (*IncentivePool) ProtoMessage

func (*IncentivePool) ProtoMessage()

func (*IncentivePool) ProtoReflect

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

func (*IncentivePool) Reset

func (x *IncentivePool) Reset()

func (*IncentivePool) String

func (x *IncentivePool) String() string

type IncentivePoolInfo

type IncentivePoolInfo struct {
	TotalWeight    uint64           `protobuf:"varint,1,opt,name=total_weight,json=totalWeight,proto3" json:"total_weight,omitempty"`
	IncentivePools []*IncentivePool `protobuf:"bytes,2,rep,name=incentive_pools,json=incentivePools,proto3" json:"incentive_pools,omitempty"`
	// contains filtered or unexported fields
}

func (*IncentivePoolInfo) Descriptor deprecated

func (*IncentivePoolInfo) Descriptor() ([]byte, []int)

Deprecated: Use IncentivePoolInfo.ProtoReflect.Descriptor instead.

func (*IncentivePoolInfo) GetIncentivePools

func (x *IncentivePoolInfo) GetIncentivePools() []*IncentivePool

func (*IncentivePoolInfo) GetTotalWeight

func (x *IncentivePoolInfo) GetTotalWeight() uint64

func (*IncentivePoolInfo) ProtoMessage

func (*IncentivePoolInfo) ProtoMessage()

func (*IncentivePoolInfo) ProtoReflect

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

func (*IncentivePoolInfo) Reset

func (x *IncentivePoolInfo) Reset()

func (*IncentivePoolInfo) String

func (x *IncentivePoolInfo) String() string

type MsgClient

type MsgClient interface {
	// CreateCandidatePool creates new "candidate" pool, which can be created by anyone
	CreateCandidatePool(ctx context.Context, in *MsgCreateCandidatePool, opts ...grpc.CallOption) (*MsgCreateCandidatePoolResponse, error)
	// CreateIncentivePool creates new "incentive" pool, which can be created by only operator
	CreateIncentivePool(ctx context.Context, in *MsgCreateIncentivePool, opts ...grpc.CallOption) (*MsgCreateIncentivePoolResponse, error)
	// SetPoolWeight sets new weight of one pool
	SetPoolWeight(ctx context.Context, in *MsgSetPoolWeight, opts ...grpc.CallOption) (*MsgSetPoolWeightResponse, error)
	// SetMultiplePoolWeight sets new weight of multiple pool
	SetMultiplePoolWeight(ctx context.Context, in *MsgSetMultiplePoolWeight, opts ...grpc.CallOption) (*MsgSetMultiplePoolWeightResponse, 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 MsgCreateCandidatePool

type MsgCreateCandidatePool struct {
	PoolId              string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolContractAddress string `protobuf:"bytes,2,opt,name=pool_contract_address,json=poolContractAddress,proto3" json:"pool_contract_address,omitempty"`
	Creator             string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateCandidatePool is used to create a new candidate pool. In order to make pool, we need the contract address of pool id and pool.

func (*MsgCreateCandidatePool) Descriptor deprecated

func (*MsgCreateCandidatePool) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateCandidatePool.ProtoReflect.Descriptor instead.

func (*MsgCreateCandidatePool) GetCreator

func (x *MsgCreateCandidatePool) GetCreator() string

func (*MsgCreateCandidatePool) GetPoolContractAddress

func (x *MsgCreateCandidatePool) GetPoolContractAddress() string

func (*MsgCreateCandidatePool) GetPoolId

func (x *MsgCreateCandidatePool) GetPoolId() string

func (*MsgCreateCandidatePool) ProtoMessage

func (*MsgCreateCandidatePool) ProtoMessage()

func (*MsgCreateCandidatePool) ProtoReflect

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

func (*MsgCreateCandidatePool) Reset

func (x *MsgCreateCandidatePool) Reset()

func (*MsgCreateCandidatePool) String

func (x *MsgCreateCandidatePool) String() string

type MsgCreateCandidatePoolResponse

type MsgCreateCandidatePoolResponse struct {
	// contains filtered or unexported fields
}

MsgCreateCandidatePoolResponse is a response message for MsgCreateCandidatePool.

func (*MsgCreateCandidatePoolResponse) Descriptor deprecated

func (*MsgCreateCandidatePoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateCandidatePoolResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateCandidatePoolResponse) ProtoMessage

func (*MsgCreateCandidatePoolResponse) ProtoMessage()

func (*MsgCreateCandidatePoolResponse) ProtoReflect

func (*MsgCreateCandidatePoolResponse) Reset

func (x *MsgCreateCandidatePoolResponse) Reset()

func (*MsgCreateCandidatePoolResponse) String

type MsgCreateIncentivePool

type MsgCreateIncentivePool struct {
	PoolId              string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolContractAddress string `protobuf:"bytes,2,opt,name=pool_contract_address,json=poolContractAddress,proto3" json:"pool_contract_address,omitempty"`
	Operator            string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateIncentivePool is used to create a new incentive pool. In order to make pool, we need the contract address of pool id and pool, and valid operator.

func (*MsgCreateIncentivePool) Descriptor deprecated

func (*MsgCreateIncentivePool) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateIncentivePool.ProtoReflect.Descriptor instead.

func (*MsgCreateIncentivePool) GetOperator

func (x *MsgCreateIncentivePool) GetOperator() string

func (*MsgCreateIncentivePool) GetPoolContractAddress

func (x *MsgCreateIncentivePool) GetPoolContractAddress() string

func (*MsgCreateIncentivePool) GetPoolId

func (x *MsgCreateIncentivePool) GetPoolId() string

func (*MsgCreateIncentivePool) ProtoMessage

func (*MsgCreateIncentivePool) ProtoMessage()

func (*MsgCreateIncentivePool) ProtoReflect

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

func (*MsgCreateIncentivePool) Reset

func (x *MsgCreateIncentivePool) Reset()

func (*MsgCreateIncentivePool) String

func (x *MsgCreateIncentivePool) String() string

type MsgCreateIncentivePoolResponse

type MsgCreateIncentivePoolResponse struct {
	// contains filtered or unexported fields
}

MsgCreateIncentivePoolResponse is a response message for MsgCreateIncentivePool.

func (*MsgCreateIncentivePoolResponse) Descriptor deprecated

func (*MsgCreateIncentivePoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCreateIncentivePoolResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateIncentivePoolResponse) ProtoMessage

func (*MsgCreateIncentivePoolResponse) ProtoMessage()

func (*MsgCreateIncentivePoolResponse) ProtoReflect

func (*MsgCreateIncentivePoolResponse) Reset

func (x *MsgCreateIncentivePoolResponse) Reset()

func (*MsgCreateIncentivePoolResponse) String

type MsgServer

type MsgServer interface {
	// CreateCandidatePool creates new "candidate" pool, which can be created by anyone
	CreateCandidatePool(context.Context, *MsgCreateCandidatePool) (*MsgCreateCandidatePoolResponse, error)
	// CreateIncentivePool creates new "incentive" pool, which can be created by only operator
	CreateIncentivePool(context.Context, *MsgCreateIncentivePool) (*MsgCreateIncentivePoolResponse, error)
	// SetPoolWeight sets new weight of one pool
	SetPoolWeight(context.Context, *MsgSetPoolWeight) (*MsgSetPoolWeightResponse, error)
	// SetMultiplePoolWeight sets new weight of multiple pool
	SetMultiplePoolWeight(context.Context, *MsgSetMultiplePoolWeight) (*MsgSetMultiplePoolWeightResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgSetMultiplePoolWeight

type MsgSetMultiplePoolWeight struct {
	NewPoolData []*NewPoolWeight `protobuf:"bytes,1,rep,name=new_pool_data,json=newPoolData,proto3" json:"new_pool_data,omitempty"`
	Operator    string           `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

MsgSetMultiplePoolWeight is a message used to modify the weight of several incentive pools at once. It can only be submitted by the correct controller.

func (*MsgSetMultiplePoolWeight) Descriptor deprecated

func (*MsgSetMultiplePoolWeight) Descriptor() ([]byte, []int)

Deprecated: Use MsgSetMultiplePoolWeight.ProtoReflect.Descriptor instead.

func (*MsgSetMultiplePoolWeight) GetNewPoolData

func (x *MsgSetMultiplePoolWeight) GetNewPoolData() []*NewPoolWeight

func (*MsgSetMultiplePoolWeight) GetOperator

func (x *MsgSetMultiplePoolWeight) GetOperator() string

func (*MsgSetMultiplePoolWeight) ProtoMessage

func (*MsgSetMultiplePoolWeight) ProtoMessage()

func (*MsgSetMultiplePoolWeight) ProtoReflect

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

func (*MsgSetMultiplePoolWeight) Reset

func (x *MsgSetMultiplePoolWeight) Reset()

func (*MsgSetMultiplePoolWeight) String

func (x *MsgSetMultiplePoolWeight) String() string

type MsgSetMultiplePoolWeightResponse

type MsgSetMultiplePoolWeightResponse struct {
	// contains filtered or unexported fields
}

MsgSetMultiplePoolWeightResponse is a response message for MsgSetMultiplePoolWeight.

func (*MsgSetMultiplePoolWeightResponse) Descriptor deprecated

func (*MsgSetMultiplePoolWeightResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSetMultiplePoolWeightResponse.ProtoReflect.Descriptor instead.

func (*MsgSetMultiplePoolWeightResponse) ProtoMessage

func (*MsgSetMultiplePoolWeightResponse) ProtoMessage()

func (*MsgSetMultiplePoolWeightResponse) ProtoReflect

func (*MsgSetMultiplePoolWeightResponse) Reset

func (*MsgSetMultiplePoolWeightResponse) String

type MsgSetPoolWeight

type MsgSetPoolWeight struct {
	PoolId    string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	NewWeight uint64 `protobuf:"varint,2,opt,name=new_weight,json=newWeight,proto3" json:"new_weight,omitempty"`
	Operator  string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

MsgSetPoolWeight is a message used to modify the weight of the incentive pool. It can only be submitted by the correct controller.

func (*MsgSetPoolWeight) Descriptor deprecated

func (*MsgSetPoolWeight) Descriptor() ([]byte, []int)

Deprecated: Use MsgSetPoolWeight.ProtoReflect.Descriptor instead.

func (*MsgSetPoolWeight) GetNewWeight

func (x *MsgSetPoolWeight) GetNewWeight() uint64

func (*MsgSetPoolWeight) GetOperator

func (x *MsgSetPoolWeight) GetOperator() string

func (*MsgSetPoolWeight) GetPoolId

func (x *MsgSetPoolWeight) GetPoolId() string

func (*MsgSetPoolWeight) ProtoMessage

func (*MsgSetPoolWeight) ProtoMessage()

func (*MsgSetPoolWeight) ProtoReflect

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

func (*MsgSetPoolWeight) Reset

func (x *MsgSetPoolWeight) Reset()

func (*MsgSetPoolWeight) String

func (x *MsgSetPoolWeight) String() string

type MsgSetPoolWeightResponse

type MsgSetPoolWeightResponse struct {
	// contains filtered or unexported fields
}

MsgSetPoolWeightResponse is a response message for MsgSetPoolWeight.

func (*MsgSetPoolWeightResponse) Descriptor deprecated

func (*MsgSetPoolWeightResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSetPoolWeightResponse.ProtoReflect.Descriptor instead.

func (*MsgSetPoolWeightResponse) ProtoMessage

func (*MsgSetPoolWeightResponse) ProtoMessage()

func (*MsgSetPoolWeightResponse) ProtoReflect

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

func (*MsgSetPoolWeightResponse) Reset

func (x *MsgSetPoolWeightResponse) Reset()

func (*MsgSetPoolWeightResponse) String

func (x *MsgSetPoolWeightResponse) String() string

type NewPoolWeight

type NewPoolWeight struct {
	PoolId    string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	NewWeight uint64 `protobuf:"varint,2,opt,name=new_weight,json=newWeight,proto3" json:"new_weight,omitempty"`
	// contains filtered or unexported fields
}

NewPoolWeight is a structure consisting of pool id and weight.

func (*NewPoolWeight) Descriptor deprecated

func (*NewPoolWeight) Descriptor() ([]byte, []int)

Deprecated: Use NewPoolWeight.ProtoReflect.Descriptor instead.

func (*NewPoolWeight) GetNewWeight

func (x *NewPoolWeight) GetNewWeight() uint64

func (*NewPoolWeight) GetPoolId

func (x *NewPoolWeight) GetPoolId() string

func (*NewPoolWeight) ProtoMessage

func (*NewPoolWeight) ProtoMessage()

func (*NewPoolWeight) ProtoReflect

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

func (*NewPoolWeight) Reset

func (x *NewPoolWeight) Reset()

func (*NewPoolWeight) String

func (x *NewPoolWeight) String() string

type Params

type Params struct {
	Operators []string `protobuf:"bytes,1,rep,name=operators,proto3" json:"operators,omitempty"`
	// contains filtered or unexported fields
}

func (*Params) Descriptor deprecated

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetOperators

func (x *Params) GetOperators() []string

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 QueryAllCandidatePoolRequest added in v0.6.7

type QueryAllCandidatePoolRequest struct {
	// contains filtered or unexported fields
}

func (*QueryAllCandidatePoolRequest) Descriptor deprecated added in v0.6.7

func (*QueryAllCandidatePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryAllCandidatePoolRequest.ProtoReflect.Descriptor instead.

func (*QueryAllCandidatePoolRequest) ProtoMessage added in v0.6.7

func (*QueryAllCandidatePoolRequest) ProtoMessage()

func (*QueryAllCandidatePoolRequest) ProtoReflect added in v0.6.7

func (*QueryAllCandidatePoolRequest) Reset added in v0.6.7

func (x *QueryAllCandidatePoolRequest) Reset()

func (*QueryAllCandidatePoolRequest) String added in v0.6.7

type QueryAllCandidatePoolResponse

type QueryAllCandidatePoolResponse struct {
	CandidatePools []*CandidatePool `protobuf:"bytes,1,rep,name=candidate_pools,json=candidatePools,proto3" json:"candidate_pools,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllCandidatePoolResponse) Descriptor deprecated

func (*QueryAllCandidatePoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryAllCandidatePoolResponse.ProtoReflect.Descriptor instead.

func (*QueryAllCandidatePoolResponse) GetCandidatePools

func (x *QueryAllCandidatePoolResponse) GetCandidatePools() []*CandidatePool

func (*QueryAllCandidatePoolResponse) ProtoMessage

func (*QueryAllCandidatePoolResponse) ProtoMessage()

func (*QueryAllCandidatePoolResponse) ProtoReflect

func (*QueryAllCandidatePoolResponse) Reset

func (x *QueryAllCandidatePoolResponse) Reset()

func (*QueryAllCandidatePoolResponse) String

type QueryAllIncentivePoolRequest added in v0.6.7

type QueryAllIncentivePoolRequest struct {
	// contains filtered or unexported fields
}

func (*QueryAllIncentivePoolRequest) Descriptor deprecated added in v0.6.7

func (*QueryAllIncentivePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryAllIncentivePoolRequest.ProtoReflect.Descriptor instead.

func (*QueryAllIncentivePoolRequest) ProtoMessage added in v0.6.7

func (*QueryAllIncentivePoolRequest) ProtoMessage()

func (*QueryAllIncentivePoolRequest) ProtoReflect added in v0.6.7

func (*QueryAllIncentivePoolRequest) Reset added in v0.6.7

func (x *QueryAllIncentivePoolRequest) Reset()

func (*QueryAllIncentivePoolRequest) String added in v0.6.7

type QueryAllIncentivePoolResponse

type QueryAllIncentivePoolResponse struct {
	IncentivePools []*IncentivePool `protobuf:"bytes,1,rep,name=incentive_pools,json=incentivePools,proto3" json:"incentive_pools,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllIncentivePoolResponse) Descriptor deprecated

func (*QueryAllIncentivePoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryAllIncentivePoolResponse.ProtoReflect.Descriptor instead.

func (*QueryAllIncentivePoolResponse) GetIncentivePools

func (x *QueryAllIncentivePoolResponse) GetIncentivePools() []*IncentivePool

func (*QueryAllIncentivePoolResponse) ProtoMessage

func (*QueryAllIncentivePoolResponse) ProtoMessage()

func (*QueryAllIncentivePoolResponse) ProtoReflect

func (*QueryAllIncentivePoolResponse) Reset

func (x *QueryAllIncentivePoolResponse) Reset()

func (*QueryAllIncentivePoolResponse) String

type QueryClient

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params defines the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QuerySingleCandidatePoolRequest added in v0.6.7

type QuerySingleCandidatePoolRequest struct {
	PoolId string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySingleCandidatePoolRequest) Descriptor deprecated added in v0.6.7

func (*QuerySingleCandidatePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySingleCandidatePoolRequest.ProtoReflect.Descriptor instead.

func (*QuerySingleCandidatePoolRequest) GetPoolId added in v0.6.7

func (x *QuerySingleCandidatePoolRequest) GetPoolId() string

func (*QuerySingleCandidatePoolRequest) ProtoMessage added in v0.6.7

func (*QuerySingleCandidatePoolRequest) ProtoMessage()

func (*QuerySingleCandidatePoolRequest) ProtoReflect added in v0.6.7

func (*QuerySingleCandidatePoolRequest) Reset added in v0.6.7

func (*QuerySingleCandidatePoolRequest) String added in v0.6.7

type QuerySingleCandidatePoolResponse

type QuerySingleCandidatePoolResponse struct {
	PoolId      string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolAddress string `protobuf:"bytes,2,opt,name=pool_address,json=poolAddress,proto3" json:"pool_address,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySingleCandidatePoolResponse) Descriptor deprecated

func (*QuerySingleCandidatePoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySingleCandidatePoolResponse.ProtoReflect.Descriptor instead.

func (*QuerySingleCandidatePoolResponse) GetPoolAddress

func (x *QuerySingleCandidatePoolResponse) GetPoolAddress() string

func (*QuerySingleCandidatePoolResponse) GetPoolId

func (*QuerySingleCandidatePoolResponse) ProtoMessage

func (*QuerySingleCandidatePoolResponse) ProtoMessage()

func (*QuerySingleCandidatePoolResponse) ProtoReflect

func (*QuerySingleCandidatePoolResponse) Reset

func (*QuerySingleCandidatePoolResponse) String

type QuerySingleIncentivePoolRequest added in v0.6.7

type QuerySingleIncentivePoolRequest struct {
	PoolId string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySingleIncentivePoolRequest) Descriptor deprecated added in v0.6.7

func (*QuerySingleIncentivePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuerySingleIncentivePoolRequest.ProtoReflect.Descriptor instead.

func (*QuerySingleIncentivePoolRequest) GetPoolId added in v0.6.7

func (x *QuerySingleIncentivePoolRequest) GetPoolId() string

func (*QuerySingleIncentivePoolRequest) ProtoMessage added in v0.6.7

func (*QuerySingleIncentivePoolRequest) ProtoMessage()

func (*QuerySingleIncentivePoolRequest) ProtoReflect added in v0.6.7

func (*QuerySingleIncentivePoolRequest) Reset added in v0.6.7

func (*QuerySingleIncentivePoolRequest) String added in v0.6.7

type QuerySingleIncentivePoolResponse

type QuerySingleIncentivePoolResponse struct {
	PoolId      string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolAddress string `protobuf:"bytes,2,opt,name=pool_address,json=poolAddress,proto3" json:"pool_address,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySingleIncentivePoolResponse) Descriptor deprecated

func (*QuerySingleIncentivePoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use QuerySingleIncentivePoolResponse.ProtoReflect.Descriptor instead.

func (*QuerySingleIncentivePoolResponse) GetPoolAddress

func (x *QuerySingleIncentivePoolResponse) GetPoolAddress() string

func (*QuerySingleIncentivePoolResponse) GetPoolId

func (*QuerySingleIncentivePoolResponse) ProtoMessage

func (*QuerySingleIncentivePoolResponse) ProtoMessage()

func (*QuerySingleIncentivePoolResponse) ProtoReflect

func (*QuerySingleIncentivePoolResponse) Reset

func (*QuerySingleIncentivePoolResponse) String

type ReplacePoolIncentivesProposal

type ReplacePoolIncentivesProposal struct {
	Title         string           `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description   string           `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	NewIncentives []*IncentivePool `protobuf:"bytes,3,rep,name=newIncentives,proto3" json:"newIncentives,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplacePoolIncentivesProposal) Descriptor deprecated

func (*ReplacePoolIncentivesProposal) Descriptor() ([]byte, []int)

Deprecated: Use ReplacePoolIncentivesProposal.ProtoReflect.Descriptor instead.

func (*ReplacePoolIncentivesProposal) GetDescription

func (x *ReplacePoolIncentivesProposal) GetDescription() string

func (*ReplacePoolIncentivesProposal) GetNewIncentives

func (x *ReplacePoolIncentivesProposal) GetNewIncentives() []*IncentivePool

func (*ReplacePoolIncentivesProposal) GetTitle

func (x *ReplacePoolIncentivesProposal) GetTitle() string

func (*ReplacePoolIncentivesProposal) ProtoMessage

func (*ReplacePoolIncentivesProposal) ProtoMessage()

func (*ReplacePoolIncentivesProposal) ProtoReflect

func (*ReplacePoolIncentivesProposal) Reset

func (x *ReplacePoolIncentivesProposal) Reset()

func (*ReplacePoolIncentivesProposal) String

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) SetPoolWeight

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 UpdatePoolIncentivesProposal

type UpdatePoolIncentivesProposal struct {
	Title             string           `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description       string           `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	UpdatedIncentives []*IncentivePool `protobuf:"bytes,3,rep,name=updatedIncentives,proto3" json:"updatedIncentives,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePoolIncentivesProposal) Descriptor deprecated

func (*UpdatePoolIncentivesProposal) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePoolIncentivesProposal.ProtoReflect.Descriptor instead.

func (*UpdatePoolIncentivesProposal) GetDescription

func (x *UpdatePoolIncentivesProposal) GetDescription() string

func (*UpdatePoolIncentivesProposal) GetTitle

func (x *UpdatePoolIncentivesProposal) GetTitle() string

func (*UpdatePoolIncentivesProposal) GetUpdatedIncentives

func (x *UpdatePoolIncentivesProposal) GetUpdatedIncentives() []*IncentivePool

func (*UpdatePoolIncentivesProposal) ProtoMessage

func (*UpdatePoolIncentivesProposal) ProtoMessage()

func (*UpdatePoolIncentivesProposal) ProtoReflect

func (*UpdatePoolIncentivesProposal) Reset

func (x *UpdatePoolIncentivesProposal) Reset()

func (*UpdatePoolIncentivesProposal) String

Jump to

Keyboard shortcuts

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