import { Coin, type CoinSDKType } from '../../base/v1beta1/coin.js'; import { ContinuousFund, type ContinuousFundSDKType, Params, type ParamsSDKType } from './types.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC * method. * @name QueryCommunityPoolRequest * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryCommunityPoolRequest */ export interface QueryCommunityPoolRequest { } export interface QueryCommunityPoolRequestProtoMsg { typeUrl: '/cosmos.protocolpool.v1.QueryCommunityPoolRequest'; value: Uint8Array; } /** * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC * method. * @name QueryCommunityPoolRequestSDKType * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryCommunityPoolRequest */ export interface QueryCommunityPoolRequestSDKType { } /** * QueryCommunityPoolResponse is the response type for the Query/CommunityPool * RPC method. * @name QueryCommunityPoolResponse * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryCommunityPoolResponse */ export interface QueryCommunityPoolResponse { /** * pool defines community pool's coins. */ pool: Coin[]; } export interface QueryCommunityPoolResponseProtoMsg { typeUrl: '/cosmos.protocolpool.v1.QueryCommunityPoolResponse'; value: Uint8Array; } /** * QueryCommunityPoolResponse is the response type for the Query/CommunityPool * RPC method. * @name QueryCommunityPoolResponseSDKType * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryCommunityPoolResponse */ export interface QueryCommunityPoolResponseSDKType { pool: CoinSDKType[]; } /** * QueryContinuousFundRequest is the request type for the Query/ContinuousFund * RPC method. * @name QueryContinuousFundRequest * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundRequest */ export interface QueryContinuousFundRequest { /** * recipient is the recipient address to query unclaimed budget amount for. */ recipient: string; } export interface QueryContinuousFundRequestProtoMsg { typeUrl: '/cosmos.protocolpool.v1.QueryContinuousFundRequest'; value: Uint8Array; } /** * QueryContinuousFundRequest is the request type for the Query/ContinuousFund * RPC method. * @name QueryContinuousFundRequestSDKType * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundRequest */ export interface QueryContinuousFundRequestSDKType { recipient: string; } /** * QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund * RPC method. * @name QueryContinuousFundResponse * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundResponse */ export interface QueryContinuousFundResponse { /** * ContinuousFunds is the given continuous fund returned in the query. */ continuousFund: ContinuousFund; } export interface QueryContinuousFundResponseProtoMsg { typeUrl: '/cosmos.protocolpool.v1.QueryContinuousFundResponse'; value: Uint8Array; } /** * QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund * RPC method. * @name QueryContinuousFundResponseSDKType * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundResponse */ export interface QueryContinuousFundResponseSDKType { continuous_fund: ContinuousFundSDKType; } /** * QueryContinuousFundRequest is the request type for the Query/ContinuousFunds * RPC method. * @name QueryContinuousFundsRequest * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundsRequest */ export interface QueryContinuousFundsRequest { } export interface QueryContinuousFundsRequestProtoMsg { typeUrl: '/cosmos.protocolpool.v1.QueryContinuousFundsRequest'; value: Uint8Array; } /** * QueryContinuousFundRequest is the request type for the Query/ContinuousFunds * RPC method. * @name QueryContinuousFundsRequestSDKType * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundsRequest */ export interface QueryContinuousFundsRequestSDKType { } /** * QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds * RPC method. * @name QueryContinuousFundsResponse * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundsResponse */ export interface QueryContinuousFundsResponse { /** * ContinuousFunds defines all continuous funds in state. */ continuousFunds: ContinuousFund[]; } export interface QueryContinuousFundsResponseProtoMsg { typeUrl: '/cosmos.protocolpool.v1.QueryContinuousFundsResponse'; value: Uint8Array; } /** * QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds * RPC method. * @name QueryContinuousFundsResponseSDKType * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundsResponse */ export interface QueryContinuousFundsResponseSDKType { continuous_funds: ContinuousFundSDKType[]; } /** * QueryParamsRequest is the response type for the Query/Params RPC method. * @name QueryParamsRequest * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryParamsRequest */ export interface QueryParamsRequest { } export interface QueryParamsRequestProtoMsg { typeUrl: '/cosmos.protocolpool.v1.QueryParamsRequest'; value: Uint8Array; } /** * QueryParamsRequest is the response type for the Query/Params RPC method. * @name QueryParamsRequestSDKType * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryParamsRequest */ export interface QueryParamsRequestSDKType { } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponse * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryParamsResponse */ export interface QueryParamsResponse { params: Params; } export interface QueryParamsResponseProtoMsg { typeUrl: '/cosmos.protocolpool.v1.QueryParamsResponse'; value: Uint8Array; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponseSDKType * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryParamsResponse */ export interface QueryParamsResponseSDKType { params: ParamsSDKType; } /** * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC * method. * @name QueryCommunityPoolRequest * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryCommunityPoolRequest */ export declare const QueryCommunityPoolRequest: { typeUrl: "/cosmos.protocolpool.v1.QueryCommunityPoolRequest"; aminoType: "cosmos-sdk/QueryCommunityPoolRequest"; is(o: any): o is QueryCommunityPoolRequest; isSDK(o: any): o is QueryCommunityPoolRequestSDKType; encode(_: QueryCommunityPoolRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryCommunityPoolRequest; fromJSON(_: any): QueryCommunityPoolRequest; toJSON(_: QueryCommunityPoolRequest): JsonSafe; fromPartial(_: Partial): QueryCommunityPoolRequest; fromProtoMsg(message: QueryCommunityPoolRequestProtoMsg): QueryCommunityPoolRequest; toProto(message: QueryCommunityPoolRequest): Uint8Array; toProtoMsg(message: QueryCommunityPoolRequest): QueryCommunityPoolRequestProtoMsg; }; /** * QueryCommunityPoolResponse is the response type for the Query/CommunityPool * RPC method. * @name QueryCommunityPoolResponse * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryCommunityPoolResponse */ export declare const QueryCommunityPoolResponse: { typeUrl: "/cosmos.protocolpool.v1.QueryCommunityPoolResponse"; aminoType: "cosmos-sdk/QueryCommunityPoolResponse"; is(o: any): o is QueryCommunityPoolResponse; isSDK(o: any): o is QueryCommunityPoolResponseSDKType; encode(message: QueryCommunityPoolResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryCommunityPoolResponse; fromJSON(object: any): QueryCommunityPoolResponse; toJSON(message: QueryCommunityPoolResponse): JsonSafe; fromPartial(object: Partial): QueryCommunityPoolResponse; fromProtoMsg(message: QueryCommunityPoolResponseProtoMsg): QueryCommunityPoolResponse; toProto(message: QueryCommunityPoolResponse): Uint8Array; toProtoMsg(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseProtoMsg; }; /** * QueryContinuousFundRequest is the request type for the Query/ContinuousFund * RPC method. * @name QueryContinuousFundRequest * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundRequest */ export declare const QueryContinuousFundRequest: { typeUrl: "/cosmos.protocolpool.v1.QueryContinuousFundRequest"; aminoType: "cosmos-sdk/QueryContinuousFundRequest"; is(o: any): o is QueryContinuousFundRequest; isSDK(o: any): o is QueryContinuousFundRequestSDKType; encode(message: QueryContinuousFundRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundRequest; fromJSON(object: any): QueryContinuousFundRequest; toJSON(message: QueryContinuousFundRequest): JsonSafe; fromPartial(object: Partial): QueryContinuousFundRequest; fromProtoMsg(message: QueryContinuousFundRequestProtoMsg): QueryContinuousFundRequest; toProto(message: QueryContinuousFundRequest): Uint8Array; toProtoMsg(message: QueryContinuousFundRequest): QueryContinuousFundRequestProtoMsg; }; /** * QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund * RPC method. * @name QueryContinuousFundResponse * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundResponse */ export declare const QueryContinuousFundResponse: { typeUrl: "/cosmos.protocolpool.v1.QueryContinuousFundResponse"; aminoType: "cosmos-sdk/QueryContinuousFundResponse"; is(o: any): o is QueryContinuousFundResponse; isSDK(o: any): o is QueryContinuousFundResponseSDKType; encode(message: QueryContinuousFundResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundResponse; fromJSON(object: any): QueryContinuousFundResponse; toJSON(message: QueryContinuousFundResponse): JsonSafe; fromPartial(object: Partial): QueryContinuousFundResponse; fromProtoMsg(message: QueryContinuousFundResponseProtoMsg): QueryContinuousFundResponse; toProto(message: QueryContinuousFundResponse): Uint8Array; toProtoMsg(message: QueryContinuousFundResponse): QueryContinuousFundResponseProtoMsg; }; /** * QueryContinuousFundRequest is the request type for the Query/ContinuousFunds * RPC method. * @name QueryContinuousFundsRequest * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundsRequest */ export declare const QueryContinuousFundsRequest: { typeUrl: "/cosmos.protocolpool.v1.QueryContinuousFundsRequest"; aminoType: "cosmos-sdk/QueryContinuousFundsRequest"; is(o: any): o is QueryContinuousFundsRequest; isSDK(o: any): o is QueryContinuousFundsRequestSDKType; encode(_: QueryContinuousFundsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundsRequest; fromJSON(_: any): QueryContinuousFundsRequest; toJSON(_: QueryContinuousFundsRequest): JsonSafe; fromPartial(_: Partial): QueryContinuousFundsRequest; fromProtoMsg(message: QueryContinuousFundsRequestProtoMsg): QueryContinuousFundsRequest; toProto(message: QueryContinuousFundsRequest): Uint8Array; toProtoMsg(message: QueryContinuousFundsRequest): QueryContinuousFundsRequestProtoMsg; }; /** * QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds * RPC method. * @name QueryContinuousFundsResponse * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryContinuousFundsResponse */ export declare const QueryContinuousFundsResponse: { typeUrl: "/cosmos.protocolpool.v1.QueryContinuousFundsResponse"; aminoType: "cosmos-sdk/QueryContinuousFundsResponse"; is(o: any): o is QueryContinuousFundsResponse; isSDK(o: any): o is QueryContinuousFundsResponseSDKType; encode(message: QueryContinuousFundsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryContinuousFundsResponse; fromJSON(object: any): QueryContinuousFundsResponse; toJSON(message: QueryContinuousFundsResponse): JsonSafe; fromPartial(object: Partial): QueryContinuousFundsResponse; fromProtoMsg(message: QueryContinuousFundsResponseProtoMsg): QueryContinuousFundsResponse; toProto(message: QueryContinuousFundsResponse): Uint8Array; toProtoMsg(message: QueryContinuousFundsResponse): QueryContinuousFundsResponseProtoMsg; }; /** * QueryParamsRequest is the response type for the Query/Params RPC method. * @name QueryParamsRequest * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryParamsRequest */ export declare const QueryParamsRequest: { typeUrl: "/cosmos.protocolpool.v1.QueryParamsRequest"; aminoType: "cosmos-sdk/QueryParamsRequest"; is(o: any): o is QueryParamsRequest; isSDK(o: any): o is QueryParamsRequestSDKType; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): JsonSafe; fromPartial(_: Partial): QueryParamsRequest; fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; toProto(message: QueryParamsRequest): Uint8Array; toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; }; /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponse * @package cosmos.protocolpool.v1 * @see proto type: cosmos.protocolpool.v1.QueryParamsResponse */ export declare const QueryParamsResponse: { typeUrl: "/cosmos.protocolpool.v1.QueryParamsResponse"; aminoType: "cosmos-sdk/QueryParamsResponse"; is(o: any): o is QueryParamsResponse; isSDK(o: any): o is QueryParamsResponseSDKType; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): JsonSafe; fromPartial(object: Partial): QueryParamsResponse; fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; toProto(message: QueryParamsResponse): Uint8Array; toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; }; //# sourceMappingURL=query.d.ts.map