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 ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type CandidatePool
- func (*CandidatePool) Descriptor() ([]byte, []int)deprecated
- func (x *CandidatePool) GetPoolContractAddress() string
- func (x *CandidatePool) GetPoolId() string
- func (*CandidatePool) ProtoMessage()
- func (x *CandidatePool) ProtoReflect() protoreflect.Message
- func (x *CandidatePool) Reset()
- func (x *CandidatePool) String() string
- type CandidatePoolInfo
- func (*CandidatePoolInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CandidatePoolInfo) GetCandidatePools() []*CandidatePool
- func (*CandidatePoolInfo) ProtoMessage()
- func (x *CandidatePoolInfo) ProtoReflect() protoreflect.Message
- func (x *CandidatePoolInfo) Reset()
- func (x *CandidatePoolInfo) String() string
- type DistributionRecord
- func (*DistributionRecord) Descriptor() ([]byte, []int)deprecated
- func (x *DistributionRecord) GetPoolId() string
- func (x *DistributionRecord) GetWeight() uint64
- func (*DistributionRecord) ProtoMessage()
- func (x *DistributionRecord) ProtoReflect() protoreflect.Message
- func (x *DistributionRecord) Reset()
- func (x *DistributionRecord) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetCandidatePoolInfo() *CandidatePoolInfo
- func (x *GenesisState) GetIncentivePoolInfo() *IncentivePoolInfo
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type IncentivePool
- func (*IncentivePool) Descriptor() ([]byte, []int)deprecated
- func (x *IncentivePool) GetPoolContractAddress() string
- func (x *IncentivePool) GetPoolId() string
- func (x *IncentivePool) GetWeight() uint64
- func (*IncentivePool) ProtoMessage()
- func (x *IncentivePool) ProtoReflect() protoreflect.Message
- func (x *IncentivePool) Reset()
- func (x *IncentivePool) String() string
- type IncentivePoolInfo
- func (*IncentivePoolInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IncentivePoolInfo) GetIncentivePools() []*IncentivePool
- func (x *IncentivePoolInfo) GetTotalWeight() uint64
- func (*IncentivePoolInfo) ProtoMessage()
- func (x *IncentivePoolInfo) ProtoReflect() protoreflect.Message
- func (x *IncentivePoolInfo) Reset()
- func (x *IncentivePoolInfo) String() string
- type MsgClient
- type MsgCreateCandidatePool
- func (*MsgCreateCandidatePool) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateCandidatePool) GetCreator() string
- func (x *MsgCreateCandidatePool) GetPoolContractAddress() string
- func (x *MsgCreateCandidatePool) GetPoolId() string
- func (*MsgCreateCandidatePool) ProtoMessage()
- func (x *MsgCreateCandidatePool) ProtoReflect() protoreflect.Message
- func (x *MsgCreateCandidatePool) Reset()
- func (x *MsgCreateCandidatePool) String() string
- type MsgCreateCandidatePoolResponse
- func (*MsgCreateCandidatePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCreateCandidatePoolResponse) ProtoMessage()
- func (x *MsgCreateCandidatePoolResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateCandidatePoolResponse) Reset()
- func (x *MsgCreateCandidatePoolResponse) String() string
- type MsgCreateIncentivePool
- func (*MsgCreateIncentivePool) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateIncentivePool) GetOperator() string
- func (x *MsgCreateIncentivePool) GetPoolContractAddress() string
- func (x *MsgCreateIncentivePool) GetPoolId() string
- func (*MsgCreateIncentivePool) ProtoMessage()
- func (x *MsgCreateIncentivePool) ProtoReflect() protoreflect.Message
- func (x *MsgCreateIncentivePool) Reset()
- func (x *MsgCreateIncentivePool) String() string
- type MsgCreateIncentivePoolResponse
- func (*MsgCreateIncentivePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCreateIncentivePoolResponse) ProtoMessage()
- func (x *MsgCreateIncentivePoolResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateIncentivePoolResponse) Reset()
- func (x *MsgCreateIncentivePoolResponse) String() string
- type MsgServer
- type MsgSetMultiplePoolWeight
- func (*MsgSetMultiplePoolWeight) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetMultiplePoolWeight) GetNewPoolData() []*NewPoolWeight
- func (x *MsgSetMultiplePoolWeight) GetOperator() string
- func (*MsgSetMultiplePoolWeight) ProtoMessage()
- func (x *MsgSetMultiplePoolWeight) ProtoReflect() protoreflect.Message
- func (x *MsgSetMultiplePoolWeight) Reset()
- func (x *MsgSetMultiplePoolWeight) String() string
- type MsgSetMultiplePoolWeightResponse
- func (*MsgSetMultiplePoolWeightResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgSetMultiplePoolWeightResponse) ProtoMessage()
- func (x *MsgSetMultiplePoolWeightResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSetMultiplePoolWeightResponse) Reset()
- func (x *MsgSetMultiplePoolWeightResponse) String() string
- type MsgSetPoolWeight
- func (*MsgSetPoolWeight) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetPoolWeight) GetNewWeight() uint64
- func (x *MsgSetPoolWeight) GetOperator() string
- func (x *MsgSetPoolWeight) GetPoolId() string
- func (*MsgSetPoolWeight) ProtoMessage()
- func (x *MsgSetPoolWeight) ProtoReflect() protoreflect.Message
- func (x *MsgSetPoolWeight) Reset()
- func (x *MsgSetPoolWeight) String() string
- type MsgSetPoolWeightResponse
- type NewPoolWeight
- func (*NewPoolWeight) Descriptor() ([]byte, []int)deprecated
- func (x *NewPoolWeight) GetNewWeight() uint64
- func (x *NewPoolWeight) GetPoolId() string
- func (*NewPoolWeight) ProtoMessage()
- func (x *NewPoolWeight) ProtoReflect() protoreflect.Message
- func (x *NewPoolWeight) Reset()
- func (x *NewPoolWeight) String() string
- type Params
- type QueryAllCandidatePool
- type QueryAllCandidatePoolResponse
- func (*QueryAllCandidatePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllCandidatePoolResponse) GetCandidatePools() []*CandidatePool
- func (*QueryAllCandidatePoolResponse) ProtoMessage()
- func (x *QueryAllCandidatePoolResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllCandidatePoolResponse) Reset()
- func (x *QueryAllCandidatePoolResponse) String() string
- type QueryAllIncentivePool
- type QueryAllIncentivePoolResponse
- func (*QueryAllIncentivePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllIncentivePoolResponse) GetIncentivePools() []*IncentivePool
- func (*QueryAllIncentivePoolResponse) ProtoMessage()
- func (x *QueryAllIncentivePoolResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllIncentivePoolResponse) Reset()
- func (x *QueryAllIncentivePoolResponse) String() string
- type QueryClient
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type QuerySingleCandidatePool
- func (*QuerySingleCandidatePool) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySingleCandidatePool) GetPoolId() string
- func (*QuerySingleCandidatePool) ProtoMessage()
- func (x *QuerySingleCandidatePool) ProtoReflect() protoreflect.Message
- func (x *QuerySingleCandidatePool) Reset()
- func (x *QuerySingleCandidatePool) String() string
- type QuerySingleCandidatePoolResponse
- func (*QuerySingleCandidatePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySingleCandidatePoolResponse) GetPoolAddress() string
- func (x *QuerySingleCandidatePoolResponse) GetPoolId() string
- func (*QuerySingleCandidatePoolResponse) ProtoMessage()
- func (x *QuerySingleCandidatePoolResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySingleCandidatePoolResponse) Reset()
- func (x *QuerySingleCandidatePoolResponse) String() string
- type QuerySingleIncentivePool
- func (*QuerySingleIncentivePool) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySingleIncentivePool) GetPoolId() string
- func (*QuerySingleIncentivePool) ProtoMessage()
- func (x *QuerySingleIncentivePool) ProtoReflect() protoreflect.Message
- func (x *QuerySingleIncentivePool) Reset()
- func (x *QuerySingleIncentivePool) String() string
- type QuerySingleIncentivePoolResponse
- func (*QuerySingleIncentivePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySingleIncentivePoolResponse) GetPoolAddress() string
- func (x *QuerySingleIncentivePoolResponse) GetPoolId() string
- func (*QuerySingleIncentivePoolResponse) ProtoMessage()
- func (x *QuerySingleIncentivePoolResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySingleIncentivePoolResponse) Reset()
- func (x *QuerySingleIncentivePoolResponse) String() string
- type ReplacePoolIncentivesProposal
- func (*ReplacePoolIncentivesProposal) Descriptor() ([]byte, []int)deprecated
- func (x *ReplacePoolIncentivesProposal) GetDescription() string
- func (x *ReplacePoolIncentivesProposal) GetNewIncentives() []*IncentivePool
- func (x *ReplacePoolIncentivesProposal) GetTitle() string
- func (*ReplacePoolIncentivesProposal) ProtoMessage()
- func (x *ReplacePoolIncentivesProposal) ProtoReflect() protoreflect.Message
- func (x *ReplacePoolIncentivesProposal) Reset()
- func (x *ReplacePoolIncentivesProposal) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CreateCandidatePool(context.Context, *MsgCreateCandidatePool) (*MsgCreateCandidatePoolResponse, error)
- func (UnimplementedMsgServer) CreateIncentivePool(context.Context, *MsgCreateIncentivePool) (*MsgCreateIncentivePoolResponse, error)
- func (UnimplementedMsgServer) SetMultiplePoolWeight(context.Context, *MsgSetMultiplePoolWeight) (*MsgSetMultiplePoolWeightResponse, error)
- func (UnimplementedMsgServer) SetPoolWeight(context.Context, *MsgSetPoolWeight) (*MsgSetPoolWeightResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AllCandidatePool(context.Context, *QueryAllCandidatePool) (*QueryAllCandidatePoolResponse, error)
- func (UnimplementedQueryServer) AllIncentivePool(context.Context, *QueryAllIncentivePool) (*QueryAllIncentivePoolResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) SingleCandidatePool(context.Context, *QuerySingleCandidatePool) (*QuerySingleCandidatePool, error)
- func (UnimplementedQueryServer) SingleIncentivePool(context.Context, *QuerySingleIncentivePool) (*QueryAllCandidatePoolResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
- type UpdatePoolIncentivesProposal
- func (*UpdatePoolIncentivesProposal) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePoolIncentivesProposal) GetDescription() string
- func (x *UpdatePoolIncentivesProposal) GetTitle() string
- func (x *UpdatePoolIncentivesProposal) GetUpdatedIncentives() []*IncentivePool
- func (*UpdatePoolIncentivesProposal) ProtoMessage()
- func (x *UpdatePoolIncentivesProposal) ProtoReflect() protoreflect.Message
- func (x *UpdatePoolIncentivesProposal) Reset()
- func (x *UpdatePoolIncentivesProposal) String() string
Constants ¶
This section is empty.
Variables ¶
var File_nova_poolincentive_v1_genesis_proto protoreflect.FileDescriptor
var File_nova_poolincentive_v1_gov_proto protoreflect.FileDescriptor
var File_nova_poolincentive_v1_params_proto protoreflect.FileDescriptor
var File_nova_poolincentive_v1_query_proto protoreflect.FileDescriptor
var File_nova_poolincentive_v1_tx_proto protoreflect.FileDescriptor
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)
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 (x *MsgCreateCandidatePoolResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateCandidatePoolResponse) Reset ¶
func (x *MsgCreateCandidatePoolResponse) Reset()
func (*MsgCreateCandidatePoolResponse) String ¶
func (x *MsgCreateCandidatePoolResponse) String() 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 (x *MsgCreateIncentivePoolResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateIncentivePoolResponse) Reset ¶
func (x *MsgCreateIncentivePoolResponse) Reset()
func (*MsgCreateIncentivePoolResponse) String ¶
func (x *MsgCreateIncentivePoolResponse) String() 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 (x *MsgSetMultiplePoolWeightResponse) ProtoReflect() protoreflect.Message
func (*MsgSetMultiplePoolWeightResponse) Reset ¶
func (x *MsgSetMultiplePoolWeightResponse) Reset()
func (*MsgSetMultiplePoolWeightResponse) String ¶
func (x *MsgSetMultiplePoolWeightResponse) String() 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) GetOperators ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAllCandidatePool ¶
type QueryAllCandidatePool struct {
// contains filtered or unexported fields
}
func (*QueryAllCandidatePool) Descriptor
deprecated
func (*QueryAllCandidatePool) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllCandidatePool.ProtoReflect.Descriptor instead.
func (*QueryAllCandidatePool) ProtoMessage ¶
func (*QueryAllCandidatePool) ProtoMessage()
func (*QueryAllCandidatePool) ProtoReflect ¶
func (x *QueryAllCandidatePool) ProtoReflect() protoreflect.Message
func (*QueryAllCandidatePool) Reset ¶
func (x *QueryAllCandidatePool) Reset()
func (*QueryAllCandidatePool) String ¶
func (x *QueryAllCandidatePool) String() string
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 (x *QueryAllCandidatePoolResponse) ProtoReflect() protoreflect.Message
func (*QueryAllCandidatePoolResponse) Reset ¶
func (x *QueryAllCandidatePoolResponse) Reset()
func (*QueryAllCandidatePoolResponse) String ¶
func (x *QueryAllCandidatePoolResponse) String() string
type QueryAllIncentivePool ¶
type QueryAllIncentivePool struct {
// contains filtered or unexported fields
}
func (*QueryAllIncentivePool) Descriptor
deprecated
func (*QueryAllIncentivePool) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllIncentivePool.ProtoReflect.Descriptor instead.
func (*QueryAllIncentivePool) ProtoMessage ¶
func (*QueryAllIncentivePool) ProtoMessage()
func (*QueryAllIncentivePool) ProtoReflect ¶
func (x *QueryAllIncentivePool) ProtoReflect() protoreflect.Message
func (*QueryAllIncentivePool) Reset ¶
func (x *QueryAllIncentivePool) Reset()
func (*QueryAllIncentivePool) String ¶
func (x *QueryAllIncentivePool) String() string
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 (x *QueryAllIncentivePoolResponse) ProtoReflect() protoreflect.Message
func (*QueryAllIncentivePoolResponse) Reset ¶
func (x *QueryAllIncentivePoolResponse) Reset()
func (*QueryAllIncentivePoolResponse) String ¶
func (x *QueryAllIncentivePoolResponse) String() string
type QueryClient ¶
type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) SingleCandidatePool(ctx context.Context, in *QuerySingleCandidatePool, opts ...grpc.CallOption) (*QuerySingleCandidatePool, error) AllCandidatePool(ctx context.Context, in *QueryAllCandidatePool, opts ...grpc.CallOption) (*QueryAllCandidatePoolResponse, error) SingleIncentivePool(ctx context.Context, in *QuerySingleIncentivePool, opts ...grpc.CallOption) (*QueryAllCandidatePoolResponse, error) AllIncentivePool(ctx context.Context, in *QueryAllIncentivePool, opts ...grpc.CallOption) (*QueryAllIncentivePoolResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) SingleCandidatePool(context.Context, *QuerySingleCandidatePool) (*QuerySingleCandidatePool, error) AllCandidatePool(context.Context, *QueryAllCandidatePool) (*QueryAllCandidatePoolResponse, error) SingleIncentivePool(context.Context, *QuerySingleIncentivePool) (*QueryAllCandidatePoolResponse, error) AllIncentivePool(context.Context, *QueryAllIncentivePool) (*QueryAllIncentivePoolResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QuerySingleCandidatePool ¶
type QuerySingleCandidatePool struct { PoolId string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` // contains filtered or unexported fields }
func (*QuerySingleCandidatePool) Descriptor
deprecated
func (*QuerySingleCandidatePool) Descriptor() ([]byte, []int)
Deprecated: Use QuerySingleCandidatePool.ProtoReflect.Descriptor instead.
func (*QuerySingleCandidatePool) GetPoolId ¶
func (x *QuerySingleCandidatePool) GetPoolId() string
func (*QuerySingleCandidatePool) ProtoMessage ¶
func (*QuerySingleCandidatePool) ProtoMessage()
func (*QuerySingleCandidatePool) ProtoReflect ¶
func (x *QuerySingleCandidatePool) ProtoReflect() protoreflect.Message
func (*QuerySingleCandidatePool) Reset ¶
func (x *QuerySingleCandidatePool) Reset()
func (*QuerySingleCandidatePool) String ¶
func (x *QuerySingleCandidatePool) String() string
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 (x *QuerySingleCandidatePoolResponse) GetPoolId() string
func (*QuerySingleCandidatePoolResponse) ProtoMessage ¶
func (*QuerySingleCandidatePoolResponse) ProtoMessage()
func (*QuerySingleCandidatePoolResponse) ProtoReflect ¶
func (x *QuerySingleCandidatePoolResponse) ProtoReflect() protoreflect.Message
func (*QuerySingleCandidatePoolResponse) Reset ¶
func (x *QuerySingleCandidatePoolResponse) Reset()
func (*QuerySingleCandidatePoolResponse) String ¶
func (x *QuerySingleCandidatePoolResponse) String() string
type QuerySingleIncentivePool ¶
type QuerySingleIncentivePool struct { PoolId string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` // contains filtered or unexported fields }
func (*QuerySingleIncentivePool) Descriptor
deprecated
func (*QuerySingleIncentivePool) Descriptor() ([]byte, []int)
Deprecated: Use QuerySingleIncentivePool.ProtoReflect.Descriptor instead.
func (*QuerySingleIncentivePool) GetPoolId ¶
func (x *QuerySingleIncentivePool) GetPoolId() string
func (*QuerySingleIncentivePool) ProtoMessage ¶
func (*QuerySingleIncentivePool) ProtoMessage()
func (*QuerySingleIncentivePool) ProtoReflect ¶
func (x *QuerySingleIncentivePool) ProtoReflect() protoreflect.Message
func (*QuerySingleIncentivePool) Reset ¶
func (x *QuerySingleIncentivePool) Reset()
func (*QuerySingleIncentivePool) String ¶
func (x *QuerySingleIncentivePool) String() string
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 (x *QuerySingleIncentivePoolResponse) GetPoolId() string
func (*QuerySingleIncentivePoolResponse) ProtoMessage ¶
func (*QuerySingleIncentivePoolResponse) ProtoMessage()
func (*QuerySingleIncentivePoolResponse) ProtoReflect ¶
func (x *QuerySingleIncentivePoolResponse) ProtoReflect() protoreflect.Message
func (*QuerySingleIncentivePoolResponse) Reset ¶
func (x *QuerySingleIncentivePoolResponse) Reset()
func (*QuerySingleIncentivePoolResponse) String ¶
func (x *QuerySingleIncentivePoolResponse) String() 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 (x *ReplacePoolIncentivesProposal) ProtoReflect() protoreflect.Message
func (*ReplacePoolIncentivesProposal) Reset ¶
func (x *ReplacePoolIncentivesProposal) Reset()
func (*ReplacePoolIncentivesProposal) String ¶
func (x *ReplacePoolIncentivesProposal) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) CreateCandidatePool ¶
func (UnimplementedMsgServer) CreateCandidatePool(context.Context, *MsgCreateCandidatePool) (*MsgCreateCandidatePoolResponse, error)
func (UnimplementedMsgServer) CreateIncentivePool ¶
func (UnimplementedMsgServer) CreateIncentivePool(context.Context, *MsgCreateIncentivePool) (*MsgCreateIncentivePoolResponse, error)
func (UnimplementedMsgServer) SetMultiplePoolWeight ¶
func (UnimplementedMsgServer) SetMultiplePoolWeight(context.Context, *MsgSetMultiplePoolWeight) (*MsgSetMultiplePoolWeightResponse, error)
func (UnimplementedMsgServer) SetPoolWeight ¶
func (UnimplementedMsgServer) SetPoolWeight(context.Context, *MsgSetPoolWeight) (*MsgSetPoolWeightResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AllCandidatePool ¶
func (UnimplementedQueryServer) AllCandidatePool(context.Context, *QueryAllCandidatePool) (*QueryAllCandidatePoolResponse, error)
func (UnimplementedQueryServer) AllIncentivePool ¶
func (UnimplementedQueryServer) AllIncentivePool(context.Context, *QueryAllIncentivePool) (*QueryAllIncentivePoolResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) SingleCandidatePool ¶
func (UnimplementedQueryServer) SingleCandidatePool(context.Context, *QuerySingleCandidatePool) (*QuerySingleCandidatePool, error)
func (UnimplementedQueryServer) SingleIncentivePool ¶
func (UnimplementedQueryServer) SingleIncentivePool(context.Context, *QuerySingleIncentivePool) (*QueryAllCandidatePoolResponse, 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 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 (x *UpdatePoolIncentivesProposal) ProtoReflect() protoreflect.Message
func (*UpdatePoolIncentivesProposal) Reset ¶
func (x *UpdatePoolIncentivesProposal) Reset()
func (*UpdatePoolIncentivesProposal) String ¶
func (x *UpdatePoolIncentivesProposal) String() string