import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; import { Long, DeepPartial } from "@osmonauts/helpers"; /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ export interface QueryProposalRequest { /** proposal_id defines the unique id of the proposal. */ proposalId: Long; } /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ export interface QueryProposalRequestSDKType { /** proposal_id defines the unique id of the proposal. */ proposal_id: Long; } /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponse { proposal: Proposal; } /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponseSDKType { proposal: ProposalSDKType; } /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ proposalStatus?: ProposalStatus; /** voter defines the voter address for the proposals. */ voter?: string; /** depositor defines the deposit addresses from the proposals. */ depositor?: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ export interface QueryProposalsRequestSDKType { /** proposal_status defines the status of the proposals. */ proposal_status?: ProposalStatusSDKType; /** voter defines the voter address for the proposals. */ voter?: string; /** depositor defines the deposit addresses from the proposals. */ depositor?: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType; } /** * QueryProposalsResponse is the response type for the Query/Proposals RPC * method. */ export interface QueryProposalsResponse { proposals: Proposal[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** * QueryProposalsResponse is the response type for the Query/Proposals RPC * method. */ export interface QueryProposalsResponseSDKType { proposals: ProposalSDKType[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseSDKType; } /** QueryVoteRequest is the request type for the Query/Vote RPC method. */ export interface QueryVoteRequest { /** proposal_id defines the unique id of the proposal. */ proposalId: Long; /** voter defines the oter address for the proposals. */ voter: string; } /** QueryVoteRequest is the request type for the Query/Vote RPC method. */ export interface QueryVoteRequestSDKType { /** proposal_id defines the unique id of the proposal. */ proposal_id: Long; /** voter defines the oter address for the proposals. */ voter: string; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponse { /** vote defined the queried vote. */ vote: Vote; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponseSDKType { /** vote defined the queried vote. */ vote: VoteSDKType; } /** QueryVotesRequest is the request type for the Query/Votes RPC method. */ export interface QueryVotesRequest { /** proposal_id defines the unique id of the proposal. */ proposalId: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** QueryVotesRequest is the request type for the Query/Votes RPC method. */ export interface QueryVotesRequestSDKType { /** proposal_id defines the unique id of the proposal. */ proposal_id: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType; } /** QueryVotesResponse is the response type for the Query/Votes RPC method. */ export interface QueryVotesResponse { /** votes defined the queried votes. */ votes: Vote[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** QueryVotesResponse is the response type for the Query/Votes RPC method. */ export interface QueryVotesResponseSDKType { /** votes defined the queried votes. */ votes: VoteSDKType[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseSDKType; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { /** * params_type defines which parameters to query for, can be one of "voting", * "tallying" or "deposit". */ paramsType: string; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequestSDKType { /** * params_type defines which parameters to query for, can be one of "voting", * "tallying" or "deposit". */ params_type: string; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** voting_params defines the parameters related to voting. */ votingParams: VotingParams; /** deposit_params defines the parameters related to deposit. */ depositParams: DepositParams; /** tally_params defines the parameters related to tally. */ tallyParams: TallyParams; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** voting_params defines the parameters related to voting. */ voting_params: VotingParamsSDKType; /** deposit_params defines the parameters related to deposit. */ deposit_params: DepositParamsSDKType; /** tally_params defines the parameters related to tally. */ tally_params: TallyParamsSDKType; } /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ export interface QueryDepositRequest { /** proposal_id defines the unique id of the proposal. */ proposalId: Long; /** depositor defines the deposit addresses from the proposals. */ depositor: string; } /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ export interface QueryDepositRequestSDKType { /** proposal_id defines the unique id of the proposal. */ proposal_id: Long; /** depositor defines the deposit addresses from the proposals. */ depositor: string; } /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ export interface QueryDepositResponse { /** deposit defines the requested deposit. */ deposit: Deposit; } /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ export interface QueryDepositResponseSDKType { /** deposit defines the requested deposit. */ deposit: DepositSDKType; } /** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ export interface QueryDepositsRequest { /** proposal_id defines the unique id of the proposal. */ proposalId: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ export interface QueryDepositsRequestSDKType { /** proposal_id defines the unique id of the proposal. */ proposal_id: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType; } /** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ export interface QueryDepositsResponse { deposits: Deposit[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ export interface QueryDepositsResponseSDKType { deposits: DepositSDKType[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseSDKType; } /** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ export interface QueryTallyResultRequest { /** proposal_id defines the unique id of the proposal. */ proposalId: Long; } /** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ export interface QueryTallyResultRequestSDKType { /** proposal_id defines the unique id of the proposal. */ proposal_id: Long; } /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ export interface QueryTallyResultResponse { /** tally defines the requested tally. */ tally: TallyResult; } /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ export interface QueryTallyResultResponseSDKType { /** tally defines the requested tally. */ tally: TallyResultSDKType; } export declare const QueryProposalRequest: { encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest; fromPartial(object: DeepPartial): QueryProposalRequest; }; export declare const QueryProposalResponse: { encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse; fromPartial(object: DeepPartial): QueryProposalResponse; }; export declare const QueryProposalsRequest: { encode(message: QueryProposalsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest; fromPartial(object: DeepPartial): QueryProposalsRequest; }; export declare const QueryProposalsResponse: { encode(message: QueryProposalsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse; fromPartial(object: DeepPartial): QueryProposalsResponse; }; export declare const QueryVoteRequest: { encode(message: QueryVoteRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest; fromPartial(object: DeepPartial): QueryVoteRequest; }; export declare const QueryVoteResponse: { encode(message: QueryVoteResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse; fromPartial(object: DeepPartial): QueryVoteResponse; }; export declare const QueryVotesRequest: { encode(message: QueryVotesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest; fromPartial(object: DeepPartial): QueryVotesRequest; }; export declare const QueryVotesResponse: { encode(message: QueryVotesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse; fromPartial(object: DeepPartial): QueryVotesResponse; }; export declare const QueryParamsRequest: { encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; fromPartial(object: DeepPartial): QueryParamsRequest; }; export declare const QueryParamsResponse: { encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; fromPartial(object: DeepPartial): QueryParamsResponse; }; export declare const QueryDepositRequest: { encode(message: QueryDepositRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest; fromPartial(object: DeepPartial): QueryDepositRequest; }; export declare const QueryDepositResponse: { encode(message: QueryDepositResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse; fromPartial(object: DeepPartial): QueryDepositResponse; }; export declare const QueryDepositsRequest: { encode(message: QueryDepositsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest; fromPartial(object: DeepPartial): QueryDepositsRequest; }; export declare const QueryDepositsResponse: { encode(message: QueryDepositsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse; fromPartial(object: DeepPartial): QueryDepositsResponse; }; export declare const QueryTallyResultRequest: { encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest; fromPartial(object: DeepPartial): QueryTallyResultRequest; }; export declare const QueryTallyResultResponse: { encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse; fromPartial(object: DeepPartial): QueryTallyResultResponse; };