import { Coin } from "../../base/v1beta1/coin"; import { ContinuousFund, Params } from "./types"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { JsonSafe } from "../../../json-safe"; import { DeepPartial, Exact, Rpc } from "../../../helpers"; export declare const protobufPackage = "cosmos.protocolpool.v1"; /** * 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: Coin[]; } /** * QueryContinuousFundRequest is the request type for the Query/ContinuousFund * RPC method. */ export interface QueryContinuousFundRequest { /** recipient is the recipient address to query unclaimed budget amount for. */ recipient: string; } /** * QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund * RPC method. */ export interface QueryContinuousFundResponse { /** ContinuousFunds is the given continuous fund returned in the query. */ continuousFund: ContinuousFund; } /** * QueryContinuousFundRequest is the request type for the Query/ContinuousFunds * RPC method. */ export interface QueryContinuousFundsRequest { } /** * QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds * RPC method. */ export interface QueryContinuousFundsResponse { /** ContinuousFunds defines all continuous funds in state. */ continuousFunds: ContinuousFund[]; } /** QueryParamsRequest is the response 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: Params; } export declare const QueryCommunityPoolRequest: { typeUrl: string; encode(_: QueryCommunityPoolRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryCommunityPoolRequest; fromJSON(_: any): QueryCommunityPoolRequest; toJSON(_: QueryCommunityPoolRequest): JsonSafe; fromPartial, I>>(_: I): QueryCommunityPoolRequest; }; export declare const QueryCommunityPoolResponse: { typeUrl: string; encode(message: QueryCommunityPoolResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryCommunityPoolResponse; fromJSON(object: any): QueryCommunityPoolResponse; toJSON(message: QueryCommunityPoolResponse): JsonSafe; fromPartial, I>>(object: I): QueryCommunityPoolResponse; }; export declare const QueryContinuousFundRequest: { typeUrl: string; encode(message: QueryContinuousFundRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundRequest; fromJSON(object: any): QueryContinuousFundRequest; toJSON(message: QueryContinuousFundRequest): JsonSafe; fromPartial, I>>(object: I): QueryContinuousFundRequest; }; export declare const QueryContinuousFundResponse: { typeUrl: string; encode(message: QueryContinuousFundResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundResponse; fromJSON(object: any): QueryContinuousFundResponse; toJSON(message: QueryContinuousFundResponse): JsonSafe; fromPartial, I>>(object: I): QueryContinuousFundResponse; }; export declare const QueryContinuousFundsRequest: { typeUrl: string; encode(_: QueryContinuousFundsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundsRequest; fromJSON(_: any): QueryContinuousFundsRequest; toJSON(_: QueryContinuousFundsRequest): JsonSafe; fromPartial, I>>(_: I): QueryContinuousFundsRequest; }; export declare const QueryContinuousFundsResponse: { typeUrl: string; encode(message: QueryContinuousFundsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundsResponse; fromJSON(object: any): QueryContinuousFundsResponse; toJSON(message: QueryContinuousFundsResponse): JsonSafe; fromPartial, I>>(object: I): QueryContinuousFundsResponse; }; export declare const QueryParamsRequest: { typeUrl: string; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): JsonSafe; fromPartial, I>>(_: I): QueryParamsRequest; }; export declare const QueryParamsResponse: { typeUrl: string; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): JsonSafe; fromPartial, I>>(object: I): QueryParamsResponse; }; /** Query defines the gRPC querier service for community pool module. */ export interface Query { /** CommunityPool queries the community pool coins. */ CommunityPool(request?: QueryCommunityPoolRequest): Promise; /** ContinuousFund queries a continuous fund by the recipient is is associated with. */ ContinuousFund(request: QueryContinuousFundRequest): Promise; /** ContinuousFunds queries all continuous funds in the store. */ ContinuousFunds(request?: QueryContinuousFundsRequest): Promise; /** Params returns the total set of x/protocolpool parameters. */ Params(request?: QueryParamsRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); CommunityPool(request?: QueryCommunityPoolRequest): Promise; ContinuousFund(request: QueryContinuousFundRequest): Promise; ContinuousFunds(request?: QueryContinuousFundsRequest): Promise; Params(request?: QueryParamsRequest): Promise; }