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.
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GenesisState
- type LegacyParams
- func (*LegacyParams) Descriptor() ([]byte, []int)deprecated
- func (x *LegacyParams) GetMaxVotingPower() string
- func (x *LegacyParams) GetMinCommissionRate() string
- func (x *LegacyParams) GetMinSelfDelegation() string
- func (x *LegacyParams) GetRewardsDataLifetime() uint64
- func (x *LegacyParams) GetTotalBlocksPerYear() uint64
- func (*LegacyParams) ProtoMessage()
- func (x *LegacyParams) ProtoReflect() protoreflect.Message
- func (x *LegacyParams) Reset()
- func (x *LegacyParams) String() string
- type MsgClient
- type MsgServer
- type MsgUpdateMaxVotingPower
- func (*MsgUpdateMaxVotingPower) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateMaxVotingPower) GetCreator() string
- func (x *MsgUpdateMaxVotingPower) GetMaxVotingPower() string
- func (*MsgUpdateMaxVotingPower) ProtoMessage()
- func (x *MsgUpdateMaxVotingPower) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMaxVotingPower) Reset()
- func (x *MsgUpdateMaxVotingPower) String() string
- type MsgUpdateMaxVotingPowerResponse
- func (*MsgUpdateMaxVotingPowerResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateMaxVotingPowerResponse) ProtoMessage()
- func (x *MsgUpdateMaxVotingPowerResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMaxVotingPowerResponse) Reset()
- func (x *MsgUpdateMaxVotingPowerResponse) String() string
- type MsgUpdateMinCommission
- func (*MsgUpdateMinCommission) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateMinCommission) GetCreator() string
- func (x *MsgUpdateMinCommission) GetMinCommission() string
- func (*MsgUpdateMinCommission) ProtoMessage()
- func (x *MsgUpdateMinCommission) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMinCommission) Reset()
- func (x *MsgUpdateMinCommission) String() string
- type MsgUpdateMinCommissionResponse
- func (*MsgUpdateMinCommissionResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateMinCommissionResponse) ProtoMessage()
- func (x *MsgUpdateMinCommissionResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMinCommissionResponse) Reset()
- func (x *MsgUpdateMinCommissionResponse) String() string
- type MsgUpdateMinSelfDelegation
- func (*MsgUpdateMinSelfDelegation) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateMinSelfDelegation) GetCreator() string
- func (x *MsgUpdateMinSelfDelegation) GetMinSelfDelegation() string
- func (*MsgUpdateMinSelfDelegation) ProtoMessage()
- func (x *MsgUpdateMinSelfDelegation) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMinSelfDelegation) Reset()
- func (x *MsgUpdateMinSelfDelegation) String() string
- type MsgUpdateMinSelfDelegationResponse
- func (*MsgUpdateMinSelfDelegationResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateMinSelfDelegationResponse) ProtoMessage()
- func (x *MsgUpdateMinSelfDelegationResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMinSelfDelegationResponse) Reset()
- func (x *MsgUpdateMinSelfDelegationResponse) String() string
- type MsgUpdateRewardsDataLifetime
- func (*MsgUpdateRewardsDataLifetime) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateRewardsDataLifetime) GetCreator() string
- func (x *MsgUpdateRewardsDataLifetime) GetRewardsDataLifetime() uint64
- func (*MsgUpdateRewardsDataLifetime) ProtoMessage()
- func (x *MsgUpdateRewardsDataLifetime) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateRewardsDataLifetime) Reset()
- func (x *MsgUpdateRewardsDataLifetime) String() string
- type MsgUpdateRewardsDataLifetimeResponse
- func (*MsgUpdateRewardsDataLifetimeResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateRewardsDataLifetimeResponse) ProtoMessage()
- func (x *MsgUpdateRewardsDataLifetimeResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateRewardsDataLifetimeResponse) Reset()
- func (x *MsgUpdateRewardsDataLifetimeResponse) String() string
- type MsgUpdateTotalBlocksPerYear
- func (*MsgUpdateTotalBlocksPerYear) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateTotalBlocksPerYear) GetCreator() string
- func (x *MsgUpdateTotalBlocksPerYear) GetTotalBlocksPerYear() uint64
- func (*MsgUpdateTotalBlocksPerYear) ProtoMessage()
- func (x *MsgUpdateTotalBlocksPerYear) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateTotalBlocksPerYear) Reset()
- func (x *MsgUpdateTotalBlocksPerYear) String() string
- type MsgUpdateTotalBlocksPerYearResponse
- func (*MsgUpdateTotalBlocksPerYearResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateTotalBlocksPerYearResponse) ProtoMessage()
- func (x *MsgUpdateTotalBlocksPerYearResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateTotalBlocksPerYearResponse) Reset()
- func (x *MsgUpdateTotalBlocksPerYearResponse) String() string
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetMaxVotingPower() string
- func (x *Params) GetMinCommissionRate() string
- func (x *Params) GetMinSelfDelegation() string
- func (x *Params) GetRewardsDataLifetime() uint64
- func (x *Params) GetTotalBlocksPerYear() uint64
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryClient
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) UpdateMaxVotingPower(context.Context, *MsgUpdateMaxVotingPower) (*MsgUpdateMaxVotingPowerResponse, error)
- func (UnimplementedMsgServer) UpdateMinCommission(context.Context, *MsgUpdateMinCommission) (*MsgUpdateMinCommissionResponse, error)
- func (UnimplementedMsgServer) UpdateMinSelfDelegation(context.Context, *MsgUpdateMinSelfDelegation) (*MsgUpdateMinSelfDelegationResponse, error)
- func (UnimplementedMsgServer) UpdateRewardsDataLifetime(context.Context, *MsgUpdateRewardsDataLifetime) (*MsgUpdateRewardsDataLifetimeResponse, error)
- func (UnimplementedMsgServer) UpdateTotalBlocksPerYear(context.Context, *MsgUpdateTotalBlocksPerYear) (*MsgUpdateTotalBlocksPerYearResponse, error)
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_elys_parameter_genesis_proto protoreflect.FileDescriptor
var File_elys_parameter_params_proto protoreflect.FileDescriptor
var File_elys_parameter_query_proto protoreflect.FileDescriptor
var File_elys_parameter_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "elys.parameter.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateMinCommission", Handler: _Msg_UpdateMinCommission_Handler, }, { MethodName: "UpdateMaxVotingPower", Handler: _Msg_UpdateMaxVotingPower_Handler, }, { MethodName: "UpdateMinSelfDelegation", Handler: _Msg_UpdateMinSelfDelegation_Handler, }, { MethodName: "UpdateTotalBlocksPerYear", Handler: _Msg_UpdateTotalBlocksPerYear_Handler, }, { MethodName: "UpdateRewardsDataLifetime", Handler: _Msg_UpdateRewardsDataLifetime_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "elys/parameter/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: "elys.parameter.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "elys/parameter/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
GenesisState defines the parameter module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type LegacyParams ¶
type LegacyParams struct { MinCommissionRate string `protobuf:"bytes,1,opt,name=min_commission_rate,json=minCommissionRate,proto3" json:"min_commission_rate,omitempty"` MaxVotingPower string `protobuf:"bytes,2,opt,name=max_voting_power,json=maxVotingPower,proto3" json:"max_voting_power,omitempty"` MinSelfDelegation string `protobuf:"bytes,3,opt,name=min_self_delegation,json=minSelfDelegation,proto3" json:"min_self_delegation,omitempty"` TotalBlocksPerYear uint64 `protobuf:"varint,4,opt,name=total_blocks_per_year,json=totalBlocksPerYear,proto3" json:"total_blocks_per_year,omitempty"` RewardsDataLifetime uint64 `protobuf:"varint,5,opt,name=rewards_data_lifetime,json=rewardsDataLifetime,proto3" json:"rewards_data_lifetime,omitempty"` // default 1 day = 86400 // contains filtered or unexported fields }
func (*LegacyParams) Descriptor
deprecated
func (*LegacyParams) Descriptor() ([]byte, []int)
Deprecated: Use LegacyParams.ProtoReflect.Descriptor instead.
func (*LegacyParams) GetMaxVotingPower ¶
func (x *LegacyParams) GetMaxVotingPower() string
func (*LegacyParams) GetMinCommissionRate ¶
func (x *LegacyParams) GetMinCommissionRate() string
func (*LegacyParams) GetMinSelfDelegation ¶
func (x *LegacyParams) GetMinSelfDelegation() string
func (*LegacyParams) GetRewardsDataLifetime ¶
func (x *LegacyParams) GetRewardsDataLifetime() uint64
func (*LegacyParams) GetTotalBlocksPerYear ¶
func (x *LegacyParams) GetTotalBlocksPerYear() uint64
func (*LegacyParams) ProtoMessage ¶
func (*LegacyParams) ProtoMessage()
func (*LegacyParams) ProtoReflect ¶
func (x *LegacyParams) ProtoReflect() protoreflect.Message
func (*LegacyParams) Reset ¶
func (x *LegacyParams) Reset()
func (*LegacyParams) String ¶
func (x *LegacyParams) String() string
type MsgClient ¶
type MsgClient interface { UpdateMinCommission(ctx context.Context, in *MsgUpdateMinCommission, opts ...grpc.CallOption) (*MsgUpdateMinCommissionResponse, error) UpdateMaxVotingPower(ctx context.Context, in *MsgUpdateMaxVotingPower, opts ...grpc.CallOption) (*MsgUpdateMaxVotingPowerResponse, error) UpdateMinSelfDelegation(ctx context.Context, in *MsgUpdateMinSelfDelegation, opts ...grpc.CallOption) (*MsgUpdateMinSelfDelegationResponse, error) UpdateTotalBlocksPerYear(ctx context.Context, in *MsgUpdateTotalBlocksPerYear, opts ...grpc.CallOption) (*MsgUpdateTotalBlocksPerYearResponse, error) UpdateRewardsDataLifetime(ctx context.Context, in *MsgUpdateRewardsDataLifetime, opts ...grpc.CallOption) (*MsgUpdateRewardsDataLifetimeResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgServer ¶
type MsgServer interface { UpdateMinCommission(context.Context, *MsgUpdateMinCommission) (*MsgUpdateMinCommissionResponse, error) UpdateMaxVotingPower(context.Context, *MsgUpdateMaxVotingPower) (*MsgUpdateMaxVotingPowerResponse, error) UpdateMinSelfDelegation(context.Context, *MsgUpdateMinSelfDelegation) (*MsgUpdateMinSelfDelegationResponse, error) UpdateTotalBlocksPerYear(context.Context, *MsgUpdateTotalBlocksPerYear) (*MsgUpdateTotalBlocksPerYearResponse, error) UpdateRewardsDataLifetime(context.Context, *MsgUpdateRewardsDataLifetime) (*MsgUpdateRewardsDataLifetimeResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateMaxVotingPower ¶
type MsgUpdateMaxVotingPower struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` MaxVotingPower string `protobuf:"bytes,2,opt,name=max_voting_power,json=maxVotingPower,proto3" json:"max_voting_power,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateMaxVotingPower) Descriptor
deprecated
func (*MsgUpdateMaxVotingPower) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMaxVotingPower.ProtoReflect.Descriptor instead.
func (*MsgUpdateMaxVotingPower) GetCreator ¶
func (x *MsgUpdateMaxVotingPower) GetCreator() string
func (*MsgUpdateMaxVotingPower) GetMaxVotingPower ¶
func (x *MsgUpdateMaxVotingPower) GetMaxVotingPower() string
func (*MsgUpdateMaxVotingPower) ProtoMessage ¶
func (*MsgUpdateMaxVotingPower) ProtoMessage()
func (*MsgUpdateMaxVotingPower) ProtoReflect ¶
func (x *MsgUpdateMaxVotingPower) ProtoReflect() protoreflect.Message
func (*MsgUpdateMaxVotingPower) Reset ¶
func (x *MsgUpdateMaxVotingPower) Reset()
func (*MsgUpdateMaxVotingPower) String ¶
func (x *MsgUpdateMaxVotingPower) String() string
type MsgUpdateMaxVotingPowerResponse ¶
type MsgUpdateMaxVotingPowerResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateMaxVotingPowerResponse) Descriptor
deprecated
func (*MsgUpdateMaxVotingPowerResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMaxVotingPowerResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateMaxVotingPowerResponse) ProtoMessage ¶
func (*MsgUpdateMaxVotingPowerResponse) ProtoMessage()
func (*MsgUpdateMaxVotingPowerResponse) ProtoReflect ¶
func (x *MsgUpdateMaxVotingPowerResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateMaxVotingPowerResponse) Reset ¶
func (x *MsgUpdateMaxVotingPowerResponse) Reset()
func (*MsgUpdateMaxVotingPowerResponse) String ¶
func (x *MsgUpdateMaxVotingPowerResponse) String() string
type MsgUpdateMinCommission ¶
type MsgUpdateMinCommission struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` MinCommission string `protobuf:"bytes,2,opt,name=min_commission,json=minCommission,proto3" json:"min_commission,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateMinCommission) Descriptor
deprecated
func (*MsgUpdateMinCommission) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMinCommission.ProtoReflect.Descriptor instead.
func (*MsgUpdateMinCommission) GetCreator ¶
func (x *MsgUpdateMinCommission) GetCreator() string
func (*MsgUpdateMinCommission) GetMinCommission ¶
func (x *MsgUpdateMinCommission) GetMinCommission() string
func (*MsgUpdateMinCommission) ProtoMessage ¶
func (*MsgUpdateMinCommission) ProtoMessage()
func (*MsgUpdateMinCommission) ProtoReflect ¶
func (x *MsgUpdateMinCommission) ProtoReflect() protoreflect.Message
func (*MsgUpdateMinCommission) Reset ¶
func (x *MsgUpdateMinCommission) Reset()
func (*MsgUpdateMinCommission) String ¶
func (x *MsgUpdateMinCommission) String() string
type MsgUpdateMinCommissionResponse ¶
type MsgUpdateMinCommissionResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateMinCommissionResponse) Descriptor
deprecated
func (*MsgUpdateMinCommissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMinCommissionResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateMinCommissionResponse) ProtoMessage ¶
func (*MsgUpdateMinCommissionResponse) ProtoMessage()
func (*MsgUpdateMinCommissionResponse) ProtoReflect ¶
func (x *MsgUpdateMinCommissionResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateMinCommissionResponse) Reset ¶
func (x *MsgUpdateMinCommissionResponse) Reset()
func (*MsgUpdateMinCommissionResponse) String ¶
func (x *MsgUpdateMinCommissionResponse) String() string
type MsgUpdateMinSelfDelegation ¶
type MsgUpdateMinSelfDelegation struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` MinSelfDelegation string `protobuf:"bytes,2,opt,name=min_self_delegation,json=minSelfDelegation,proto3" json:"min_self_delegation,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateMinSelfDelegation) Descriptor
deprecated
func (*MsgUpdateMinSelfDelegation) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMinSelfDelegation.ProtoReflect.Descriptor instead.
func (*MsgUpdateMinSelfDelegation) GetCreator ¶
func (x *MsgUpdateMinSelfDelegation) GetCreator() string
func (*MsgUpdateMinSelfDelegation) GetMinSelfDelegation ¶
func (x *MsgUpdateMinSelfDelegation) GetMinSelfDelegation() string
func (*MsgUpdateMinSelfDelegation) ProtoMessage ¶
func (*MsgUpdateMinSelfDelegation) ProtoMessage()
func (*MsgUpdateMinSelfDelegation) ProtoReflect ¶
func (x *MsgUpdateMinSelfDelegation) ProtoReflect() protoreflect.Message
func (*MsgUpdateMinSelfDelegation) Reset ¶
func (x *MsgUpdateMinSelfDelegation) Reset()
func (*MsgUpdateMinSelfDelegation) String ¶
func (x *MsgUpdateMinSelfDelegation) String() string
type MsgUpdateMinSelfDelegationResponse ¶
type MsgUpdateMinSelfDelegationResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateMinSelfDelegationResponse) Descriptor
deprecated
func (*MsgUpdateMinSelfDelegationResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMinSelfDelegationResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateMinSelfDelegationResponse) ProtoMessage ¶
func (*MsgUpdateMinSelfDelegationResponse) ProtoMessage()
func (*MsgUpdateMinSelfDelegationResponse) ProtoReflect ¶
func (x *MsgUpdateMinSelfDelegationResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateMinSelfDelegationResponse) Reset ¶
func (x *MsgUpdateMinSelfDelegationResponse) Reset()
func (*MsgUpdateMinSelfDelegationResponse) String ¶
func (x *MsgUpdateMinSelfDelegationResponse) String() string
type MsgUpdateRewardsDataLifetime ¶
type MsgUpdateRewardsDataLifetime struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` RewardsDataLifetime uint64 `protobuf:"varint,2,opt,name=rewards_data_lifetime,json=rewardsDataLifetime,proto3" json:"rewards_data_lifetime,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateRewardsDataLifetime) Descriptor
deprecated
func (*MsgUpdateRewardsDataLifetime) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateRewardsDataLifetime.ProtoReflect.Descriptor instead.
func (*MsgUpdateRewardsDataLifetime) GetCreator ¶
func (x *MsgUpdateRewardsDataLifetime) GetCreator() string
func (*MsgUpdateRewardsDataLifetime) GetRewardsDataLifetime ¶
func (x *MsgUpdateRewardsDataLifetime) GetRewardsDataLifetime() uint64
func (*MsgUpdateRewardsDataLifetime) ProtoMessage ¶
func (*MsgUpdateRewardsDataLifetime) ProtoMessage()
func (*MsgUpdateRewardsDataLifetime) ProtoReflect ¶
func (x *MsgUpdateRewardsDataLifetime) ProtoReflect() protoreflect.Message
func (*MsgUpdateRewardsDataLifetime) Reset ¶
func (x *MsgUpdateRewardsDataLifetime) Reset()
func (*MsgUpdateRewardsDataLifetime) String ¶
func (x *MsgUpdateRewardsDataLifetime) String() string
type MsgUpdateRewardsDataLifetimeResponse ¶
type MsgUpdateRewardsDataLifetimeResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateRewardsDataLifetimeResponse) Descriptor
deprecated
func (*MsgUpdateRewardsDataLifetimeResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateRewardsDataLifetimeResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateRewardsDataLifetimeResponse) ProtoMessage ¶
func (*MsgUpdateRewardsDataLifetimeResponse) ProtoMessage()
func (*MsgUpdateRewardsDataLifetimeResponse) ProtoReflect ¶
func (x *MsgUpdateRewardsDataLifetimeResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateRewardsDataLifetimeResponse) Reset ¶
func (x *MsgUpdateRewardsDataLifetimeResponse) Reset()
func (*MsgUpdateRewardsDataLifetimeResponse) String ¶
func (x *MsgUpdateRewardsDataLifetimeResponse) String() string
type MsgUpdateTotalBlocksPerYear ¶
type MsgUpdateTotalBlocksPerYear struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` TotalBlocksPerYear uint64 `protobuf:"varint,2,opt,name=total_blocks_per_year,json=totalBlocksPerYear,proto3" json:"total_blocks_per_year,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateTotalBlocksPerYear) Descriptor
deprecated
func (*MsgUpdateTotalBlocksPerYear) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateTotalBlocksPerYear.ProtoReflect.Descriptor instead.
func (*MsgUpdateTotalBlocksPerYear) GetCreator ¶
func (x *MsgUpdateTotalBlocksPerYear) GetCreator() string
func (*MsgUpdateTotalBlocksPerYear) GetTotalBlocksPerYear ¶
func (x *MsgUpdateTotalBlocksPerYear) GetTotalBlocksPerYear() uint64
func (*MsgUpdateTotalBlocksPerYear) ProtoMessage ¶
func (*MsgUpdateTotalBlocksPerYear) ProtoMessage()
func (*MsgUpdateTotalBlocksPerYear) ProtoReflect ¶
func (x *MsgUpdateTotalBlocksPerYear) ProtoReflect() protoreflect.Message
func (*MsgUpdateTotalBlocksPerYear) Reset ¶
func (x *MsgUpdateTotalBlocksPerYear) Reset()
func (*MsgUpdateTotalBlocksPerYear) String ¶
func (x *MsgUpdateTotalBlocksPerYear) String() string
type MsgUpdateTotalBlocksPerYearResponse ¶
type MsgUpdateTotalBlocksPerYearResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateTotalBlocksPerYearResponse) Descriptor
deprecated
func (*MsgUpdateTotalBlocksPerYearResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateTotalBlocksPerYearResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateTotalBlocksPerYearResponse) ProtoMessage ¶
func (*MsgUpdateTotalBlocksPerYearResponse) ProtoMessage()
func (*MsgUpdateTotalBlocksPerYearResponse) ProtoReflect ¶
func (x *MsgUpdateTotalBlocksPerYearResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateTotalBlocksPerYearResponse) Reset ¶
func (x *MsgUpdateTotalBlocksPerYearResponse) Reset()
func (*MsgUpdateTotalBlocksPerYearResponse) String ¶
func (x *MsgUpdateTotalBlocksPerYearResponse) String() string
type Params ¶
type Params struct { MinCommissionRate string `protobuf:"bytes,1,opt,name=min_commission_rate,json=minCommissionRate,proto3" json:"min_commission_rate,omitempty"` MaxVotingPower string `protobuf:"bytes,2,opt,name=max_voting_power,json=maxVotingPower,proto3" json:"max_voting_power,omitempty"` MinSelfDelegation string `protobuf:"bytes,3,opt,name=min_self_delegation,json=minSelfDelegation,proto3" json:"min_self_delegation,omitempty"` TotalBlocksPerYear uint64 `protobuf:"varint,4,opt,name=total_blocks_per_year,json=totalBlocksPerYear,proto3" json:"total_blocks_per_year,omitempty"` RewardsDataLifetime uint64 `protobuf:"varint,5,opt,name=rewards_data_lifetime,json=rewardsDataLifetime,proto3" json:"rewards_data_lifetime,omitempty"` // default 1 day = 86400 // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetMaxVotingPower ¶
func (*Params) GetMinCommissionRate ¶
func (*Params) GetMinSelfDelegation ¶
func (*Params) GetRewardsDataLifetime ¶
func (*Params) GetTotalBlocksPerYear ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is 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) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) UpdateMaxVotingPower ¶
func (UnimplementedMsgServer) UpdateMaxVotingPower(context.Context, *MsgUpdateMaxVotingPower) (*MsgUpdateMaxVotingPowerResponse, error)
func (UnimplementedMsgServer) UpdateMinCommission ¶
func (UnimplementedMsgServer) UpdateMinCommission(context.Context, *MsgUpdateMinCommission) (*MsgUpdateMinCommissionResponse, error)
func (UnimplementedMsgServer) UpdateMinSelfDelegation ¶
func (UnimplementedMsgServer) UpdateMinSelfDelegation(context.Context, *MsgUpdateMinSelfDelegation) (*MsgUpdateMinSelfDelegationResponse, error)
func (UnimplementedMsgServer) UpdateRewardsDataLifetime ¶
func (UnimplementedMsgServer) UpdateRewardsDataLifetime(context.Context, *MsgUpdateRewardsDataLifetime) (*MsgUpdateRewardsDataLifetimeResponse, error)
func (UnimplementedMsgServer) UpdateTotalBlocksPerYear ¶
func (UnimplementedMsgServer) UpdateTotalBlocksPerYear(context.Context, *MsgUpdateTotalBlocksPerYear) (*MsgUpdateTotalBlocksPerYearResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.