import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; import { DecCoin } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; import { DeepPartial, Long } from "@osmonauts/helpers"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** params defines the parameters of the module. */ params: Params; } /** * QueryValidatorOutstandingRewardsRequest is the request type for the * Query/ValidatorOutstandingRewards RPC method. */ export interface QueryValidatorOutstandingRewardsRequest { /** validator_address defines the validator address to query for. */ validator_address: string; } /** * QueryValidatorOutstandingRewardsResponse is the response type for the * Query/ValidatorOutstandingRewards RPC method. */ export interface QueryValidatorOutstandingRewardsResponse { rewards: ValidatorOutstandingRewards; } /** * QueryValidatorCommissionRequest is the request type for the * Query/ValidatorCommission RPC method */ export interface QueryValidatorCommissionRequest { /** validator_address defines the validator address to query for. */ validator_address: string; } /** * QueryValidatorCommissionResponse is the response type for the * Query/ValidatorCommission RPC method */ export interface QueryValidatorCommissionResponse { /** commission defines the commision the validator received. */ commission: ValidatorAccumulatedCommission; } /** * QueryValidatorSlashesRequest is the request type for the * Query/ValidatorSlashes RPC method */ export interface QueryValidatorSlashesRequest { /** validator_address defines the validator address to query for. */ validator_address: string; /** starting_height defines the optional starting height to query the slashes. */ starting_height: Long; /** starting_height defines the optional ending height to query the slashes. */ ending_height: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** * QueryValidatorSlashesResponse is the response type for the * Query/ValidatorSlashes RPC method. */ export interface QueryValidatorSlashesResponse { /** slashes defines the slashes the validator received. */ slashes: ValidatorSlashEvent[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** * QueryDelegationRewardsRequest is the request type for the * Query/DelegationRewards RPC method. */ export interface QueryDelegationRewardsRequest { /** delegator_address defines the delegator address to query for. */ delegator_address: string; /** validator_address defines the validator address to query for. */ validator_address: string; } /** * QueryDelegationRewardsResponse is the response type for the * Query/DelegationRewards RPC method. */ export interface QueryDelegationRewardsResponse { /** rewards defines the rewards accrued by a delegation. */ rewards: DecCoin[]; } /** * QueryDelegationTotalRewardsRequest is the request type for the * Query/DelegationTotalRewards RPC method. */ export interface QueryDelegationTotalRewardsRequest { /** delegator_address defines the delegator address to query for. */ delegator_address: string; } /** * QueryDelegationTotalRewardsResponse is the response type for the * Query/DelegationTotalRewards RPC method. */ export interface QueryDelegationTotalRewardsResponse { /** rewards defines all the rewards accrued by a delegator. */ rewards: DelegationDelegatorReward[]; /** total defines the sum of all the rewards. */ total: DecCoin[]; } /** * QueryDelegatorValidatorsRequest is the request type for the * Query/DelegatorValidators RPC method. */ export interface QueryDelegatorValidatorsRequest { /** delegator_address defines the delegator address to query for. */ delegator_address: string; } /** * QueryDelegatorValidatorsResponse is the response type for the * Query/DelegatorValidators RPC method. */ export interface QueryDelegatorValidatorsResponse { /** validators defines the validators a delegator is delegating for. */ validators: string[]; } /** * QueryDelegatorWithdrawAddressRequest is the request type for the * Query/DelegatorWithdrawAddress RPC method. */ export interface QueryDelegatorWithdrawAddressRequest { /** delegator_address defines the delegator address to query for. */ delegator_address: string; } /** * QueryDelegatorWithdrawAddressResponse is the response type for the * Query/DelegatorWithdrawAddress RPC method. */ export interface QueryDelegatorWithdrawAddressResponse { /** withdraw_address defines the delegator address to query for. */ withdraw_address: string; } /** * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC * method. */ export interface QueryCommunityPoolRequest { } /** * QueryCommunityPoolResponse is the response type for the Query/CommunityPool * RPC method. */ export interface QueryCommunityPoolResponse { /** pool defines community pool's coins. */ pool: DecCoin[]; } export declare const QueryParamsRequest: { encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): unknown; fromPartial(_: DeepPartial): QueryParamsRequest; }; export declare const QueryParamsResponse: { encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): unknown; fromPartial(object: DeepPartial): QueryParamsResponse; }; export declare const QueryValidatorOutstandingRewardsRequest: { encode(message: QueryValidatorOutstandingRewardsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest; fromJSON(object: any): QueryValidatorOutstandingRewardsRequest; toJSON(message: QueryValidatorOutstandingRewardsRequest): unknown; fromPartial(object: DeepPartial): QueryValidatorOutstandingRewardsRequest; }; export declare const QueryValidatorOutstandingRewardsResponse: { encode(message: QueryValidatorOutstandingRewardsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse; fromJSON(object: any): QueryValidatorOutstandingRewardsResponse; toJSON(message: QueryValidatorOutstandingRewardsResponse): unknown; fromPartial(object: DeepPartial): QueryValidatorOutstandingRewardsResponse; }; export declare const QueryValidatorCommissionRequest: { encode(message: QueryValidatorCommissionRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest; fromJSON(object: any): QueryValidatorCommissionRequest; toJSON(message: QueryValidatorCommissionRequest): unknown; fromPartial(object: DeepPartial): QueryValidatorCommissionRequest; }; export declare const QueryValidatorCommissionResponse: { encode(message: QueryValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse; fromJSON(object: any): QueryValidatorCommissionResponse; toJSON(message: QueryValidatorCommissionResponse): unknown; fromPartial(object: DeepPartial): QueryValidatorCommissionResponse; }; export declare const QueryValidatorSlashesRequest: { encode(message: QueryValidatorSlashesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest; fromJSON(object: any): QueryValidatorSlashesRequest; toJSON(message: QueryValidatorSlashesRequest): unknown; fromPartial(object: DeepPartial): QueryValidatorSlashesRequest; }; export declare const QueryValidatorSlashesResponse: { encode(message: QueryValidatorSlashesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse; fromJSON(object: any): QueryValidatorSlashesResponse; toJSON(message: QueryValidatorSlashesResponse): unknown; fromPartial(object: DeepPartial): QueryValidatorSlashesResponse; }; export declare const QueryDelegationRewardsRequest: { encode(message: QueryDelegationRewardsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest; fromJSON(object: any): QueryDelegationRewardsRequest; toJSON(message: QueryDelegationRewardsRequest): unknown; fromPartial(object: DeepPartial): QueryDelegationRewardsRequest; }; export declare const QueryDelegationRewardsResponse: { encode(message: QueryDelegationRewardsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse; fromJSON(object: any): QueryDelegationRewardsResponse; toJSON(message: QueryDelegationRewardsResponse): unknown; fromPartial(object: DeepPartial): QueryDelegationRewardsResponse; }; export declare const QueryDelegationTotalRewardsRequest: { encode(message: QueryDelegationTotalRewardsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest; fromJSON(object: any): QueryDelegationTotalRewardsRequest; toJSON(message: QueryDelegationTotalRewardsRequest): unknown; fromPartial(object: DeepPartial): QueryDelegationTotalRewardsRequest; }; export declare const QueryDelegationTotalRewardsResponse: { encode(message: QueryDelegationTotalRewardsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse; fromJSON(object: any): QueryDelegationTotalRewardsResponse; toJSON(message: QueryDelegationTotalRewardsResponse): unknown; fromPartial(object: DeepPartial): QueryDelegationTotalRewardsResponse; }; export declare const QueryDelegatorValidatorsRequest: { encode(message: QueryDelegatorValidatorsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest; fromJSON(object: any): QueryDelegatorValidatorsRequest; toJSON(message: QueryDelegatorValidatorsRequest): unknown; fromPartial(object: DeepPartial): QueryDelegatorValidatorsRequest; }; export declare const QueryDelegatorValidatorsResponse: { encode(message: QueryDelegatorValidatorsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse; fromJSON(object: any): QueryDelegatorValidatorsResponse; toJSON(message: QueryDelegatorValidatorsResponse): unknown; fromPartial(object: DeepPartial): QueryDelegatorValidatorsResponse; }; export declare const QueryDelegatorWithdrawAddressRequest: { encode(message: QueryDelegatorWithdrawAddressRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest; fromJSON(object: any): QueryDelegatorWithdrawAddressRequest; toJSON(message: QueryDelegatorWithdrawAddressRequest): unknown; fromPartial(object: DeepPartial): QueryDelegatorWithdrawAddressRequest; }; export declare const QueryDelegatorWithdrawAddressResponse: { encode(message: QueryDelegatorWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse; fromJSON(object: any): QueryDelegatorWithdrawAddressResponse; toJSON(message: QueryDelegatorWithdrawAddressResponse): unknown; fromPartial(object: DeepPartial): QueryDelegatorWithdrawAddressResponse; }; export declare const QueryCommunityPoolRequest: { encode(_: QueryCommunityPoolRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest; fromJSON(_: any): QueryCommunityPoolRequest; toJSON(_: QueryCommunityPoolRequest): unknown; fromPartial(_: DeepPartial): QueryCommunityPoolRequest; }; export declare const QueryCommunityPoolResponse: { encode(message: QueryCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse; fromJSON(object: any): QueryCommunityPoolResponse; toJSON(message: QueryCommunityPoolResponse): unknown; fromPartial(object: DeepPartial): QueryCommunityPoolResponse; };