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 ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetEcosystemTokensMinted() string
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetPreviousBlockEmission() string
- func (x *GenesisState) GetPreviousRewardEmissionPerUnitStakedToken() string
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgClient
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetParams() *Params
- func (x *MsgUpdateParams) GetSender() string
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetEcosystemTreasuryPercentOfTotalSupply() string
- func (x *Params) GetFEmission() string
- func (x *Params) GetFoundationTreasuryPercentOfTotalSupply() string
- func (x *Params) GetInvestorsPercentOfTotalSupply() string
- func (x *Params) GetInvestorsPreseedPercentOfTotalSupply() string
- func (x *Params) GetMaxSupply() string
- func (x *Params) GetMaximumMonthlyPercentageYield() string
- func (x *Params) GetMintDenom() string
- func (x *Params) GetOneMonthSmoothingDegree() string
- func (x *Params) GetParticipantsPercentOfTotalSupply() string
- func (x *Params) GetTeamPercentOfTotalSupply() string
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryClient
- type QueryEmissionInfoRequest
- type QueryEmissionInfoResponse
- func (*QueryEmissionInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEmissionInfoResponse) GetAlloraRewardsCut() string
- func (x *QueryEmissionInfoResponse) GetBlockEmission() string
- func (x *QueryEmissionInfoResponse) GetBlockHeightTargetEILastCalculated() uint64
- func (x *QueryEmissionInfoResponse) GetBlockHeightTargetEINextCalculated() uint64
- func (x *QueryEmissionInfoResponse) GetBlocksPerMonth() uint64
- func (x *QueryEmissionInfoResponse) GetCirculatingSupply() string
- func (x *QueryEmissionInfoResponse) GetEcosystemBalance() string
- func (x *QueryEmissionInfoResponse) GetEcosystemLocked() string
- func (x *QueryEmissionInfoResponse) GetEcosystemMintSupplyRemaining() string
- func (x *QueryEmissionInfoResponse) GetEmissionPerMonth() string
- func (x *QueryEmissionInfoResponse) GetEmissionPerUnitStakedToken() string
- func (x *QueryEmissionInfoResponse) GetLockedVestingTokensInvestorsPreseed() string
- func (x *QueryEmissionInfoResponse) GetLockedVestingTokensInvestorsSeed() string
- func (x *QueryEmissionInfoResponse) GetLockedVestingTokensTeam() string
- func (x *QueryEmissionInfoResponse) GetLockedVestingTokensTotal() string
- func (x *QueryEmissionInfoResponse) GetMaxSupply() string
- func (x *QueryEmissionInfoResponse) GetMaximumMonthlyEmissionPerUnitStakedToken() string
- func (x *QueryEmissionInfoResponse) GetNetworkStakedTokens() string
- func (x *QueryEmissionInfoResponse) GetParams() *Params
- func (x *QueryEmissionInfoResponse) GetPreviousBlockEmission() string
- func (x *QueryEmissionInfoResponse) GetPreviousRewardEmissionPerUnitStakedToken() string
- func (x *QueryEmissionInfoResponse) GetReputersPercent() string
- func (x *QueryEmissionInfoResponse) GetTargetEmissionRatePerUnitStakedToken() string
- func (x *QueryEmissionInfoResponse) GetTargetRewardEmissionPerUnitStakedToken() string
- func (x *QueryEmissionInfoResponse) GetValidatorCut() string
- func (x *QueryEmissionInfoResponse) GetValidatorsPercent() string
- func (*QueryEmissionInfoResponse) ProtoMessage()
- func (x *QueryEmissionInfoResponse) ProtoReflect() protoreflect.Message
- func (x *QueryEmissionInfoResponse) Reset()
- func (x *QueryEmissionInfoResponse) String() string
- type QueryInflationRequest
- type QueryInflationResponse
- func (*QueryInflationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInflationResponse) GetInflation() []byte
- func (*QueryInflationResponse) ProtoMessage()
- func (x *QueryInflationResponse) ProtoReflect() protoreflect.Message
- func (x *QueryInflationResponse) Reset()
- func (x *QueryInflationResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) EmissionInfo(context.Context, *QueryEmissionInfoRequest) (*QueryEmissionInfoResponse, error)
- func (UnimplementedQueryServer) Inflation(context.Context, *QueryInflationRequest) (*QueryInflationResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Params_FullMethodName = "/mint.v1beta1.Query/Params" Query_Inflation_FullMethodName = "/mint.v1beta1.Query/Inflation" Query_EmissionInfo_FullMethodName = "/mint.v1beta1.Query/EmissionInfo" )
const (
Msg_UpdateParams_FullMethodName = "/mint.v1beta1.Msg/UpdateParams"
)
Variables ¶
var File_mint_v1beta1_genesis_proto protoreflect.FileDescriptor
var File_mint_v1beta1_query_proto protoreflect.FileDescriptor
var File_mint_v1beta1_tx_proto protoreflect.FileDescriptor
var File_mint_v1beta1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mint.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mint/v1beta1/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: "mint.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "Inflation", Handler: _Query_Inflation_Handler, }, { MethodName: "EmissionInfo", Handler: _Query_EmissionInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mint/v1beta1/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 defines all the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // previous target emission rewards per unit staked token PreviousRewardEmissionPerUnitStakedToken string `` /* 191-byte string literal not displayed */ PreviousBlockEmission string `` /* 126-byte string literal not displayed */ // number of tokens minted into the ecosystem treasury EcosystemTokensMinted string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
GenesisState defines the mint module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetEcosystemTokensMinted ¶ added in v0.2.6
func (x *GenesisState) GetEcosystemTokensMinted() string
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetPreviousBlockEmission ¶ added in v0.2.6
func (x *GenesisState) GetPreviousBlockEmission() string
func (*GenesisState) GetPreviousRewardEmissionPerUnitStakedToken ¶ added in v0.2.6
func (x *GenesisState) GetPreviousRewardEmissionPerUnitStakedToken() string
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MsgClient ¶
type MsgClient interface { // update params. Only callable by someone on the emissions module whitelist UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 { // update params. Only callable by someone on the emissions module whitelist UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // params defines the x/mint parameters to update. // // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) GetSender ¶ added in v0.2.6
func (x *MsgUpdateParams) GetSender() string
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct { // type of coin to mint MintDenom string `protobuf:"bytes,1,opt,name=mint_denom,json=mintDenom,proto3" json:"mint_denom,omitempty"` // maximum total supply of the coin MaxSupply string `protobuf:"bytes,2,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply,omitempty"` // ecosystem treasury fraction ideally emitted per unit time FEmission string `protobuf:"bytes,3,opt,name=f_emission,json=fEmission,proto3" json:"f_emission,omitempty"` // one month exponential moving average smoothing factor, alpha_e in the paper OneMonthSmoothingDegree string `` /* 134-byte string literal not displayed */ // percentage of the total supply is reserved and locked in the ecosystem // treasury EcosystemTreasuryPercentOfTotalSupply string `` /* 180-byte string literal not displayed */ // percentage of the total supply that is unlocked and usable in the // foundation treasury FoundationTreasuryPercentOfTotalSupply string `` /* 183-byte string literal not displayed */ // percentage of the total supply that is unlocked and usable by partipicants // at the genesis ParticipantsPercentOfTotalSupply string `` /* 163-byte string literal not displayed */ // percentage of the total supply that is locked in the investors bucket at // the genesis InvestorsPercentOfTotalSupply string `` /* 154-byte string literal not displayed */ // percentage of the total supply that is locked in the team bucket at the // genesis TeamPercentOfTotalSupply string `` /* 139-byte string literal not displayed */ // The capped max monthly percentage yield (like %APY) MaximumMonthlyPercentageYield string `` /* 153-byte string literal not displayed */ // percentage of the total supply that is locked in the preseed investors // bucket at the genesis InvestorsPreseedPercentOfTotalSupply string `` /* 178-byte string literal not displayed */ // contains filtered or unexported fields }
Params defines the parameters for the x/mint module.
func (*Params) Descriptor
deprecated
func (*Params) GetEcosystemTreasuryPercentOfTotalSupply ¶ added in v0.2.6
func (*Params) GetFEmission ¶ added in v0.2.6
func (*Params) GetFoundationTreasuryPercentOfTotalSupply ¶ added in v0.2.6
func (*Params) GetInvestorsPercentOfTotalSupply ¶ added in v0.2.6
func (*Params) GetInvestorsPreseedPercentOfTotalSupply ¶ added in v0.3.0
func (*Params) GetMaxSupply ¶
func (*Params) GetMaximumMonthlyPercentageYield ¶ added in v0.2.6
func (*Params) GetMintDenom ¶
func (*Params) GetOneMonthSmoothingDegree ¶ added in v0.2.6
func (*Params) GetParticipantsPercentOfTotalSupply ¶ added in v0.2.6
func (*Params) GetTeamPercentOfTotalSupply ¶ added in v0.2.6
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface { // Params returns the total set of minting parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Inflation returns the current minting inflation value. Inflation(ctx context.Context, in *QueryInflationRequest, opts ...grpc.CallOption) (*QueryInflationResponse, error) EmissionInfo(ctx context.Context, in *QueryEmissionInfoRequest, opts ...grpc.CallOption) (*QueryEmissionInfoResponse, 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 QueryEmissionInfoRequest ¶ added in v0.4.0
type QueryEmissionInfoRequest struct {
// contains filtered or unexported fields
}
query for a big dump of mint module info
func (*QueryEmissionInfoRequest) Descriptor
deprecated
added in
v0.4.0
func (*QueryEmissionInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryEmissionInfoRequest.ProtoReflect.Descriptor instead.
func (*QueryEmissionInfoRequest) ProtoMessage ¶ added in v0.4.0
func (*QueryEmissionInfoRequest) ProtoMessage()
func (*QueryEmissionInfoRequest) ProtoReflect ¶ added in v0.4.0
func (x *QueryEmissionInfoRequest) ProtoReflect() protoreflect.Message
func (*QueryEmissionInfoRequest) Reset ¶ added in v0.4.0
func (x *QueryEmissionInfoRequest) Reset()
func (*QueryEmissionInfoRequest) String ¶ added in v0.4.0
func (x *QueryEmissionInfoRequest) String() string
type QueryEmissionInfoResponse ¶ added in v0.4.0
type QueryEmissionInfoResponse struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` EcosystemBalance string `protobuf:"bytes,2,opt,name=ecosystem_balance,json=ecosystemBalance,proto3" json:"ecosystem_balance,omitempty"` PreviousBlockEmission string `` /* 126-byte string literal not displayed */ EcosystemMintSupplyRemaining string `` /* 149-byte string literal not displayed */ BlocksPerMonth uint64 `protobuf:"varint,5,opt,name=blocks_per_month,json=blocksPerMonth,proto3" json:"blocks_per_month,omitempty"` BlockHeightTargetEILastCalculated uint64 `` /* 171-byte string literal not displayed */ BlockHeightTargetEINextCalculated uint64 `` /* 171-byte string literal not displayed */ NetworkStakedTokens string `protobuf:"bytes,8,opt,name=network_staked_tokens,json=networkStakedTokens,proto3" json:"network_staked_tokens,omitempty"` LockedVestingTokensTotal string `` /* 137-byte string literal not displayed */ LockedVestingTokensInvestorsPreseed string `` /* 173-byte string literal not displayed */ LockedVestingTokensInvestorsSeed string `` /* 164-byte string literal not displayed */ LockedVestingTokensTeam string `` /* 135-byte string literal not displayed */ EcosystemLocked string `protobuf:"bytes,13,opt,name=ecosystem_locked,json=ecosystemLocked,proto3" json:"ecosystem_locked,omitempty"` CirculatingSupply string `protobuf:"bytes,14,opt,name=circulating_supply,json=circulatingSupply,proto3" json:"circulating_supply,omitempty"` MaxSupply string `protobuf:"bytes,15,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply,omitempty"` TargetEmissionRatePerUnitStakedToken string `` /* 180-byte string literal not displayed */ ReputersPercent string `protobuf:"bytes,17,opt,name=reputers_percent,json=reputersPercent,proto3" json:"reputers_percent,omitempty"` ValidatorsPercent string `protobuf:"bytes,18,opt,name=validators_percent,json=validatorsPercent,proto3" json:"validators_percent,omitempty"` MaximumMonthlyEmissionPerUnitStakedToken string `` /* 192-byte string literal not displayed */ TargetRewardEmissionPerUnitStakedToken string `` /* 186-byte string literal not displayed */ EmissionPerUnitStakedToken string `` /* 146-byte string literal not displayed */ EmissionPerMonth string `protobuf:"bytes,22,opt,name=emission_per_month,json=emissionPerMonth,proto3" json:"emission_per_month,omitempty"` BlockEmission string `protobuf:"bytes,23,opt,name=block_emission,json=blockEmission,proto3" json:"block_emission,omitempty"` ValidatorCut string `protobuf:"bytes,24,opt,name=validator_cut,json=validatorCut,proto3" json:"validator_cut,omitempty"` AlloraRewardsCut string `protobuf:"bytes,25,opt,name=allora_rewards_cut,json=alloraRewardsCut,proto3" json:"allora_rewards_cut,omitempty"` PreviousRewardEmissionPerUnitStakedToken string `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
return information about the emissions rate on query
func (*QueryEmissionInfoResponse) Descriptor
deprecated
added in
v0.4.0
func (*QueryEmissionInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryEmissionInfoResponse.ProtoReflect.Descriptor instead.
func (*QueryEmissionInfoResponse) GetAlloraRewardsCut ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetAlloraRewardsCut() string
func (*QueryEmissionInfoResponse) GetBlockEmission ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetBlockEmission() string
func (*QueryEmissionInfoResponse) GetBlockHeightTargetEILastCalculated ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetBlockHeightTargetEILastCalculated() uint64
func (*QueryEmissionInfoResponse) GetBlockHeightTargetEINextCalculated ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetBlockHeightTargetEINextCalculated() uint64
func (*QueryEmissionInfoResponse) GetBlocksPerMonth ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetBlocksPerMonth() uint64
func (*QueryEmissionInfoResponse) GetCirculatingSupply ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetCirculatingSupply() string
func (*QueryEmissionInfoResponse) GetEcosystemBalance ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetEcosystemBalance() string
func (*QueryEmissionInfoResponse) GetEcosystemLocked ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetEcosystemLocked() string
func (*QueryEmissionInfoResponse) GetEcosystemMintSupplyRemaining ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetEcosystemMintSupplyRemaining() string
func (*QueryEmissionInfoResponse) GetEmissionPerMonth ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetEmissionPerMonth() string
func (*QueryEmissionInfoResponse) GetEmissionPerUnitStakedToken ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetEmissionPerUnitStakedToken() string
func (*QueryEmissionInfoResponse) GetLockedVestingTokensInvestorsPreseed ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetLockedVestingTokensInvestorsPreseed() string
func (*QueryEmissionInfoResponse) GetLockedVestingTokensInvestorsSeed ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetLockedVestingTokensInvestorsSeed() string
func (*QueryEmissionInfoResponse) GetLockedVestingTokensTeam ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetLockedVestingTokensTeam() string
func (*QueryEmissionInfoResponse) GetLockedVestingTokensTotal ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetLockedVestingTokensTotal() string
func (*QueryEmissionInfoResponse) GetMaxSupply ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetMaxSupply() string
func (*QueryEmissionInfoResponse) GetMaximumMonthlyEmissionPerUnitStakedToken ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetMaximumMonthlyEmissionPerUnitStakedToken() string
func (*QueryEmissionInfoResponse) GetNetworkStakedTokens ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetNetworkStakedTokens() string
func (*QueryEmissionInfoResponse) GetParams ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetParams() *Params
func (*QueryEmissionInfoResponse) GetPreviousBlockEmission ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetPreviousBlockEmission() string
func (*QueryEmissionInfoResponse) GetPreviousRewardEmissionPerUnitStakedToken ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetPreviousRewardEmissionPerUnitStakedToken() string
func (*QueryEmissionInfoResponse) GetReputersPercent ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetReputersPercent() string
func (*QueryEmissionInfoResponse) GetTargetEmissionRatePerUnitStakedToken ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetTargetEmissionRatePerUnitStakedToken() string
func (*QueryEmissionInfoResponse) GetTargetRewardEmissionPerUnitStakedToken ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetTargetRewardEmissionPerUnitStakedToken() string
func (*QueryEmissionInfoResponse) GetValidatorCut ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetValidatorCut() string
func (*QueryEmissionInfoResponse) GetValidatorsPercent ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) GetValidatorsPercent() string
func (*QueryEmissionInfoResponse) ProtoMessage ¶ added in v0.4.0
func (*QueryEmissionInfoResponse) ProtoMessage()
func (*QueryEmissionInfoResponse) ProtoReflect ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) ProtoReflect() protoreflect.Message
func (*QueryEmissionInfoResponse) Reset ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) Reset()
func (*QueryEmissionInfoResponse) String ¶ added in v0.4.0
func (x *QueryEmissionInfoResponse) String() string
type QueryInflationRequest ¶
type QueryInflationRequest struct {
// contains filtered or unexported fields
}
QueryInflationRequest is the request type for the Query/Inflation RPC method.
func (*QueryInflationRequest) Descriptor
deprecated
func (*QueryInflationRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryInflationRequest.ProtoReflect.Descriptor instead.
func (*QueryInflationRequest) ProtoMessage ¶
func (*QueryInflationRequest) ProtoMessage()
func (*QueryInflationRequest) ProtoReflect ¶
func (x *QueryInflationRequest) ProtoReflect() protoreflect.Message
func (*QueryInflationRequest) Reset ¶
func (x *QueryInflationRequest) Reset()
func (*QueryInflationRequest) String ¶
func (x *QueryInflationRequest) String() string
type QueryInflationResponse ¶
type QueryInflationResponse struct { // inflation is the current minting inflation value. Inflation []byte `protobuf:"bytes,1,opt,name=inflation,proto3" json:"inflation,omitempty"` // contains filtered or unexported fields }
QueryInflationResponse is the response type for the Query/Inflation RPC method.
func (*QueryInflationResponse) Descriptor
deprecated
func (*QueryInflationResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryInflationResponse.ProtoReflect.Descriptor instead.
func (*QueryInflationResponse) GetInflation ¶
func (x *QueryInflationResponse) GetInflation() []byte
func (*QueryInflationResponse) ProtoMessage ¶
func (*QueryInflationResponse) ProtoMessage()
func (*QueryInflationResponse) ProtoReflect ¶
func (x *QueryInflationResponse) ProtoReflect() protoreflect.Message
func (*QueryInflationResponse) Reset ¶
func (x *QueryInflationResponse) Reset()
func (*QueryInflationResponse) String ¶
func (x *QueryInflationResponse) String() string
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 returns the total set of minting parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Inflation returns the current minting inflation value. Inflation(context.Context, *QueryInflationRequest) (*QueryInflationResponse, error) EmissionInfo(context.Context, *QueryEmissionInfoRequest) (*QueryEmissionInfoResponse, 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) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) EmissionInfo ¶ added in v0.4.0
func (UnimplementedQueryServer) EmissionInfo(context.Context, *QueryEmissionInfoRequest) (*QueryEmissionInfoResponse, error)
func (UnimplementedQueryServer) Inflation ¶
func (UnimplementedQueryServer) Inflation(context.Context, *QueryInflationRequest) (*QueryInflationResponse, error)
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.