Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type BLSSignatureInfo
- func (*BLSSignatureInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BLSSignatureInfo) GetPubKeys() [][]byte
- func (x *BLSSignatureInfo) GetSignature() []byte
- func (x *BLSSignatureInfo) GetTxData() []byte
- func (*BLSSignatureInfo) ProtoMessage()
- func (x *BLSSignatureInfo) ProtoReflect() protoreflect.Message
- func (x *BLSSignatureInfo) Reset()
- func (x *BLSSignatureInfo) String() string
- type EventFoundationDeposit
- func (*EventFoundationDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *EventFoundationDeposit) GetAmount() string
- func (*EventFoundationDeposit) ProtoMessage()
- func (x *EventFoundationDeposit) ProtoReflect() protoreflect.Message
- func (x *EventFoundationDeposit) Reset()
- func (x *EventFoundationDeposit) String() string
- type EventSlashing
- func (*EventSlashing) Descriptor() ([]byte, []int)deprecated
- func (x *EventSlashing) GetAmount() string
- func (x *EventSlashing) GetNetworkAddress() string
- func (x *EventSlashing) GetSlashingType() string
- func (x *EventSlashing) GetSuspend() string
- func (x *EventSlashing) GetWalletAddress() string
- func (*EventSlashing) ProtoMessage()
- func (x *EventSlashing) ProtoReflect() protoreflect.Message
- func (x *EventSlashing) Reset()
- func (x *EventSlashing) String() string
- type EventVolumeReport
- func (*EventVolumeReport) Descriptor() ([]byte, []int)deprecated
- func (x *EventVolumeReport) GetEpoch() string
- func (x *EventVolumeReport) GetReportReference() string
- func (*EventVolumeReport) ProtoMessage()
- func (x *EventVolumeReport) ProtoReflect() protoreflect.Message
- func (x *EventVolumeReport) Reset()
- func (x *EventVolumeReport) String() string
- type EventWithdraw
- func (*EventWithdraw) Descriptor() ([]byte, []int)deprecated
- func (x *EventWithdraw) GetAmount() string
- func (x *EventWithdraw) GetTargetAddress() string
- func (x *EventWithdraw) GetWalletAddress() string
- func (*EventWithdraw) ProtoMessage()
- func (x *EventWithdraw) ProtoReflect() protoreflect.Message
- func (x *EventWithdraw) Reset()
- func (x *EventWithdraw) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetImmatureTotalInfo() []*ImmatureTotal
- func (x *GenesisState) GetIndividualRewardInfo() []*Reward
- func (x *GenesisState) GetLastDistributedEpoch() string
- func (x *GenesisState) GetMatureTotalInfo() []*MatureTotal
- func (x *GenesisState) GetMaturedEpoch() string
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetRewardTotalInfo() []*RewardTotal
- func (x *GenesisState) GetTotalMinedToken() *v1beta1.Coin
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type ImmatureTotal
- func (*ImmatureTotal) Descriptor() ([]byte, []int)deprecated
- func (x *ImmatureTotal) GetValue() []*v1beta1.Coin
- func (x *ImmatureTotal) GetWalletAddress() string
- func (*ImmatureTotal) ProtoMessage()
- func (x *ImmatureTotal) ProtoReflect() protoreflect.Message
- func (x *ImmatureTotal) Reset()
- func (x *ImmatureTotal) String() string
- type MatureTotal
- func (*MatureTotal) Descriptor() ([]byte, []int)deprecated
- func (x *MatureTotal) GetValue() []*v1beta1.Coin
- func (x *MatureTotal) GetWalletAddress() string
- func (*MatureTotal) ProtoMessage()
- func (x *MatureTotal) ProtoReflect() protoreflect.Message
- func (x *MatureTotal) Reset()
- func (x *MatureTotal) String() string
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)deprecated
- func (x *Metrics) GetChainMiningReward() string
- func (x *Metrics) GetCirculationSupply() string
- func (x *Metrics) GetMetaMiningReward() string
- func (x *Metrics) GetMetaNodeDeposit() string
- func (x *Metrics) GetResourceMiningReward() string
- func (x *Metrics) GetResourceNodeDeposit() string
- func (x *Metrics) GetTotalBondedDelegation() string
- func (x *Metrics) GetTotalMinedTokens() string
- func (x *Metrics) GetTotalMiningReward() string
- func (x *Metrics) GetTotalMiningSupply() string
- func (x *Metrics) GetTotalResourceNodesDeposit() string
- func (x *Metrics) GetTotalSupply() string
- func (x *Metrics) GetTotalUnbondedDelegation() string
- func (x *Metrics) GetTotalUnbondingDelegation() string
- func (x *Metrics) GetUnissuedPrepay() string
- func (*Metrics) ProtoMessage()
- func (x *Metrics) ProtoReflect() protoreflect.Message
- func (x *Metrics) Reset()
- func (x *Metrics) String() string
- type MiningRewardParam
- func (*MiningRewardParam) Descriptor() ([]byte, []int)deprecated
- func (x *MiningRewardParam) GetBlockChainPercentageInBp() string
- func (x *MiningRewardParam) GetMetaNodePercentageInBp() string
- func (x *MiningRewardParam) GetMiningReward() *v1beta1.Coin
- func (x *MiningRewardParam) GetResourceNodePercentageInBp() string
- func (x *MiningRewardParam) GetTotalMinedValveEnd() *v1beta1.Coin
- func (x *MiningRewardParam) GetTotalMinedValveStart() *v1beta1.Coin
- func (*MiningRewardParam) ProtoMessage()
- func (x *MiningRewardParam) ProtoReflect() protoreflect.Message
- func (x *MiningRewardParam) Reset()
- func (x *MiningRewardParam) String() string
- type MsgClient
- type MsgFoundationDeposit
- func (*MsgFoundationDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *MsgFoundationDeposit) GetAmount() []*v1beta1.Coin
- func (x *MsgFoundationDeposit) GetFrom() string
- func (*MsgFoundationDeposit) ProtoMessage()
- func (x *MsgFoundationDeposit) ProtoReflect() protoreflect.Message
- func (x *MsgFoundationDeposit) Reset()
- func (x *MsgFoundationDeposit) String() string
- type MsgFoundationDepositResponse
- func (*MsgFoundationDepositResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgFoundationDepositResponse) ProtoMessage()
- func (x *MsgFoundationDepositResponse) ProtoReflect() protoreflect.Message
- func (x *MsgFoundationDepositResponse) Reset()
- func (x *MsgFoundationDepositResponse) String() string
- type MsgServer
- type MsgSlashingResourceNode
- func (*MsgSlashingResourceNode) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSlashingResourceNode) GetNetworkAddress() string
- func (x *MsgSlashingResourceNode) GetReporterOwner() []string
- func (x *MsgSlashingResourceNode) GetReporters() []string
- func (x *MsgSlashingResourceNode) GetSlashing() string
- func (x *MsgSlashingResourceNode) GetSuspend() bool
- func (x *MsgSlashingResourceNode) GetWalletAddress() string
- func (*MsgSlashingResourceNode) ProtoMessage()
- func (x *MsgSlashingResourceNode) ProtoReflect() protoreflect.Message
- func (x *MsgSlashingResourceNode) Reset()
- func (x *MsgSlashingResourceNode) String() string
- type MsgSlashingResourceNodeResponse
- func (*MsgSlashingResourceNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgSlashingResourceNodeResponse) ProtoMessage()
- func (x *MsgSlashingResourceNodeResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSlashingResourceNodeResponse) Reset()
- func (x *MsgSlashingResourceNodeResponse) String() string
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type MsgVolumeReport
- func (*MsgVolumeReport) Descriptor() ([]byte, []int)deprecated
- func (x *MsgVolumeReport) GetBLSSignature() *BLSSignatureInfo
- func (x *MsgVolumeReport) GetEpoch() string
- func (x *MsgVolumeReport) GetReportReference() string
- func (x *MsgVolumeReport) GetReporter() string
- func (x *MsgVolumeReport) GetReporterOwner() string
- func (x *MsgVolumeReport) GetWalletVolumes() []*SingleWalletVolume
- func (*MsgVolumeReport) ProtoMessage()
- func (x *MsgVolumeReport) ProtoReflect() protoreflect.Message
- func (x *MsgVolumeReport) Reset()
- func (x *MsgVolumeReport) String() string
- type MsgVolumeReportResponse
- type MsgWithdraw
- func (*MsgWithdraw) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdraw) GetAmount() []*v1beta1.Coin
- func (x *MsgWithdraw) GetTargetAddress() string
- func (x *MsgWithdraw) GetWalletAddress() string
- func (*MsgWithdraw) ProtoMessage()
- func (x *MsgWithdraw) ProtoReflect() protoreflect.Message
- func (x *MsgWithdraw) Reset()
- func (x *MsgWithdraw) String() string
- type MsgWithdrawResponse
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetBondDenom() string
- func (x *Params) GetCommunityTax() string
- func (x *Params) GetInitialTotalSupply() *v1beta1.Coin
- func (x *Params) GetMatureEpoch() int64
- func (x *Params) GetMiningRewardParams() []*MiningRewardParam
- func (x *Params) GetRewardDenom() string
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryCirculationSupplyRequest
- func (*QueryCirculationSupplyRequest) Descriptor() ([]byte, []int)deprecated
- func (*QueryCirculationSupplyRequest) ProtoMessage()
- func (x *QueryCirculationSupplyRequest) ProtoReflect() protoreflect.Message
- func (x *QueryCirculationSupplyRequest) Reset()
- func (x *QueryCirculationSupplyRequest) String() string
- type QueryCirculationSupplyResponse
- func (*QueryCirculationSupplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCirculationSupplyResponse) GetCirculationSupply() []*v1beta11.Coin
- func (*QueryCirculationSupplyResponse) ProtoMessage()
- func (x *QueryCirculationSupplyResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCirculationSupplyResponse) Reset()
- func (x *QueryCirculationSupplyResponse) String() string
- type QueryClient
- type QueryMetricsRequest
- type QueryMetricsResponse
- func (*QueryMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMetricsResponse) GetMetrics() *Metrics
- func (*QueryMetricsResponse) ProtoMessage()
- func (x *QueryMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMetricsResponse) Reset()
- func (x *QueryMetricsResponse) 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 QueryRewardsByEpochRequest
- func (*QueryRewardsByEpochRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRewardsByEpochRequest) GetEpoch() int64
- func (x *QueryRewardsByEpochRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryRewardsByEpochRequest) ProtoMessage()
- func (x *QueryRewardsByEpochRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRewardsByEpochRequest) Reset()
- func (x *QueryRewardsByEpochRequest) String() string
- type QueryRewardsByEpochResponse
- func (*QueryRewardsByEpochResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRewardsByEpochResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryRewardsByEpochResponse) GetRewards() []*Reward
- func (*QueryRewardsByEpochResponse) ProtoMessage()
- func (x *QueryRewardsByEpochResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRewardsByEpochResponse) Reset()
- func (x *QueryRewardsByEpochResponse) String() string
- type QueryRewardsByWalletAndEpochRequest
- func (*QueryRewardsByWalletAndEpochRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRewardsByWalletAndEpochRequest) GetEpoch() int64
- func (x *QueryRewardsByWalletAndEpochRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryRewardsByWalletAndEpochRequest) GetWalletAddress() string
- func (*QueryRewardsByWalletAndEpochRequest) ProtoMessage()
- func (x *QueryRewardsByWalletAndEpochRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRewardsByWalletAndEpochRequest) Reset()
- func (x *QueryRewardsByWalletAndEpochRequest) String() string
- type QueryRewardsByWalletAndEpochResponse
- func (*QueryRewardsByWalletAndEpochResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRewardsByWalletAndEpochResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryRewardsByWalletAndEpochResponse) GetRewards() []*Reward
- func (*QueryRewardsByWalletAndEpochResponse) ProtoMessage()
- func (x *QueryRewardsByWalletAndEpochResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRewardsByWalletAndEpochResponse) Reset()
- func (x *QueryRewardsByWalletAndEpochResponse) String() string
- type QueryRewardsByWalletRequest
- func (*QueryRewardsByWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRewardsByWalletRequest) GetWalletAddress() string
- func (*QueryRewardsByWalletRequest) ProtoMessage()
- func (x *QueryRewardsByWalletRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRewardsByWalletRequest) Reset()
- func (x *QueryRewardsByWalletRequest) String() string
- type QueryRewardsByWalletResponse
- func (*QueryRewardsByWalletResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRewardsByWalletResponse) GetRewards() *RewardByWallet
- func (*QueryRewardsByWalletResponse) ProtoMessage()
- func (x *QueryRewardsByWalletResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRewardsByWalletResponse) Reset()
- func (x *QueryRewardsByWalletResponse) String() string
- type QueryServer
- type QuerySlashingByOwnerRequest
- func (*QuerySlashingByOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySlashingByOwnerRequest) GetWalletAddress() string
- func (*QuerySlashingByOwnerRequest) ProtoMessage()
- func (x *QuerySlashingByOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySlashingByOwnerRequest) Reset()
- func (x *QuerySlashingByOwnerRequest) String() string
- type QuerySlashingByOwnerResponse
- func (*QuerySlashingByOwnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySlashingByOwnerResponse) GetSlashing() string
- func (*QuerySlashingByOwnerResponse) ProtoMessage()
- func (x *QuerySlashingByOwnerResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySlashingByOwnerResponse) Reset()
- func (x *QuerySlashingByOwnerResponse) String() string
- type QueryTotalMinedTokenRequest
- type QueryTotalMinedTokenResponse
- func (*QueryTotalMinedTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTotalMinedTokenResponse) GetTotalMinedToken() *v1beta11.Coin
- func (*QueryTotalMinedTokenResponse) ProtoMessage()
- func (x *QueryTotalMinedTokenResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTotalMinedTokenResponse) Reset()
- func (x *QueryTotalMinedTokenResponse) String() string
- type QueryTotalRewardByEpochRequest
- func (*QueryTotalRewardByEpochRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTotalRewardByEpochRequest) GetEpoch() int64
- func (*QueryTotalRewardByEpochRequest) ProtoMessage()
- func (x *QueryTotalRewardByEpochRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTotalRewardByEpochRequest) Reset()
- func (x *QueryTotalRewardByEpochRequest) String() string
- type QueryTotalRewardByEpochResponse
- func (*QueryTotalRewardByEpochResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTotalRewardByEpochResponse) GetIsLegacy() bool
- func (x *QueryTotalRewardByEpochResponse) GetTotalReward() *TotalReward
- func (*QueryTotalRewardByEpochResponse) ProtoMessage()
- func (x *QueryTotalRewardByEpochResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTotalRewardByEpochResponse) Reset()
- func (x *QueryTotalRewardByEpochResponse) String() string
- type QueryVolumeReportRequest
- func (*QueryVolumeReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryVolumeReportRequest) GetEpoch() int64
- func (*QueryVolumeReportRequest) ProtoMessage()
- func (x *QueryVolumeReportRequest) ProtoReflect() protoreflect.Message
- func (x *QueryVolumeReportRequest) Reset()
- func (x *QueryVolumeReportRequest) String() string
- type QueryVolumeReportResponse
- func (*QueryVolumeReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryVolumeReportResponse) GetReportInfo() *ReportInfo
- func (*QueryVolumeReportResponse) ProtoMessage()
- func (x *QueryVolumeReportResponse) ProtoReflect() protoreflect.Message
- func (x *QueryVolumeReportResponse) Reset()
- func (x *QueryVolumeReportResponse) String() string
- type ReportInfo
- func (*ReportInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReportInfo) GetEpoch() int64
- func (x *ReportInfo) GetReference() string
- func (x *ReportInfo) GetReporter() string
- func (x *ReportInfo) GetTxHash() string
- func (*ReportInfo) ProtoMessage()
- func (x *ReportInfo) ProtoReflect() protoreflect.Message
- func (x *ReportInfo) Reset()
- func (x *ReportInfo) String() string
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)deprecated
- func (x *Reward) GetRewardFromMiningPool() []*v1beta1.Coin
- func (x *Reward) GetRewardFromTrafficPool() []*v1beta1.Coin
- func (x *Reward) GetWalletAddress() string
- func (*Reward) ProtoMessage()
- func (x *Reward) ProtoReflect() protoreflect.Message
- func (x *Reward) Reset()
- func (x *Reward) String() string
- type RewardByWallet
- func (*RewardByWallet) Descriptor() ([]byte, []int)deprecated
- func (x *RewardByWallet) GetImmatureTotalReward() []*v1beta11.Coin
- func (x *RewardByWallet) GetMatureTotalReward() []*v1beta11.Coin
- func (x *RewardByWallet) GetWalletAddress() string
- func (*RewardByWallet) ProtoMessage()
- func (x *RewardByWallet) ProtoReflect() protoreflect.Message
- func (x *RewardByWallet) Reset()
- func (x *RewardByWallet) String() string
- type RewardTotal
- func (*RewardTotal) Descriptor() ([]byte, []int)deprecated
- func (x *RewardTotal) GetEpoch() string
- func (x *RewardTotal) GetTotalReward() *TotalReward
- func (*RewardTotal) ProtoMessage()
- func (x *RewardTotal) ProtoReflect() protoreflect.Message
- func (x *RewardTotal) Reset()
- func (x *RewardTotal) String() string
- type SingleWalletVolume
- func (*SingleWalletVolume) Descriptor() ([]byte, []int)deprecated
- func (x *SingleWalletVolume) GetVolume() string
- func (x *SingleWalletVolume) GetWalletAddress() string
- func (*SingleWalletVolume) ProtoMessage()
- func (x *SingleWalletVolume) ProtoReflect() protoreflect.Message
- func (x *SingleWalletVolume) Reset()
- func (x *SingleWalletVolume) String() string
- type TotalReward
- func (*TotalReward) Descriptor() ([]byte, []int)deprecated
- func (x *TotalReward) GetMiningReward() []*v1beta1.Coin
- func (x *TotalReward) GetTrafficReward() []*v1beta1.Coin
- func (*TotalReward) ProtoMessage()
- func (x *TotalReward) ProtoReflect() protoreflect.Message
- func (x *TotalReward) Reset()
- func (x *TotalReward) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) HandleMsgFoundationDeposit(context.Context, *MsgFoundationDeposit) (*MsgFoundationDepositResponse, error)
- func (UnimplementedMsgServer) HandleMsgSlashingResourceNode(context.Context, *MsgSlashingResourceNode) (*MsgSlashingResourceNodeResponse, error)
- func (UnimplementedMsgServer) HandleMsgVolumeReport(context.Context, *MsgVolumeReport) (*MsgVolumeReportResponse, error)
- func (UnimplementedMsgServer) HandleMsgWithdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) CirculationSupply(context.Context, *QueryCirculationSupplyRequest) (*QueryCirculationSupplyResponse, error)
- func (UnimplementedQueryServer) Metrics(context.Context, *QueryMetricsRequest) (*QueryMetricsResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) RewardsByEpoch(context.Context, *QueryRewardsByEpochRequest) (*QueryRewardsByEpochResponse, error)
- func (UnimplementedQueryServer) RewardsByWallet(context.Context, *QueryRewardsByWalletRequest) (*QueryRewardsByWalletResponse, error)
- func (UnimplementedQueryServer) RewardsByWalletAndEpoch(context.Context, *QueryRewardsByWalletAndEpochRequest) (*QueryRewardsByWalletAndEpochResponse, error)
- func (UnimplementedQueryServer) SlashingByOwner(context.Context, *QuerySlashingByOwnerRequest) (*QuerySlashingByOwnerResponse, error)
- func (UnimplementedQueryServer) TotalMinedToken(context.Context, *QueryTotalMinedTokenRequest) (*QueryTotalMinedTokenResponse, error)
- func (UnimplementedQueryServer) TotalRewardByEpoch(context.Context, *QueryTotalRewardByEpochRequest) (*QueryTotalRewardByEpochResponse, error)
- func (UnimplementedQueryServer) VolumeReport(context.Context, *QueryVolumeReportRequest) (*QueryVolumeReportResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
- type VolumeReportRecord
- func (*VolumeReportRecord) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeReportRecord) GetReportReference() string
- func (x *VolumeReportRecord) GetReporter() string
- func (x *VolumeReportRecord) GetTxHash() string
- func (*VolumeReportRecord) ProtoMessage()
- func (x *VolumeReportRecord) ProtoReflect() protoreflect.Message
- func (x *VolumeReportRecord) Reset()
- func (x *VolumeReportRecord) String() string
- type WalletVolumes
Constants ¶
const ( Query_VolumeReport_FullMethodName = "/stratos.pot.v1.Query/VolumeReport" Query_RewardsByEpoch_FullMethodName = "/stratos.pot.v1.Query/RewardsByEpoch" Query_RewardsByWallet_FullMethodName = "/stratos.pot.v1.Query/RewardsByWallet" Query_RewardsByWalletAndEpoch_FullMethodName = "/stratos.pot.v1.Query/RewardsByWalletAndEpoch" Query_SlashingByOwner_FullMethodName = "/stratos.pot.v1.Query/SlashingByOwner" Query_Params_FullMethodName = "/stratos.pot.v1.Query/Params" Query_TotalMinedToken_FullMethodName = "/stratos.pot.v1.Query/TotalMinedToken" Query_CirculationSupply_FullMethodName = "/stratos.pot.v1.Query/CirculationSupply" Query_TotalRewardByEpoch_FullMethodName = "/stratos.pot.v1.Query/TotalRewardByEpoch" Query_Metrics_FullMethodName = "/stratos.pot.v1.Query/Metrics" )
const ( Msg_HandleMsgVolumeReport_FullMethodName = "/stratos.pot.v1.Msg/HandleMsgVolumeReport" Msg_HandleMsgWithdraw_FullMethodName = "/stratos.pot.v1.Msg/HandleMsgWithdraw" Msg_HandleMsgFoundationDeposit_FullMethodName = "/stratos.pot.v1.Msg/HandleMsgFoundationDeposit" Msg_HandleMsgSlashingResourceNode_FullMethodName = "/stratos.pot.v1.Msg/HandleMsgSlashingResourceNode" Msg_UpdateParams_FullMethodName = "/stratos.pot.v1.Msg/UpdateParams" )
Variables ¶
var File_stratos_pot_v1_event_proto protoreflect.FileDescriptor
var File_stratos_pot_v1_genesis_proto protoreflect.FileDescriptor
var File_stratos_pot_v1_pot_proto protoreflect.FileDescriptor
var File_stratos_pot_v1_query_proto protoreflect.FileDescriptor
var File_stratos_pot_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "stratos.pot.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HandleMsgVolumeReport", Handler: _Msg_HandleMsgVolumeReport_Handler, }, { MethodName: "HandleMsgWithdraw", Handler: _Msg_HandleMsgWithdraw_Handler, }, { MethodName: "HandleMsgFoundationDeposit", Handler: _Msg_HandleMsgFoundationDeposit_Handler, }, { MethodName: "HandleMsgSlashingResourceNode", Handler: _Msg_HandleMsgSlashingResourceNode_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "stratos/pot/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: "stratos.pot.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "VolumeReport", Handler: _Query_VolumeReport_Handler, }, { MethodName: "RewardsByEpoch", Handler: _Query_RewardsByEpoch_Handler, }, { MethodName: "RewardsByWallet", Handler: _Query_RewardsByWallet_Handler, }, { MethodName: "RewardsByWalletAndEpoch", Handler: _Query_RewardsByWalletAndEpoch_Handler, }, { MethodName: "SlashingByOwner", Handler: _Query_SlashingByOwner_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "TotalMinedToken", Handler: _Query_TotalMinedToken_Handler, }, { MethodName: "CirculationSupply", Handler: _Query_CirculationSupply_Handler, }, { MethodName: "TotalRewardByEpoch", Handler: _Query_TotalRewardByEpoch_Handler, }, { MethodName: "Metrics", Handler: _Query_Metrics_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "stratos/pot/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 BLSSignatureInfo ¶
type BLSSignatureInfo struct { PubKeys [][]byte `protobuf:"bytes,1,rep,name=pub_keys,json=pubKeys,proto3" json:"pub_keys,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` TxData []byte `protobuf:"bytes,3,opt,name=txData,proto3" json:"txData,omitempty"` // contains filtered or unexported fields }
func (*BLSSignatureInfo) Descriptor
deprecated
func (*BLSSignatureInfo) Descriptor() ([]byte, []int)
Deprecated: Use BLSSignatureInfo.ProtoReflect.Descriptor instead.
func (*BLSSignatureInfo) GetPubKeys ¶
func (x *BLSSignatureInfo) GetPubKeys() [][]byte
func (*BLSSignatureInfo) GetSignature ¶
func (x *BLSSignatureInfo) GetSignature() []byte
func (*BLSSignatureInfo) GetTxData ¶
func (x *BLSSignatureInfo) GetTxData() []byte
func (*BLSSignatureInfo) ProtoMessage ¶
func (*BLSSignatureInfo) ProtoMessage()
func (*BLSSignatureInfo) ProtoReflect ¶
func (x *BLSSignatureInfo) ProtoReflect() protoreflect.Message
func (*BLSSignatureInfo) Reset ¶
func (x *BLSSignatureInfo) Reset()
func (*BLSSignatureInfo) String ¶
func (x *BLSSignatureInfo) String() string
type EventFoundationDeposit ¶
type EventFoundationDeposit struct { Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
EventFoundationDeposit is emitted on Msg/MsgFoundationDeposit
func (*EventFoundationDeposit) Descriptor
deprecated
func (*EventFoundationDeposit) Descriptor() ([]byte, []int)
Deprecated: Use EventFoundationDeposit.ProtoReflect.Descriptor instead.
func (*EventFoundationDeposit) GetAmount ¶
func (x *EventFoundationDeposit) GetAmount() string
func (*EventFoundationDeposit) ProtoMessage ¶
func (*EventFoundationDeposit) ProtoMessage()
func (*EventFoundationDeposit) ProtoReflect ¶
func (x *EventFoundationDeposit) ProtoReflect() protoreflect.Message
func (*EventFoundationDeposit) Reset ¶
func (x *EventFoundationDeposit) Reset()
func (*EventFoundationDeposit) String ¶
func (x *EventFoundationDeposit) String() string
type EventSlashing ¶
type EventSlashing struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` NetworkAddress string `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` SlashingType string `protobuf:"bytes,4,opt,name=slashing_type,json=slashingType,proto3" json:"slashing_type,omitempty"` Suspend string `protobuf:"bytes,5,opt,name=suspend,proto3" json:"suspend,omitempty"` // contains filtered or unexported fields }
EventSlashing is emitted on Msg/MsgSlashingResourceNode
func (*EventSlashing) Descriptor
deprecated
func (*EventSlashing) Descriptor() ([]byte, []int)
Deprecated: Use EventSlashing.ProtoReflect.Descriptor instead.
func (*EventSlashing) GetAmount ¶
func (x *EventSlashing) GetAmount() string
func (*EventSlashing) GetNetworkAddress ¶
func (x *EventSlashing) GetNetworkAddress() string
func (*EventSlashing) GetSlashingType ¶
func (x *EventSlashing) GetSlashingType() string
func (*EventSlashing) GetSuspend ¶
func (x *EventSlashing) GetSuspend() string
func (*EventSlashing) GetWalletAddress ¶
func (x *EventSlashing) GetWalletAddress() string
func (*EventSlashing) ProtoMessage ¶
func (*EventSlashing) ProtoMessage()
func (*EventSlashing) ProtoReflect ¶
func (x *EventSlashing) ProtoReflect() protoreflect.Message
func (*EventSlashing) Reset ¶
func (x *EventSlashing) Reset()
func (*EventSlashing) String ¶
func (x *EventSlashing) String() string
type EventVolumeReport ¶
type EventVolumeReport struct { ReportReference string `protobuf:"bytes,1,opt,name=report_reference,json=reportReference,proto3" json:"report_reference,omitempty"` Epoch string `protobuf:"bytes,2,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
EventVolumeReport is emitted on Msg/MsgVolumeReport
func (*EventVolumeReport) Descriptor
deprecated
func (*EventVolumeReport) Descriptor() ([]byte, []int)
Deprecated: Use EventVolumeReport.ProtoReflect.Descriptor instead.
func (*EventVolumeReport) GetEpoch ¶
func (x *EventVolumeReport) GetEpoch() string
func (*EventVolumeReport) GetReportReference ¶
func (x *EventVolumeReport) GetReportReference() string
func (*EventVolumeReport) ProtoMessage ¶
func (*EventVolumeReport) ProtoMessage()
func (*EventVolumeReport) ProtoReflect ¶
func (x *EventVolumeReport) ProtoReflect() protoreflect.Message
func (*EventVolumeReport) Reset ¶
func (x *EventVolumeReport) Reset()
func (*EventVolumeReport) String ¶
func (x *EventVolumeReport) String() string
type EventWithdraw ¶
type EventWithdraw struct { Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` TargetAddress string `protobuf:"bytes,3,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // contains filtered or unexported fields }
EventWithdraw is emitted on Msg/MsgWithdraw
func (*EventWithdraw) Descriptor
deprecated
func (*EventWithdraw) Descriptor() ([]byte, []int)
Deprecated: Use EventWithdraw.ProtoReflect.Descriptor instead.
func (*EventWithdraw) GetAmount ¶
func (x *EventWithdraw) GetAmount() string
func (*EventWithdraw) GetTargetAddress ¶
func (x *EventWithdraw) GetTargetAddress() string
func (*EventWithdraw) GetWalletAddress ¶
func (x *EventWithdraw) GetWalletAddress() string
func (*EventWithdraw) ProtoMessage ¶
func (*EventWithdraw) ProtoMessage()
func (*EventWithdraw) ProtoReflect ¶
func (x *EventWithdraw) ProtoReflect() protoreflect.Message
func (*EventWithdraw) Reset ¶
func (x *EventWithdraw) Reset()
func (*EventWithdraw) String ¶
func (x *EventWithdraw) String() string
type GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` TotalMinedToken *v1beta1.Coin `protobuf:"bytes,2,opt,name=total_mined_token,json=totalMinedToken,proto3" json:"total_mined_token,omitempty"` LastDistributedEpoch string `protobuf:"bytes,3,opt,name=last_distributed_epoch,json=lastDistributedEpoch,proto3" json:"last_distributed_epoch,omitempty"` ImmatureTotalInfo []*ImmatureTotal `protobuf:"bytes,4,rep,name=immature_total_info,json=immatureTotalInfo,proto3" json:"immature_total_info,omitempty"` MatureTotalInfo []*MatureTotal `protobuf:"bytes,5,rep,name=mature_total_info,json=matureTotalInfo,proto3" json:"mature_total_info,omitempty"` IndividualRewardInfo []*Reward `protobuf:"bytes,6,rep,name=individual_reward_info,json=individualRewardInfo,proto3" json:"individual_reward_info,omitempty"` MaturedEpoch string `protobuf:"bytes,7,opt,name=matured_epoch,json=maturedEpoch,proto3" json:"matured_epoch,omitempty"` RewardTotalInfo []*RewardTotal `protobuf:"bytes,8,rep,name=reward_total_info,json=rewardTotalInfo,proto3" json:"reward_total_info,omitempty"` // contains filtered or unexported fields }
GenesisState defines the register module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetImmatureTotalInfo ¶
func (x *GenesisState) GetImmatureTotalInfo() []*ImmatureTotal
func (*GenesisState) GetIndividualRewardInfo ¶
func (x *GenesisState) GetIndividualRewardInfo() []*Reward
func (*GenesisState) GetLastDistributedEpoch ¶
func (x *GenesisState) GetLastDistributedEpoch() string
func (*GenesisState) GetMatureTotalInfo ¶
func (x *GenesisState) GetMatureTotalInfo() []*MatureTotal
func (*GenesisState) GetMaturedEpoch ¶
func (x *GenesisState) GetMaturedEpoch() string
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetRewardTotalInfo ¶
func (x *GenesisState) GetRewardTotalInfo() []*RewardTotal
func (*GenesisState) GetTotalMinedToken ¶
func (x *GenesisState) GetTotalMinedToken() *v1beta1.Coin
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 ImmatureTotal ¶
type ImmatureTotal struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` Value []*v1beta1.Coin `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ImmatureTotal) Descriptor
deprecated
func (*ImmatureTotal) Descriptor() ([]byte, []int)
Deprecated: Use ImmatureTotal.ProtoReflect.Descriptor instead.
func (*ImmatureTotal) GetValue ¶
func (x *ImmatureTotal) GetValue() []*v1beta1.Coin
func (*ImmatureTotal) GetWalletAddress ¶
func (x *ImmatureTotal) GetWalletAddress() string
func (*ImmatureTotal) ProtoMessage ¶
func (*ImmatureTotal) ProtoMessage()
func (*ImmatureTotal) ProtoReflect ¶
func (x *ImmatureTotal) ProtoReflect() protoreflect.Message
func (*ImmatureTotal) Reset ¶
func (x *ImmatureTotal) Reset()
func (*ImmatureTotal) String ¶
func (x *ImmatureTotal) String() string
type MatureTotal ¶
type MatureTotal struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` Value []*v1beta1.Coin `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MatureTotal) Descriptor
deprecated
func (*MatureTotal) Descriptor() ([]byte, []int)
Deprecated: Use MatureTotal.ProtoReflect.Descriptor instead.
func (*MatureTotal) GetValue ¶
func (x *MatureTotal) GetValue() []*v1beta1.Coin
func (*MatureTotal) GetWalletAddress ¶
func (x *MatureTotal) GetWalletAddress() string
func (*MatureTotal) ProtoMessage ¶
func (*MatureTotal) ProtoMessage()
func (*MatureTotal) ProtoReflect ¶
func (x *MatureTotal) ProtoReflect() protoreflect.Message
func (*MatureTotal) Reset ¶
func (x *MatureTotal) Reset()
func (*MatureTotal) String ¶
func (x *MatureTotal) String() string
type Metrics ¶
type Metrics struct { TotalSupply string `protobuf:"bytes,1,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` TotalMiningSupply string `protobuf:"bytes,2,opt,name=total_mining_supply,json=totalMiningSupply,proto3" json:"total_mining_supply,omitempty"` TotalMinedTokens string `protobuf:"bytes,3,opt,name=total_mined_tokens,json=totalMinedTokens,proto3" json:"total_mined_tokens,omitempty"` TotalResourceNodesDeposit string `` /* 140-byte string literal not displayed */ TotalBondedDelegation string `` /* 126-byte string literal not displayed */ TotalUnbondedDelegation string `` /* 132-byte string literal not displayed */ TotalUnbondingDelegation string `` /* 135-byte string literal not displayed */ CirculationSupply string `protobuf:"bytes,8,opt,name=circulation_supply,json=circulationSupply,proto3" json:"circulation_supply,omitempty"` TotalMiningReward string `protobuf:"bytes,9,opt,name=total_mining_reward,json=totalMiningReward,proto3" json:"total_mining_reward,omitempty"` ChainMiningReward string `protobuf:"bytes,10,opt,name=chain_mining_reward,json=chainMiningReward,proto3" json:"chain_mining_reward,omitempty"` ResourceMiningReward string `protobuf:"bytes,11,opt,name=resource_mining_reward,json=resourceMiningReward,proto3" json:"resource_mining_reward,omitempty"` MetaMiningReward string `protobuf:"bytes,12,opt,name=meta_mining_reward,json=metaMiningReward,proto3" json:"meta_mining_reward,omitempty"` ResourceNodeDeposit string `protobuf:"bytes,13,opt,name=resource_node_deposit,json=resourceNodeDeposit,proto3" json:"resource_node_deposit,omitempty"` MetaNodeDeposit string `protobuf:"bytes,14,opt,name=meta_node_deposit,json=metaNodeDeposit,proto3" json:"meta_node_deposit,omitempty"` UnissuedPrepay string `protobuf:"bytes,15,opt,name=unissued_prepay,json=unissuedPrepay,proto3" json:"unissued_prepay,omitempty"` // contains filtered or unexported fields }
func (*Metrics) Descriptor
deprecated
func (*Metrics) GetChainMiningReward ¶
func (*Metrics) GetCirculationSupply ¶
func (*Metrics) GetMetaMiningReward ¶
func (*Metrics) GetMetaNodeDeposit ¶
func (*Metrics) GetResourceMiningReward ¶
func (*Metrics) GetResourceNodeDeposit ¶
func (*Metrics) GetTotalBondedDelegation ¶
func (*Metrics) GetTotalMinedTokens ¶
func (*Metrics) GetTotalMiningReward ¶
func (*Metrics) GetTotalMiningSupply ¶
func (*Metrics) GetTotalResourceNodesDeposit ¶
func (*Metrics) GetTotalSupply ¶
func (*Metrics) GetTotalUnbondedDelegation ¶
func (*Metrics) GetTotalUnbondingDelegation ¶
func (*Metrics) GetUnissuedPrepay ¶
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
func (*Metrics) ProtoReflect ¶
func (x *Metrics) ProtoReflect() protoreflect.Message
type MiningRewardParam ¶
type MiningRewardParam struct { TotalMinedValveStart *v1beta1.Coin `protobuf:"bytes,1,opt,name=total_mined_valve_start,json=totalMinedValveStart,proto3" json:"total_mined_valve_start,omitempty"` TotalMinedValveEnd *v1beta1.Coin `protobuf:"bytes,2,opt,name=total_mined_valve_end,json=totalMinedValveEnd,proto3" json:"total_mined_valve_end,omitempty"` MiningReward *v1beta1.Coin `protobuf:"bytes,3,opt,name=mining_reward,json=miningReward,proto3" json:"mining_reward,omitempty"` BlockChainPercentageInBp string `` /* 139-byte string literal not displayed */ ResourceNodePercentageInBp string `` /* 145-byte string literal not displayed */ MetaNodePercentageInBp string `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MiningRewardParam) Descriptor
deprecated
func (*MiningRewardParam) Descriptor() ([]byte, []int)
Deprecated: Use MiningRewardParam.ProtoReflect.Descriptor instead.
func (*MiningRewardParam) GetBlockChainPercentageInBp ¶
func (x *MiningRewardParam) GetBlockChainPercentageInBp() string
func (*MiningRewardParam) GetMetaNodePercentageInBp ¶
func (x *MiningRewardParam) GetMetaNodePercentageInBp() string
func (*MiningRewardParam) GetMiningReward ¶
func (x *MiningRewardParam) GetMiningReward() *v1beta1.Coin
func (*MiningRewardParam) GetResourceNodePercentageInBp ¶
func (x *MiningRewardParam) GetResourceNodePercentageInBp() string
func (*MiningRewardParam) GetTotalMinedValveEnd ¶
func (x *MiningRewardParam) GetTotalMinedValveEnd() *v1beta1.Coin
func (*MiningRewardParam) GetTotalMinedValveStart ¶
func (x *MiningRewardParam) GetTotalMinedValveStart() *v1beta1.Coin
func (*MiningRewardParam) ProtoMessage ¶
func (*MiningRewardParam) ProtoMessage()
func (*MiningRewardParam) ProtoReflect ¶
func (x *MiningRewardParam) ProtoReflect() protoreflect.Message
func (*MiningRewardParam) Reset ¶
func (x *MiningRewardParam) Reset()
func (*MiningRewardParam) String ¶
func (x *MiningRewardParam) String() string
type MsgClient ¶
type MsgClient interface { HandleMsgVolumeReport(ctx context.Context, in *MsgVolumeReport, opts ...grpc.CallOption) (*MsgVolumeReportResponse, error) HandleMsgWithdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) HandleMsgFoundationDeposit(ctx context.Context, in *MsgFoundationDeposit, opts ...grpc.CallOption) (*MsgFoundationDepositResponse, error) HandleMsgSlashingResourceNode(ctx context.Context, in *MsgSlashingResourceNode, opts ...grpc.CallOption) (*MsgSlashingResourceNodeResponse, error) // UpdateParams defined a governance operation for updating the x/pot module parameters. // The authority is hard-coded to the Cosmos SDK x/gov module account 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 MsgFoundationDeposit ¶
type MsgFoundationDeposit struct { Amount []*v1beta1.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"` From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
MsgFoundationDeposit - encapsulates an FoundationDeposit transaction as an SDK message
func (*MsgFoundationDeposit) Descriptor
deprecated
func (*MsgFoundationDeposit) Descriptor() ([]byte, []int)
Deprecated: Use MsgFoundationDeposit.ProtoReflect.Descriptor instead.
func (*MsgFoundationDeposit) GetAmount ¶
func (x *MsgFoundationDeposit) GetAmount() []*v1beta1.Coin
func (*MsgFoundationDeposit) GetFrom ¶
func (x *MsgFoundationDeposit) GetFrom() string
func (*MsgFoundationDeposit) ProtoMessage ¶
func (*MsgFoundationDeposit) ProtoMessage()
func (*MsgFoundationDeposit) ProtoReflect ¶
func (x *MsgFoundationDeposit) ProtoReflect() protoreflect.Message
func (*MsgFoundationDeposit) Reset ¶
func (x *MsgFoundationDeposit) Reset()
func (*MsgFoundationDeposit) String ¶
func (x *MsgFoundationDeposit) String() string
type MsgFoundationDepositResponse ¶
type MsgFoundationDepositResponse struct {
// contains filtered or unexported fields
}
MsgFoundationDepositResponse defines the MsgFoundationDeposit response type
func (*MsgFoundationDepositResponse) Descriptor
deprecated
func (*MsgFoundationDepositResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgFoundationDepositResponse.ProtoReflect.Descriptor instead.
func (*MsgFoundationDepositResponse) ProtoMessage ¶
func (*MsgFoundationDepositResponse) ProtoMessage()
func (*MsgFoundationDepositResponse) ProtoReflect ¶
func (x *MsgFoundationDepositResponse) ProtoReflect() protoreflect.Message
func (*MsgFoundationDepositResponse) Reset ¶
func (x *MsgFoundationDepositResponse) Reset()
func (*MsgFoundationDepositResponse) String ¶
func (x *MsgFoundationDepositResponse) String() string
type MsgServer ¶
type MsgServer interface { HandleMsgVolumeReport(context.Context, *MsgVolumeReport) (*MsgVolumeReportResponse, error) HandleMsgWithdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error) HandleMsgFoundationDeposit(context.Context, *MsgFoundationDeposit) (*MsgFoundationDepositResponse, error) HandleMsgSlashingResourceNode(context.Context, *MsgSlashingResourceNode) (*MsgSlashingResourceNodeResponse, error) // UpdateParams defined a governance operation for updating the x/pot module parameters. // The authority is hard-coded to the Cosmos SDK x/gov module account 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 MsgSlashingResourceNode ¶
type MsgSlashingResourceNode struct { Reporters []string `protobuf:"bytes,1,rep,name=reporters,proto3" json:"reporters,omitempty"` ReporterOwner []string `protobuf:"bytes,2,rep,name=reporter_owner,json=reporterOwner,proto3" json:"reporter_owner,omitempty"` NetworkAddress string `protobuf:"bytes,3,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"` WalletAddress string `protobuf:"bytes,4,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` Slashing string `protobuf:"bytes,5,opt,name=slashing,proto3" json:"slashing,omitempty"` Suspend bool `protobuf:"varint,6,opt,name=suspend,proto3" json:"suspend,omitempty"` // contains filtered or unexported fields }
MsgRemoveMetaNode - encapsulates an MsgRemoveMetaNode transaction as an SDK message
func (*MsgSlashingResourceNode) Descriptor
deprecated
func (*MsgSlashingResourceNode) Descriptor() ([]byte, []int)
Deprecated: Use MsgSlashingResourceNode.ProtoReflect.Descriptor instead.
func (*MsgSlashingResourceNode) GetNetworkAddress ¶
func (x *MsgSlashingResourceNode) GetNetworkAddress() string
func (*MsgSlashingResourceNode) GetReporterOwner ¶
func (x *MsgSlashingResourceNode) GetReporterOwner() []string
func (*MsgSlashingResourceNode) GetReporters ¶
func (x *MsgSlashingResourceNode) GetReporters() []string
func (*MsgSlashingResourceNode) GetSlashing ¶
func (x *MsgSlashingResourceNode) GetSlashing() string
func (*MsgSlashingResourceNode) GetSuspend ¶
func (x *MsgSlashingResourceNode) GetSuspend() bool
func (*MsgSlashingResourceNode) GetWalletAddress ¶
func (x *MsgSlashingResourceNode) GetWalletAddress() string
func (*MsgSlashingResourceNode) ProtoMessage ¶
func (*MsgSlashingResourceNode) ProtoMessage()
func (*MsgSlashingResourceNode) ProtoReflect ¶
func (x *MsgSlashingResourceNode) ProtoReflect() protoreflect.Message
func (*MsgSlashingResourceNode) Reset ¶
func (x *MsgSlashingResourceNode) Reset()
func (*MsgSlashingResourceNode) String ¶
func (x *MsgSlashingResourceNode) String() string
type MsgSlashingResourceNodeResponse ¶
type MsgSlashingResourceNodeResponse struct {
// contains filtered or unexported fields
}
MsgSlashingResourceNodeResponse defines the Msg/MsgSlashingResourceNode response type.
func (*MsgSlashingResourceNodeResponse) Descriptor
deprecated
func (*MsgSlashingResourceNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSlashingResourceNodeResponse.ProtoReflect.Descriptor instead.
func (*MsgSlashingResourceNodeResponse) ProtoMessage ¶
func (*MsgSlashingResourceNodeResponse) ProtoMessage()
func (*MsgSlashingResourceNodeResponse) ProtoReflect ¶
func (x *MsgSlashingResourceNodeResponse) ProtoReflect() protoreflect.Message
func (*MsgSlashingResourceNodeResponse) Reset ¶
func (x *MsgSlashingResourceNodeResponse) Reset()
func (*MsgSlashingResourceNodeResponse) String ¶
func (x *MsgSlashingResourceNodeResponse) String() string
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/pot 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 defines a Msg for updating the x/pot module parameters.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type MsgVolumeReport ¶
type MsgVolumeReport struct { WalletVolumes []*SingleWalletVolume `protobuf:"bytes,1,rep,name=wallet_volumes,json=walletVolumes,proto3" json:"wallet_volumes,omitempty"` Reporter string `protobuf:"bytes,2,opt,name=reporter,proto3" json:"reporter,omitempty"` Epoch string `protobuf:"bytes,3,opt,name=epoch,proto3" json:"epoch,omitempty"` ReportReference string `protobuf:"bytes,4,opt,name=report_reference,json=reportReference,proto3" json:"report_reference,omitempty"` ReporterOwner string `protobuf:"bytes,5,opt,name=reporter_owner,json=reporterOwner,proto3" json:"reporter_owner,omitempty"` BLSSignature *BLSSignatureInfo `protobuf:"bytes,6,opt,name=BLS_signature,json=BLSSignature,proto3" json:"BLS_signature,omitempty"` // contains filtered or unexported fields }
MsgVolumeReport encapsulates an VolumeReport transaction as an SDK message.
func (*MsgVolumeReport) Descriptor
deprecated
func (*MsgVolumeReport) Descriptor() ([]byte, []int)
Deprecated: Use MsgVolumeReport.ProtoReflect.Descriptor instead.
func (*MsgVolumeReport) GetBLSSignature ¶
func (x *MsgVolumeReport) GetBLSSignature() *BLSSignatureInfo
func (*MsgVolumeReport) GetEpoch ¶
func (x *MsgVolumeReport) GetEpoch() string
func (*MsgVolumeReport) GetReportReference ¶
func (x *MsgVolumeReport) GetReportReference() string
func (*MsgVolumeReport) GetReporter ¶
func (x *MsgVolumeReport) GetReporter() string
func (*MsgVolumeReport) GetReporterOwner ¶
func (x *MsgVolumeReport) GetReporterOwner() string
func (*MsgVolumeReport) GetWalletVolumes ¶
func (x *MsgVolumeReport) GetWalletVolumes() []*SingleWalletVolume
func (*MsgVolumeReport) ProtoMessage ¶
func (*MsgVolumeReport) ProtoMessage()
func (*MsgVolumeReport) ProtoReflect ¶
func (x *MsgVolumeReport) ProtoReflect() protoreflect.Message
func (*MsgVolumeReport) Reset ¶
func (x *MsgVolumeReport) Reset()
func (*MsgVolumeReport) String ¶
func (x *MsgVolumeReport) String() string
type MsgVolumeReportResponse ¶
type MsgVolumeReportResponse struct {
// contains filtered or unexported fields
}
MsgVolumeReportResponse defines the MsgVolumeReport response type
func (*MsgVolumeReportResponse) Descriptor
deprecated
func (*MsgVolumeReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgVolumeReportResponse.ProtoReflect.Descriptor instead.
func (*MsgVolumeReportResponse) ProtoMessage ¶
func (*MsgVolumeReportResponse) ProtoMessage()
func (*MsgVolumeReportResponse) ProtoReflect ¶
func (x *MsgVolumeReportResponse) ProtoReflect() protoreflect.Message
func (*MsgVolumeReportResponse) Reset ¶
func (x *MsgVolumeReportResponse) Reset()
func (*MsgVolumeReportResponse) String ¶
func (x *MsgVolumeReportResponse) String() string
type MsgWithdraw ¶
type MsgWithdraw struct { Amount []*v1beta1.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"` WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` TargetAddress string `protobuf:"bytes,3,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"` // contains filtered or unexported fields }
MsgWithdraw encapsulates an withdraw transaction as an SDK message.
func (*MsgWithdraw) Descriptor
deprecated
func (*MsgWithdraw) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdraw.ProtoReflect.Descriptor instead.
func (*MsgWithdraw) GetAmount ¶
func (x *MsgWithdraw) GetAmount() []*v1beta1.Coin
func (*MsgWithdraw) GetTargetAddress ¶
func (x *MsgWithdraw) GetTargetAddress() string
func (*MsgWithdraw) GetWalletAddress ¶
func (x *MsgWithdraw) GetWalletAddress() string
func (*MsgWithdraw) ProtoMessage ¶
func (*MsgWithdraw) ProtoMessage()
func (*MsgWithdraw) ProtoReflect ¶
func (x *MsgWithdraw) ProtoReflect() protoreflect.Message
func (*MsgWithdraw) Reset ¶
func (x *MsgWithdraw) Reset()
func (*MsgWithdraw) String ¶
func (x *MsgWithdraw) String() string
type MsgWithdrawResponse ¶
type MsgWithdrawResponse struct {
// contains filtered or unexported fields
}
MsgWithdrawResponse defines the Msg/MsgWithdraw response type.
func (*MsgWithdrawResponse) Descriptor
deprecated
func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawResponse.ProtoReflect.Descriptor instead.
func (*MsgWithdrawResponse) ProtoMessage ¶
func (*MsgWithdrawResponse) ProtoMessage()
func (*MsgWithdrawResponse) ProtoReflect ¶
func (x *MsgWithdrawResponse) ProtoReflect() protoreflect.Message
func (*MsgWithdrawResponse) Reset ¶
func (x *MsgWithdrawResponse) Reset()
func (*MsgWithdrawResponse) String ¶
func (x *MsgWithdrawResponse) String() string
type Params ¶
type Params struct { BondDenom string `protobuf:"bytes,1,opt,name=bond_denom,json=bondDenom,proto3" json:"bond_denom,omitempty"` RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"` MatureEpoch int64 `protobuf:"varint,3,opt,name=mature_epoch,json=matureEpoch,proto3" json:"mature_epoch,omitempty"` MiningRewardParams []*MiningRewardParam `protobuf:"bytes,4,rep,name=mining_reward_params,json=miningRewardParams,proto3" json:"mining_reward_params,omitempty"` CommunityTax string `protobuf:"bytes,5,opt,name=community_tax,json=communityTax,proto3" json:"community_tax,omitempty"` InitialTotalSupply *v1beta1.Coin `protobuf:"bytes,6,opt,name=initial_total_supply,json=initialTotalSupply,proto3" json:"initial_total_supply,omitempty"` // contains filtered or unexported fields }
Params defines the PoT module parameters
func (*Params) Descriptor
deprecated
func (*Params) GetBondDenom ¶
func (*Params) GetCommunityTax ¶
func (*Params) GetInitialTotalSupply ¶
func (*Params) GetMatureEpoch ¶
func (*Params) GetMiningRewardParams ¶
func (x *Params) GetMiningRewardParams() []*MiningRewardParam
func (*Params) GetRewardDenom ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryCirculationSupplyRequest ¶
type QueryCirculationSupplyRequest struct {
// contains filtered or unexported fields
}
func (*QueryCirculationSupplyRequest) Descriptor
deprecated
func (*QueryCirculationSupplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCirculationSupplyRequest.ProtoReflect.Descriptor instead.
func (*QueryCirculationSupplyRequest) ProtoMessage ¶
func (*QueryCirculationSupplyRequest) ProtoMessage()
func (*QueryCirculationSupplyRequest) ProtoReflect ¶
func (x *QueryCirculationSupplyRequest) ProtoReflect() protoreflect.Message
func (*QueryCirculationSupplyRequest) Reset ¶
func (x *QueryCirculationSupplyRequest) Reset()
func (*QueryCirculationSupplyRequest) String ¶
func (x *QueryCirculationSupplyRequest) String() string
type QueryCirculationSupplyResponse ¶
type QueryCirculationSupplyResponse struct { CirculationSupply []*v1beta11.Coin `protobuf:"bytes,3,rep,name=circulation_supply,json=circulationSupply,proto3" json:"circulation_supply,omitempty"` // contains filtered or unexported fields }
func (*QueryCirculationSupplyResponse) Descriptor
deprecated
func (*QueryCirculationSupplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCirculationSupplyResponse.ProtoReflect.Descriptor instead.
func (*QueryCirculationSupplyResponse) GetCirculationSupply ¶
func (x *QueryCirculationSupplyResponse) GetCirculationSupply() []*v1beta11.Coin
func (*QueryCirculationSupplyResponse) ProtoMessage ¶
func (*QueryCirculationSupplyResponse) ProtoMessage()
func (*QueryCirculationSupplyResponse) ProtoReflect ¶
func (x *QueryCirculationSupplyResponse) ProtoReflect() protoreflect.Message
func (*QueryCirculationSupplyResponse) Reset ¶
func (x *QueryCirculationSupplyResponse) Reset()
func (*QueryCirculationSupplyResponse) String ¶
func (x *QueryCirculationSupplyResponse) String() string
type QueryClient ¶
type QueryClient interface { // VolumeReport queries VolumeReport info for given epoch. VolumeReport(ctx context.Context, in *QueryVolumeReportRequest, opts ...grpc.CallOption) (*QueryVolumeReportResponse, error) // RewardsByEpoch queries Pot rewards by a given epoch. RewardsByEpoch(ctx context.Context, in *QueryRewardsByEpochRequest, opts ...grpc.CallOption) (*QueryRewardsByEpochResponse, error) // RewardsByOwner queries Pot rewards by a given beneficiary address. RewardsByWallet(ctx context.Context, in *QueryRewardsByWalletRequest, opts ...grpc.CallOption) (*QueryRewardsByWalletResponse, error) // RewardsByWalletAndEpoch queries Pot rewards by a given beneficiary address at the specific epoch. RewardsByWalletAndEpoch(ctx context.Context, in *QueryRewardsByWalletAndEpochRequest, opts ...grpc.CallOption) (*QueryRewardsByWalletAndEpochResponse, error) // SlashingByOwner queries Pot slashing by owner wallet address. SlashingByOwner(ctx context.Context, in *QuerySlashingByOwnerRequest, opts ...grpc.CallOption) (*QuerySlashingByOwnerResponse, error) // Params queries POT module Params info. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) TotalMinedToken(ctx context.Context, in *QueryTotalMinedTokenRequest, opts ...grpc.CallOption) (*QueryTotalMinedTokenResponse, error) CirculationSupply(ctx context.Context, in *QueryCirculationSupplyRequest, opts ...grpc.CallOption) (*QueryCirculationSupplyResponse, error) TotalRewardByEpoch(ctx context.Context, in *QueryTotalRewardByEpochRequest, opts ...grpc.CallOption) (*QueryTotalRewardByEpochResponse, error) Metrics(ctx context.Context, in *QueryMetricsRequest, opts ...grpc.CallOption) (*QueryMetricsResponse, 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 QueryMetricsRequest ¶
type QueryMetricsRequest struct {
// contains filtered or unexported fields
}
func (*QueryMetricsRequest) Descriptor
deprecated
func (*QueryMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsRequest.ProtoReflect.Descriptor instead.
func (*QueryMetricsRequest) ProtoMessage ¶
func (*QueryMetricsRequest) ProtoMessage()
func (*QueryMetricsRequest) ProtoReflect ¶
func (x *QueryMetricsRequest) ProtoReflect() protoreflect.Message
func (*QueryMetricsRequest) Reset ¶
func (x *QueryMetricsRequest) Reset()
func (*QueryMetricsRequest) String ¶
func (x *QueryMetricsRequest) String() string
type QueryMetricsResponse ¶
type QueryMetricsResponse struct { Metrics *Metrics `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*QueryMetricsResponse) Descriptor
deprecated
func (*QueryMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsResponse.ProtoReflect.Descriptor instead.
func (*QueryMetricsResponse) GetMetrics ¶
func (x *QueryMetricsResponse) GetMetrics() *Metrics
func (*QueryMetricsResponse) ProtoMessage ¶
func (*QueryMetricsResponse) ProtoMessage()
func (*QueryMetricsResponse) ProtoReflect ¶
func (x *QueryMetricsResponse) ProtoReflect() protoreflect.Message
func (*QueryMetricsResponse) Reset ¶
func (x *QueryMetricsResponse) Reset()
func (*QueryMetricsResponse) String ¶
func (x *QueryMetricsResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryRewardsByEpochRequest ¶
type QueryRewardsByEpochRequest struct { Epoch int64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryRewardsByEpochRequest is request type for the Query/RewardsByEpoch by a given epoch RPC method
func (*QueryRewardsByEpochRequest) Descriptor
deprecated
func (*QueryRewardsByEpochRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRewardsByEpochRequest.ProtoReflect.Descriptor instead.
func (*QueryRewardsByEpochRequest) GetEpoch ¶
func (x *QueryRewardsByEpochRequest) GetEpoch() int64
func (*QueryRewardsByEpochRequest) GetPagination ¶
func (x *QueryRewardsByEpochRequest) GetPagination() *v1beta1.PageRequest
func (*QueryRewardsByEpochRequest) ProtoMessage ¶
func (*QueryRewardsByEpochRequest) ProtoMessage()
func (*QueryRewardsByEpochRequest) ProtoReflect ¶
func (x *QueryRewardsByEpochRequest) ProtoReflect() protoreflect.Message
func (*QueryRewardsByEpochRequest) Reset ¶
func (x *QueryRewardsByEpochRequest) Reset()
func (*QueryRewardsByEpochRequest) String ¶
func (x *QueryRewardsByEpochRequest) String() string
type QueryRewardsByEpochResponse ¶
type QueryRewardsByEpochResponse struct { Rewards []*Reward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryRewardsByEpochResponse is response type for the Query/RewardsByEpoch RPC method
func (*QueryRewardsByEpochResponse) Descriptor
deprecated
func (*QueryRewardsByEpochResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRewardsByEpochResponse.ProtoReflect.Descriptor instead.
func (*QueryRewardsByEpochResponse) GetPagination ¶
func (x *QueryRewardsByEpochResponse) GetPagination() *v1beta1.PageResponse
func (*QueryRewardsByEpochResponse) GetRewards ¶
func (x *QueryRewardsByEpochResponse) GetRewards() []*Reward
func (*QueryRewardsByEpochResponse) ProtoMessage ¶
func (*QueryRewardsByEpochResponse) ProtoMessage()
func (*QueryRewardsByEpochResponse) ProtoReflect ¶
func (x *QueryRewardsByEpochResponse) ProtoReflect() protoreflect.Message
func (*QueryRewardsByEpochResponse) Reset ¶
func (x *QueryRewardsByEpochResponse) Reset()
func (*QueryRewardsByEpochResponse) String ¶
func (x *QueryRewardsByEpochResponse) String() string
type QueryRewardsByWalletAndEpochRequest ¶
type QueryRewardsByWalletAndEpochRequest struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` Epoch int64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"` Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryRewardsByWalletAndEpochRequest) Descriptor
deprecated
func (*QueryRewardsByWalletAndEpochRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRewardsByWalletAndEpochRequest.ProtoReflect.Descriptor instead.
func (*QueryRewardsByWalletAndEpochRequest) GetEpoch ¶
func (x *QueryRewardsByWalletAndEpochRequest) GetEpoch() int64
func (*QueryRewardsByWalletAndEpochRequest) GetPagination ¶
func (x *QueryRewardsByWalletAndEpochRequest) GetPagination() *v1beta1.PageRequest
func (*QueryRewardsByWalletAndEpochRequest) GetWalletAddress ¶
func (x *QueryRewardsByWalletAndEpochRequest) GetWalletAddress() string
func (*QueryRewardsByWalletAndEpochRequest) ProtoMessage ¶
func (*QueryRewardsByWalletAndEpochRequest) ProtoMessage()
func (*QueryRewardsByWalletAndEpochRequest) ProtoReflect ¶
func (x *QueryRewardsByWalletAndEpochRequest) ProtoReflect() protoreflect.Message
func (*QueryRewardsByWalletAndEpochRequest) Reset ¶
func (x *QueryRewardsByWalletAndEpochRequest) Reset()
func (*QueryRewardsByWalletAndEpochRequest) String ¶
func (x *QueryRewardsByWalletAndEpochRequest) String() string
type QueryRewardsByWalletAndEpochResponse ¶
type QueryRewardsByWalletAndEpochResponse struct { Rewards []*Reward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryRewardsByWalletAndEpochResponse) Descriptor
deprecated
func (*QueryRewardsByWalletAndEpochResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRewardsByWalletAndEpochResponse.ProtoReflect.Descriptor instead.
func (*QueryRewardsByWalletAndEpochResponse) GetPagination ¶
func (x *QueryRewardsByWalletAndEpochResponse) GetPagination() *v1beta1.PageResponse
func (*QueryRewardsByWalletAndEpochResponse) GetRewards ¶
func (x *QueryRewardsByWalletAndEpochResponse) GetRewards() []*Reward
func (*QueryRewardsByWalletAndEpochResponse) ProtoMessage ¶
func (*QueryRewardsByWalletAndEpochResponse) ProtoMessage()
func (*QueryRewardsByWalletAndEpochResponse) ProtoReflect ¶
func (x *QueryRewardsByWalletAndEpochResponse) ProtoReflect() protoreflect.Message
func (*QueryRewardsByWalletAndEpochResponse) Reset ¶
func (x *QueryRewardsByWalletAndEpochResponse) Reset()
func (*QueryRewardsByWalletAndEpochResponse) String ¶
func (x *QueryRewardsByWalletAndEpochResponse) String() string
type QueryRewardsByWalletRequest ¶
type QueryRewardsByWalletRequest struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` // contains filtered or unexported fields }
QueryRewardsByOwnerRequest is request type for the Query/RewardsByOwner by a given owner RPC method
func (*QueryRewardsByWalletRequest) Descriptor
deprecated
func (*QueryRewardsByWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRewardsByWalletRequest.ProtoReflect.Descriptor instead.
func (*QueryRewardsByWalletRequest) GetWalletAddress ¶
func (x *QueryRewardsByWalletRequest) GetWalletAddress() string
func (*QueryRewardsByWalletRequest) ProtoMessage ¶
func (*QueryRewardsByWalletRequest) ProtoMessage()
func (*QueryRewardsByWalletRequest) ProtoReflect ¶
func (x *QueryRewardsByWalletRequest) ProtoReflect() protoreflect.Message
func (*QueryRewardsByWalletRequest) Reset ¶
func (x *QueryRewardsByWalletRequest) Reset()
func (*QueryRewardsByWalletRequest) String ¶
func (x *QueryRewardsByWalletRequest) String() string
type QueryRewardsByWalletResponse ¶
type QueryRewardsByWalletResponse struct { Rewards *RewardByWallet `protobuf:"bytes,1,opt,name=rewards,proto3" json:"rewards,omitempty"` // contains filtered or unexported fields }
QueryRewardsByOwnerResponse is response type for the Query/RewardsByOwner RPC method
func (*QueryRewardsByWalletResponse) Descriptor
deprecated
func (*QueryRewardsByWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRewardsByWalletResponse.ProtoReflect.Descriptor instead.
func (*QueryRewardsByWalletResponse) GetRewards ¶
func (x *QueryRewardsByWalletResponse) GetRewards() *RewardByWallet
func (*QueryRewardsByWalletResponse) ProtoMessage ¶
func (*QueryRewardsByWalletResponse) ProtoMessage()
func (*QueryRewardsByWalletResponse) ProtoReflect ¶
func (x *QueryRewardsByWalletResponse) ProtoReflect() protoreflect.Message
func (*QueryRewardsByWalletResponse) Reset ¶
func (x *QueryRewardsByWalletResponse) Reset()
func (*QueryRewardsByWalletResponse) String ¶
func (x *QueryRewardsByWalletResponse) String() string
type QueryServer ¶
type QueryServer interface { // VolumeReport queries VolumeReport info for given epoch. VolumeReport(context.Context, *QueryVolumeReportRequest) (*QueryVolumeReportResponse, error) // RewardsByEpoch queries Pot rewards by a given epoch. RewardsByEpoch(context.Context, *QueryRewardsByEpochRequest) (*QueryRewardsByEpochResponse, error) // RewardsByOwner queries Pot rewards by a given beneficiary address. RewardsByWallet(context.Context, *QueryRewardsByWalletRequest) (*QueryRewardsByWalletResponse, error) // RewardsByWalletAndEpoch queries Pot rewards by a given beneficiary address at the specific epoch. RewardsByWalletAndEpoch(context.Context, *QueryRewardsByWalletAndEpochRequest) (*QueryRewardsByWalletAndEpochResponse, error) // SlashingByOwner queries Pot slashing by owner wallet address. SlashingByOwner(context.Context, *QuerySlashingByOwnerRequest) (*QuerySlashingByOwnerResponse, error) // Params queries POT module Params info. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) TotalMinedToken(context.Context, *QueryTotalMinedTokenRequest) (*QueryTotalMinedTokenResponse, error) CirculationSupply(context.Context, *QueryCirculationSupplyRequest) (*QueryCirculationSupplyResponse, error) TotalRewardByEpoch(context.Context, *QueryTotalRewardByEpochRequest) (*QueryTotalRewardByEpochResponse, error) Metrics(context.Context, *QueryMetricsRequest) (*QueryMetricsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QuerySlashingByOwnerRequest ¶
type QuerySlashingByOwnerRequest struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` // contains filtered or unexported fields }
QuerySlashingByOwnerRequest is request type for the Query/Slashing by a given owner RPC method
func (*QuerySlashingByOwnerRequest) Descriptor
deprecated
func (*QuerySlashingByOwnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySlashingByOwnerRequest.ProtoReflect.Descriptor instead.
func (*QuerySlashingByOwnerRequest) GetWalletAddress ¶
func (x *QuerySlashingByOwnerRequest) GetWalletAddress() string
func (*QuerySlashingByOwnerRequest) ProtoMessage ¶
func (*QuerySlashingByOwnerRequest) ProtoMessage()
func (*QuerySlashingByOwnerRequest) ProtoReflect ¶
func (x *QuerySlashingByOwnerRequest) ProtoReflect() protoreflect.Message
func (*QuerySlashingByOwnerRequest) Reset ¶
func (x *QuerySlashingByOwnerRequest) Reset()
func (*QuerySlashingByOwnerRequest) String ¶
func (x *QuerySlashingByOwnerRequest) String() string
type QuerySlashingByOwnerResponse ¶
type QuerySlashingByOwnerResponse struct { Slashing string `protobuf:"bytes,1,opt,name=slashing,proto3" json:"slashing,omitempty"` // contains filtered or unexported fields }
QuerySlashingByOwnerResponse is response type for the Query/Slashing RPC method
func (*QuerySlashingByOwnerResponse) Descriptor
deprecated
func (*QuerySlashingByOwnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySlashingByOwnerResponse.ProtoReflect.Descriptor instead.
func (*QuerySlashingByOwnerResponse) GetSlashing ¶
func (x *QuerySlashingByOwnerResponse) GetSlashing() string
func (*QuerySlashingByOwnerResponse) ProtoMessage ¶
func (*QuerySlashingByOwnerResponse) ProtoMessage()
func (*QuerySlashingByOwnerResponse) ProtoReflect ¶
func (x *QuerySlashingByOwnerResponse) ProtoReflect() protoreflect.Message
func (*QuerySlashingByOwnerResponse) Reset ¶
func (x *QuerySlashingByOwnerResponse) Reset()
func (*QuerySlashingByOwnerResponse) String ¶
func (x *QuerySlashingByOwnerResponse) String() string
type QueryTotalMinedTokenRequest ¶
type QueryTotalMinedTokenRequest struct {
// contains filtered or unexported fields
}
func (*QueryTotalMinedTokenRequest) Descriptor
deprecated
func (*QueryTotalMinedTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTotalMinedTokenRequest.ProtoReflect.Descriptor instead.
func (*QueryTotalMinedTokenRequest) ProtoMessage ¶
func (*QueryTotalMinedTokenRequest) ProtoMessage()
func (*QueryTotalMinedTokenRequest) ProtoReflect ¶
func (x *QueryTotalMinedTokenRequest) ProtoReflect() protoreflect.Message
func (*QueryTotalMinedTokenRequest) Reset ¶
func (x *QueryTotalMinedTokenRequest) Reset()
func (*QueryTotalMinedTokenRequest) String ¶
func (x *QueryTotalMinedTokenRequest) String() string
type QueryTotalMinedTokenResponse ¶
type QueryTotalMinedTokenResponse struct { TotalMinedToken *v1beta11.Coin `protobuf:"bytes,1,opt,name=total_mined_token,json=totalMinedToken,proto3" json:"total_mined_token,omitempty"` // contains filtered or unexported fields }
func (*QueryTotalMinedTokenResponse) Descriptor
deprecated
func (*QueryTotalMinedTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTotalMinedTokenResponse.ProtoReflect.Descriptor instead.
func (*QueryTotalMinedTokenResponse) GetTotalMinedToken ¶
func (x *QueryTotalMinedTokenResponse) GetTotalMinedToken() *v1beta11.Coin
func (*QueryTotalMinedTokenResponse) ProtoMessage ¶
func (*QueryTotalMinedTokenResponse) ProtoMessage()
func (*QueryTotalMinedTokenResponse) ProtoReflect ¶
func (x *QueryTotalMinedTokenResponse) ProtoReflect() protoreflect.Message
func (*QueryTotalMinedTokenResponse) Reset ¶
func (x *QueryTotalMinedTokenResponse) Reset()
func (*QueryTotalMinedTokenResponse) String ¶
func (x *QueryTotalMinedTokenResponse) String() string
type QueryTotalRewardByEpochRequest ¶
type QueryTotalRewardByEpochRequest struct { Epoch int64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
func (*QueryTotalRewardByEpochRequest) Descriptor
deprecated
func (*QueryTotalRewardByEpochRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTotalRewardByEpochRequest.ProtoReflect.Descriptor instead.
func (*QueryTotalRewardByEpochRequest) GetEpoch ¶
func (x *QueryTotalRewardByEpochRequest) GetEpoch() int64
func (*QueryTotalRewardByEpochRequest) ProtoMessage ¶
func (*QueryTotalRewardByEpochRequest) ProtoMessage()
func (*QueryTotalRewardByEpochRequest) ProtoReflect ¶
func (x *QueryTotalRewardByEpochRequest) ProtoReflect() protoreflect.Message
func (*QueryTotalRewardByEpochRequest) Reset ¶
func (x *QueryTotalRewardByEpochRequest) Reset()
func (*QueryTotalRewardByEpochRequest) String ¶
func (x *QueryTotalRewardByEpochRequest) String() string
type QueryTotalRewardByEpochResponse ¶
type QueryTotalRewardByEpochResponse struct { TotalReward *TotalReward `protobuf:"bytes,1,opt,name=total_reward,json=totalReward,proto3" json:"total_reward,omitempty"` IsLegacy bool `protobuf:"varint,2,opt,name=is_legacy,json=isLegacy,proto3" json:"is_legacy,omitempty"` // contains filtered or unexported fields }
func (*QueryTotalRewardByEpochResponse) Descriptor
deprecated
func (*QueryTotalRewardByEpochResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTotalRewardByEpochResponse.ProtoReflect.Descriptor instead.
func (*QueryTotalRewardByEpochResponse) GetIsLegacy ¶
func (x *QueryTotalRewardByEpochResponse) GetIsLegacy() bool
func (*QueryTotalRewardByEpochResponse) GetTotalReward ¶
func (x *QueryTotalRewardByEpochResponse) GetTotalReward() *TotalReward
func (*QueryTotalRewardByEpochResponse) ProtoMessage ¶
func (*QueryTotalRewardByEpochResponse) ProtoMessage()
func (*QueryTotalRewardByEpochResponse) ProtoReflect ¶
func (x *QueryTotalRewardByEpochResponse) ProtoReflect() protoreflect.Message
func (*QueryTotalRewardByEpochResponse) Reset ¶
func (x *QueryTotalRewardByEpochResponse) Reset()
func (*QueryTotalRewardByEpochResponse) String ¶
func (x *QueryTotalRewardByEpochResponse) String() string
type QueryVolumeReportRequest ¶
type QueryVolumeReportRequest struct { // epoch defines the epoch number to query for. Epoch int64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
QueryVolumeReportRequest is request type for the Query/VolumeReport RPC method
func (*QueryVolumeReportRequest) Descriptor
deprecated
func (*QueryVolumeReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryVolumeReportRequest.ProtoReflect.Descriptor instead.
func (*QueryVolumeReportRequest) GetEpoch ¶
func (x *QueryVolumeReportRequest) GetEpoch() int64
func (*QueryVolumeReportRequest) ProtoMessage ¶
func (*QueryVolumeReportRequest) ProtoMessage()
func (*QueryVolumeReportRequest) ProtoReflect ¶
func (x *QueryVolumeReportRequest) ProtoReflect() protoreflect.Message
func (*QueryVolumeReportRequest) Reset ¶
func (x *QueryVolumeReportRequest) Reset()
func (*QueryVolumeReportRequest) String ¶
func (x *QueryVolumeReportRequest) String() string
type QueryVolumeReportResponse ¶
type QueryVolumeReportResponse struct { // node defines the the volumeReport info. ReportInfo *ReportInfo `protobuf:"bytes,1,opt,name=report_info,json=reportInfo,proto3" json:"report_info,omitempty"` // contains filtered or unexported fields }
QueryVolumeReportResponse is response type for the Query/ResourceNode RPC method
func (*QueryVolumeReportResponse) Descriptor
deprecated
func (*QueryVolumeReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryVolumeReportResponse.ProtoReflect.Descriptor instead.
func (*QueryVolumeReportResponse) GetReportInfo ¶
func (x *QueryVolumeReportResponse) GetReportInfo() *ReportInfo
func (*QueryVolumeReportResponse) ProtoMessage ¶
func (*QueryVolumeReportResponse) ProtoMessage()
func (*QueryVolumeReportResponse) ProtoReflect ¶
func (x *QueryVolumeReportResponse) ProtoReflect() protoreflect.Message
func (*QueryVolumeReportResponse) Reset ¶
func (x *QueryVolumeReportResponse) Reset()
func (*QueryVolumeReportResponse) String ¶
func (x *QueryVolumeReportResponse) String() string
type ReportInfo ¶
type ReportInfo struct { Epoch int64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` Reporter string `protobuf:"bytes,4,opt,name=reporter,proto3" json:"reporter,omitempty"` // contains filtered or unexported fields }
func (*ReportInfo) Descriptor
deprecated
func (*ReportInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReportInfo.ProtoReflect.Descriptor instead.
func (*ReportInfo) GetEpoch ¶
func (x *ReportInfo) GetEpoch() int64
func (*ReportInfo) GetReference ¶
func (x *ReportInfo) GetReference() string
func (*ReportInfo) GetReporter ¶
func (x *ReportInfo) GetReporter() string
func (*ReportInfo) GetTxHash ¶
func (x *ReportInfo) GetTxHash() string
func (*ReportInfo) ProtoMessage ¶
func (*ReportInfo) ProtoMessage()
func (*ReportInfo) ProtoReflect ¶
func (x *ReportInfo) ProtoReflect() protoreflect.Message
func (*ReportInfo) Reset ¶
func (x *ReportInfo) Reset()
func (*ReportInfo) String ¶
func (x *ReportInfo) String() string
type Reward ¶
type Reward struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` RewardFromMiningPool []*v1beta1.Coin `protobuf:"bytes,2,rep,name=reward_from_mining_pool,json=rewardFromMiningPool,proto3" json:"reward_from_mining_pool,omitempty"` RewardFromTrafficPool []*v1beta1.Coin `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Reward) Descriptor
deprecated
func (*Reward) GetRewardFromMiningPool ¶
func (*Reward) GetRewardFromTrafficPool ¶
func (*Reward) GetWalletAddress ¶
func (*Reward) ProtoMessage ¶
func (*Reward) ProtoMessage()
func (*Reward) ProtoReflect ¶
func (x *Reward) ProtoReflect() protoreflect.Message
type RewardByWallet ¶
type RewardByWallet struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` MatureTotalReward []*v1beta11.Coin `protobuf:"bytes,2,rep,name=mature_total_reward,json=matureTotalReward,proto3" json:"mature_total_reward,omitempty"` ImmatureTotalReward []*v1beta11.Coin `protobuf:"bytes,3,rep,name=immature_total_reward,json=immatureTotalReward,proto3" json:"immature_total_reward,omitempty"` // contains filtered or unexported fields }
func (*RewardByWallet) Descriptor
deprecated
func (*RewardByWallet) Descriptor() ([]byte, []int)
Deprecated: Use RewardByWallet.ProtoReflect.Descriptor instead.
func (*RewardByWallet) GetImmatureTotalReward ¶
func (x *RewardByWallet) GetImmatureTotalReward() []*v1beta11.Coin
func (*RewardByWallet) GetMatureTotalReward ¶
func (x *RewardByWallet) GetMatureTotalReward() []*v1beta11.Coin
func (*RewardByWallet) GetWalletAddress ¶
func (x *RewardByWallet) GetWalletAddress() string
func (*RewardByWallet) ProtoMessage ¶
func (*RewardByWallet) ProtoMessage()
func (*RewardByWallet) ProtoReflect ¶
func (x *RewardByWallet) ProtoReflect() protoreflect.Message
func (*RewardByWallet) Reset ¶
func (x *RewardByWallet) Reset()
func (*RewardByWallet) String ¶
func (x *RewardByWallet) String() string
type RewardTotal ¶
type RewardTotal struct { Epoch string `protobuf:"bytes,1,opt,name=epoch,proto3" json:"epoch,omitempty"` TotalReward *TotalReward `protobuf:"bytes,2,opt,name=total_reward,json=totalReward,proto3" json:"total_reward,omitempty"` // contains filtered or unexported fields }
func (*RewardTotal) Descriptor
deprecated
func (*RewardTotal) Descriptor() ([]byte, []int)
Deprecated: Use RewardTotal.ProtoReflect.Descriptor instead.
func (*RewardTotal) GetEpoch ¶
func (x *RewardTotal) GetEpoch() string
func (*RewardTotal) GetTotalReward ¶
func (x *RewardTotal) GetTotalReward() *TotalReward
func (*RewardTotal) ProtoMessage ¶
func (*RewardTotal) ProtoMessage()
func (*RewardTotal) ProtoReflect ¶
func (x *RewardTotal) ProtoReflect() protoreflect.Message
func (*RewardTotal) Reset ¶
func (x *RewardTotal) Reset()
func (*RewardTotal) String ¶
func (x *RewardTotal) String() string
type SingleWalletVolume ¶
type SingleWalletVolume struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` Volume string `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*SingleWalletVolume) Descriptor
deprecated
func (*SingleWalletVolume) Descriptor() ([]byte, []int)
Deprecated: Use SingleWalletVolume.ProtoReflect.Descriptor instead.
func (*SingleWalletVolume) GetVolume ¶
func (x *SingleWalletVolume) GetVolume() string
func (*SingleWalletVolume) GetWalletAddress ¶
func (x *SingleWalletVolume) GetWalletAddress() string
func (*SingleWalletVolume) ProtoMessage ¶
func (*SingleWalletVolume) ProtoMessage()
func (*SingleWalletVolume) ProtoReflect ¶
func (x *SingleWalletVolume) ProtoReflect() protoreflect.Message
func (*SingleWalletVolume) Reset ¶
func (x *SingleWalletVolume) Reset()
func (*SingleWalletVolume) String ¶
func (x *SingleWalletVolume) String() string
type TotalReward ¶
type TotalReward struct { MiningReward []*v1beta1.Coin `protobuf:"bytes,1,rep,name=mining_reward,json=miningReward,proto3" json:"mining_reward,omitempty"` TrafficReward []*v1beta1.Coin `protobuf:"bytes,2,rep,name=traffic_reward,json=trafficReward,proto3" json:"traffic_reward,omitempty"` // contains filtered or unexported fields }
func (*TotalReward) Descriptor
deprecated
func (*TotalReward) Descriptor() ([]byte, []int)
Deprecated: Use TotalReward.ProtoReflect.Descriptor instead.
func (*TotalReward) GetMiningReward ¶
func (x *TotalReward) GetMiningReward() []*v1beta1.Coin
func (*TotalReward) GetTrafficReward ¶
func (x *TotalReward) GetTrafficReward() []*v1beta1.Coin
func (*TotalReward) ProtoMessage ¶
func (*TotalReward) ProtoMessage()
func (*TotalReward) ProtoReflect ¶
func (x *TotalReward) ProtoReflect() protoreflect.Message
func (*TotalReward) Reset ¶
func (x *TotalReward) Reset()
func (*TotalReward) String ¶
func (x *TotalReward) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) HandleMsgFoundationDeposit ¶
func (UnimplementedMsgServer) HandleMsgFoundationDeposit(context.Context, *MsgFoundationDeposit) (*MsgFoundationDepositResponse, error)
func (UnimplementedMsgServer) HandleMsgSlashingResourceNode ¶
func (UnimplementedMsgServer) HandleMsgSlashingResourceNode(context.Context, *MsgSlashingResourceNode) (*MsgSlashingResourceNodeResponse, error)
func (UnimplementedMsgServer) HandleMsgVolumeReport ¶
func (UnimplementedMsgServer) HandleMsgVolumeReport(context.Context, *MsgVolumeReport) (*MsgVolumeReportResponse, error)
func (UnimplementedMsgServer) HandleMsgWithdraw ¶
func (UnimplementedMsgServer) HandleMsgWithdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error)
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) CirculationSupply ¶
func (UnimplementedQueryServer) CirculationSupply(context.Context, *QueryCirculationSupplyRequest) (*QueryCirculationSupplyResponse, error)
func (UnimplementedQueryServer) Metrics ¶
func (UnimplementedQueryServer) Metrics(context.Context, *QueryMetricsRequest) (*QueryMetricsResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) RewardsByEpoch ¶
func (UnimplementedQueryServer) RewardsByEpoch(context.Context, *QueryRewardsByEpochRequest) (*QueryRewardsByEpochResponse, error)
func (UnimplementedQueryServer) RewardsByWallet ¶
func (UnimplementedQueryServer) RewardsByWallet(context.Context, *QueryRewardsByWalletRequest) (*QueryRewardsByWalletResponse, error)
func (UnimplementedQueryServer) RewardsByWalletAndEpoch ¶
func (UnimplementedQueryServer) RewardsByWalletAndEpoch(context.Context, *QueryRewardsByWalletAndEpochRequest) (*QueryRewardsByWalletAndEpochResponse, error)
func (UnimplementedQueryServer) SlashingByOwner ¶
func (UnimplementedQueryServer) SlashingByOwner(context.Context, *QuerySlashingByOwnerRequest) (*QuerySlashingByOwnerResponse, error)
func (UnimplementedQueryServer) TotalMinedToken ¶
func (UnimplementedQueryServer) TotalMinedToken(context.Context, *QueryTotalMinedTokenRequest) (*QueryTotalMinedTokenResponse, error)
func (UnimplementedQueryServer) TotalRewardByEpoch ¶
func (UnimplementedQueryServer) TotalRewardByEpoch(context.Context, *QueryTotalRewardByEpochRequest) (*QueryTotalRewardByEpochResponse, error)
func (UnimplementedQueryServer) VolumeReport ¶
func (UnimplementedQueryServer) VolumeReport(context.Context, *QueryVolumeReportRequest) (*QueryVolumeReportResponse, 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 VolumeReportRecord ¶
type VolumeReportRecord struct { Reporter string `protobuf:"bytes,1,opt,name=reporter,proto3" json:"reporter,omitempty"` ReportReference string `protobuf:"bytes,2,opt,name=report_reference,json=reportReference,proto3" json:"report_reference,omitempty"` TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*VolumeReportRecord) Descriptor
deprecated
func (*VolumeReportRecord) Descriptor() ([]byte, []int)
Deprecated: Use VolumeReportRecord.ProtoReflect.Descriptor instead.
func (*VolumeReportRecord) GetReportReference ¶
func (x *VolumeReportRecord) GetReportReference() string
func (*VolumeReportRecord) GetReporter ¶
func (x *VolumeReportRecord) GetReporter() string
func (*VolumeReportRecord) GetTxHash ¶
func (x *VolumeReportRecord) GetTxHash() string
func (*VolumeReportRecord) ProtoMessage ¶
func (*VolumeReportRecord) ProtoMessage()
func (*VolumeReportRecord) ProtoReflect ¶
func (x *VolumeReportRecord) ProtoReflect() protoreflect.Message
func (*VolumeReportRecord) Reset ¶
func (x *VolumeReportRecord) Reset()
func (*VolumeReportRecord) String ¶
func (x *VolumeReportRecord) String() string
type WalletVolumes ¶
type WalletVolumes struct { Volumes []*SingleWalletVolume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*WalletVolumes) Descriptor
deprecated
func (*WalletVolumes) Descriptor() ([]byte, []int)
Deprecated: Use WalletVolumes.ProtoReflect.Descriptor instead.
func (*WalletVolumes) GetVolumes ¶
func (x *WalletVolumes) GetVolumes() []*SingleWalletVolume
func (*WalletVolumes) ProtoMessage ¶
func (*WalletVolumes) ProtoMessage()
func (*WalletVolumes) ProtoReflect ¶
func (x *WalletVolumes) ProtoReflect() protoreflect.Message
func (*WalletVolumes) Reset ¶
func (x *WalletVolumes) Reset()
func (*WalletVolumes) String ¶
func (x *WalletVolumes) String() string