import { ProposalStatus, Proposal, ProposalAmino, Vote, VoteAmino, VotingParams, VotingParamsAmino, DepositParams, DepositParamsAmino, TallyParams, TallyParamsAmino, Params, ParamsAmino, Deposit, DepositAmino, TallyResult, TallyResultAmino } from "./gov"; import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * QueryConstitutionRequest is the request type for the Query/Constitution RPC method * @name QueryConstitutionRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryConstitutionRequest */ export interface QueryConstitutionRequest { } export interface QueryConstitutionRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryConstitutionRequest"; value: Uint8Array; } /** * QueryConstitutionRequest is the request type for the Query/Constitution RPC method * @name QueryConstitutionRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryConstitutionRequest */ export interface QueryConstitutionRequestAmino { } export interface QueryConstitutionRequestAminoMsg { type: "cosmos-sdk/v1/QueryConstitutionRequest"; value: QueryConstitutionRequestAmino; } /** * QueryConstitutionResponse is the response type for the Query/Constitution RPC method * @name QueryConstitutionResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryConstitutionResponse */ export interface QueryConstitutionResponse { constitution: string; } export interface QueryConstitutionResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryConstitutionResponse"; value: Uint8Array; } /** * QueryConstitutionResponse is the response type for the Query/Constitution RPC method * @name QueryConstitutionResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryConstitutionResponse */ export interface QueryConstitutionResponseAmino { constitution: string; } export interface QueryConstitutionResponseAminoMsg { type: "cosmos-sdk/v1/QueryConstitutionResponse"; value: QueryConstitutionResponseAmino; } /** * QueryProposalRequest is the request type for the Query/Proposal RPC method. * @name QueryProposalRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalRequest */ export interface QueryProposalRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; } export interface QueryProposalRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryProposalRequest"; value: Uint8Array; } /** * QueryProposalRequest is the request type for the Query/Proposal RPC method. * @name QueryProposalRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalRequest */ export interface QueryProposalRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; } export interface QueryProposalRequestAminoMsg { type: "cosmos-sdk/v1/QueryProposalRequest"; value: QueryProposalRequestAmino; } /** * QueryProposalResponse is the response type for the Query/Proposal RPC method. * @name QueryProposalResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalResponse */ export interface QueryProposalResponse { /** * proposal is the requested governance proposal. */ proposal?: Proposal; } export interface QueryProposalResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryProposalResponse"; value: Uint8Array; } /** * QueryProposalResponse is the response type for the Query/Proposal RPC method. * @name QueryProposalResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalResponse */ export interface QueryProposalResponseAmino { /** * proposal is the requested governance proposal. */ proposal?: ProposalAmino; } export interface QueryProposalResponseAminoMsg { type: "cosmos-sdk/v1/QueryProposalResponse"; value: QueryProposalResponseAmino; } /** * QueryProposalsRequest is the request type for the Query/Proposals RPC method. * @name QueryProposalsRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalsRequest */ 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; } export interface QueryProposalsRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryProposalsRequest"; value: Uint8Array; } /** * QueryProposalsRequest is the request type for the Query/Proposals RPC method. * @name QueryProposalsRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalsRequest */ export interface QueryProposalsRequestAmino { /** * proposal_status defines the status of the proposals. */ proposal_status: 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?: PageRequestAmino; } export interface QueryProposalsRequestAminoMsg { type: "cosmos-sdk/v1/QueryProposalsRequest"; value: QueryProposalsRequestAmino; } /** * QueryProposalsResponse is the response type for the Query/Proposals RPC * method. * @name QueryProposalsResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalsResponse */ export interface QueryProposalsResponse { /** * proposals defines all the requested governance proposals. */ proposals: Proposal[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryProposalsResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryProposalsResponse"; value: Uint8Array; } /** * QueryProposalsResponse is the response type for the Query/Proposals RPC * method. * @name QueryProposalsResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalsResponse */ export interface QueryProposalsResponseAmino { /** * proposals defines all the requested governance proposals. */ proposals: ProposalAmino[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponseAmino; } export interface QueryProposalsResponseAminoMsg { type: "cosmos-sdk/v1/QueryProposalsResponse"; value: QueryProposalsResponseAmino; } /** * QueryVoteRequest is the request type for the Query/Vote RPC method. * @name QueryVoteRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVoteRequest */ export interface QueryVoteRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** * voter defines the voter address for the proposals. */ voter: string; } export interface QueryVoteRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryVoteRequest"; value: Uint8Array; } /** * QueryVoteRequest is the request type for the Query/Vote RPC method. * @name QueryVoteRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVoteRequest */ export interface QueryVoteRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; /** * voter defines the voter address for the proposals. */ voter: string; } export interface QueryVoteRequestAminoMsg { type: "cosmos-sdk/v1/QueryVoteRequest"; value: QueryVoteRequestAmino; } /** * QueryVoteResponse is the response type for the Query/Vote RPC method. * @name QueryVoteResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVoteResponse */ export interface QueryVoteResponse { /** * vote defines the queried vote. */ vote?: Vote; } export interface QueryVoteResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryVoteResponse"; value: Uint8Array; } /** * QueryVoteResponse is the response type for the Query/Vote RPC method. * @name QueryVoteResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVoteResponse */ export interface QueryVoteResponseAmino { /** * vote defines the queried vote. */ vote?: VoteAmino; } export interface QueryVoteResponseAminoMsg { type: "cosmos-sdk/v1/QueryVoteResponse"; value: QueryVoteResponseAmino; } /** * QueryVotesRequest is the request type for the Query/Votes RPC method. * @name QueryVotesRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVotesRequest */ export interface QueryVotesRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryVotesRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryVotesRequest"; value: Uint8Array; } /** * QueryVotesRequest is the request type for the Query/Votes RPC method. * @name QueryVotesRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVotesRequest */ export interface QueryVotesRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequestAmino; } export interface QueryVotesRequestAminoMsg { type: "cosmos-sdk/v1/QueryVotesRequest"; value: QueryVotesRequestAmino; } /** * QueryVotesResponse is the response type for the Query/Votes RPC method. * @name QueryVotesResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVotesResponse */ export interface QueryVotesResponse { /** * votes defines the queried votes. */ votes: Vote[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryVotesResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryVotesResponse"; value: Uint8Array; } /** * QueryVotesResponse is the response type for the Query/Votes RPC method. * @name QueryVotesResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVotesResponse */ export interface QueryVotesResponseAmino { /** * votes defines the queried votes. */ votes: VoteAmino[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponseAmino; } export interface QueryVotesResponseAminoMsg { type: "cosmos-sdk/v1/QueryVotesResponse"; value: QueryVotesResponseAmino; } /** * QueryParamsRequest is the request type for the Query/Params RPC method. * @name QueryParamsRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryParamsRequest */ export interface QueryParamsRequest { /** * params_type defines which parameters to query for, can be one of "voting", * "tallying" or "deposit". */ paramsType: string; } export interface QueryParamsRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryParamsRequest"; value: Uint8Array; } /** * QueryParamsRequest is the request type for the Query/Params RPC method. * @name QueryParamsRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryParamsRequest */ export interface QueryParamsRequestAmino { /** * params_type defines which parameters to query for, can be one of "voting", * "tallying" or "deposit". */ params_type: string; } export interface QueryParamsRequestAminoMsg { type: "cosmos-sdk/v1/QueryParamsRequest"; value: QueryParamsRequestAmino; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryParamsResponse */ export interface QueryParamsResponse { /** * Deprecated: Prefer to use `params` instead. * voting_params defines the parameters related to voting. * @deprecated */ votingParams?: VotingParams; /** * Deprecated: Prefer to use `params` instead. * deposit_params defines the parameters related to deposit. * @deprecated */ depositParams?: DepositParams; /** * Deprecated: Prefer to use `params` instead. * tally_params defines the parameters related to tally. * @deprecated */ tallyParams?: TallyParams; /** * params defines all the paramaters of x/gov module. */ params?: Params; } export interface QueryParamsResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryParamsResponse"; value: Uint8Array; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryParamsResponse */ export interface QueryParamsResponseAmino { /** * Deprecated: Prefer to use `params` instead. * voting_params defines the parameters related to voting. * @deprecated */ voting_params?: VotingParamsAmino; /** * Deprecated: Prefer to use `params` instead. * deposit_params defines the parameters related to deposit. * @deprecated */ deposit_params?: DepositParamsAmino; /** * Deprecated: Prefer to use `params` instead. * tally_params defines the parameters related to tally. * @deprecated */ tally_params?: TallyParamsAmino; /** * params defines all the paramaters of x/gov module. */ params?: ParamsAmino; } export interface QueryParamsResponseAminoMsg { type: "cosmos-sdk/v1/QueryParamsResponse"; value: QueryParamsResponseAmino; } /** * QueryDepositRequest is the request type for the Query/Deposit RPC method. * @name QueryDepositRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositRequest */ export interface QueryDepositRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** * depositor defines the deposit addresses from the proposals. */ depositor: string; } export interface QueryDepositRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryDepositRequest"; value: Uint8Array; } /** * QueryDepositRequest is the request type for the Query/Deposit RPC method. * @name QueryDepositRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositRequest */ export interface QueryDepositRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; /** * depositor defines the deposit addresses from the proposals. */ depositor: string; } export interface QueryDepositRequestAminoMsg { type: "cosmos-sdk/v1/QueryDepositRequest"; value: QueryDepositRequestAmino; } /** * QueryDepositResponse is the response type for the Query/Deposit RPC method. * @name QueryDepositResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositResponse */ export interface QueryDepositResponse { /** * deposit defines the requested deposit. */ deposit?: Deposit; } export interface QueryDepositResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryDepositResponse"; value: Uint8Array; } /** * QueryDepositResponse is the response type for the Query/Deposit RPC method. * @name QueryDepositResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositResponse */ export interface QueryDepositResponseAmino { /** * deposit defines the requested deposit. */ deposit?: DepositAmino; } export interface QueryDepositResponseAminoMsg { type: "cosmos-sdk/v1/QueryDepositResponse"; value: QueryDepositResponseAmino; } /** * QueryDepositsRequest is the request type for the Query/Deposits RPC method. * @name QueryDepositsRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositsRequest */ export interface QueryDepositsRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryDepositsRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryDepositsRequest"; value: Uint8Array; } /** * QueryDepositsRequest is the request type for the Query/Deposits RPC method. * @name QueryDepositsRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositsRequest */ export interface QueryDepositsRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequestAmino; } export interface QueryDepositsRequestAminoMsg { type: "cosmos-sdk/v1/QueryDepositsRequest"; value: QueryDepositsRequestAmino; } /** * QueryDepositsResponse is the response type for the Query/Deposits RPC method. * @name QueryDepositsResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositsResponse */ export interface QueryDepositsResponse { /** * deposits defines the requested deposits. */ deposits: Deposit[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryDepositsResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryDepositsResponse"; value: Uint8Array; } /** * QueryDepositsResponse is the response type for the Query/Deposits RPC method. * @name QueryDepositsResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositsResponse */ export interface QueryDepositsResponseAmino { /** * deposits defines the requested deposits. */ deposits: DepositAmino[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponseAmino; } export interface QueryDepositsResponseAminoMsg { type: "cosmos-sdk/v1/QueryDepositsResponse"; value: QueryDepositsResponseAmino; } /** * QueryTallyResultRequest is the request type for the Query/Tally RPC method. * @name QueryTallyResultRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryTallyResultRequest */ export interface QueryTallyResultRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; } export interface QueryTallyResultRequestProtoMsg { typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest"; value: Uint8Array; } /** * QueryTallyResultRequest is the request type for the Query/Tally RPC method. * @name QueryTallyResultRequestAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryTallyResultRequest */ export interface QueryTallyResultRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; } export interface QueryTallyResultRequestAminoMsg { type: "cosmos-sdk/v1/QueryTallyResultRequest"; value: QueryTallyResultRequestAmino; } /** * QueryTallyResultResponse is the response type for the Query/Tally RPC method. * @name QueryTallyResultResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryTallyResultResponse */ export interface QueryTallyResultResponse { /** * tally defines the requested tally. */ tally?: TallyResult; } export interface QueryTallyResultResponseProtoMsg { typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse"; value: Uint8Array; } /** * QueryTallyResultResponse is the response type for the Query/Tally RPC method. * @name QueryTallyResultResponseAmino * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryTallyResultResponse */ export interface QueryTallyResultResponseAmino { /** * tally defines the requested tally. */ tally?: TallyResultAmino; } export interface QueryTallyResultResponseAminoMsg { type: "cosmos-sdk/v1/QueryTallyResultResponse"; value: QueryTallyResultResponseAmino; } /** * QueryConstitutionRequest is the request type for the Query/Constitution RPC method * @name QueryConstitutionRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryConstitutionRequest */ export declare const QueryConstitutionRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryConstitutionRequest; isAmino(o: any): o is QueryConstitutionRequestAmino; encode(_: QueryConstitutionRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryConstitutionRequest; fromPartial(_: DeepPartial): QueryConstitutionRequest; fromAmino(_: QueryConstitutionRequestAmino): QueryConstitutionRequest; toAmino(_: QueryConstitutionRequest): QueryConstitutionRequestAmino; fromAminoMsg(object: QueryConstitutionRequestAminoMsg): QueryConstitutionRequest; toAminoMsg(message: QueryConstitutionRequest): QueryConstitutionRequestAminoMsg; fromProtoMsg(message: QueryConstitutionRequestProtoMsg): QueryConstitutionRequest; toProto(message: QueryConstitutionRequest): Uint8Array; toProtoMsg(message: QueryConstitutionRequest): QueryConstitutionRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryConstitutionResponse is the response type for the Query/Constitution RPC method * @name QueryConstitutionResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryConstitutionResponse */ export declare const QueryConstitutionResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryConstitutionResponse; isAmino(o: any): o is QueryConstitutionResponseAmino; encode(message: QueryConstitutionResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryConstitutionResponse; fromPartial(object: DeepPartial): QueryConstitutionResponse; fromAmino(object: QueryConstitutionResponseAmino): QueryConstitutionResponse; toAmino(message: QueryConstitutionResponse): QueryConstitutionResponseAmino; fromAminoMsg(object: QueryConstitutionResponseAminoMsg): QueryConstitutionResponse; toAminoMsg(message: QueryConstitutionResponse): QueryConstitutionResponseAminoMsg; fromProtoMsg(message: QueryConstitutionResponseProtoMsg): QueryConstitutionResponse; toProto(message: QueryConstitutionResponse): Uint8Array; toProtoMsg(message: QueryConstitutionResponse): QueryConstitutionResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryProposalRequest is the request type for the Query/Proposal RPC method. * @name QueryProposalRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalRequest */ export declare const QueryProposalRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryProposalRequest; isAmino(o: any): o is QueryProposalRequestAmino; encode(message: QueryProposalRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalRequest; fromPartial(object: DeepPartial): QueryProposalRequest; fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest; toAmino(message: QueryProposalRequest): QueryProposalRequestAmino; fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest; toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg; fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest; toProto(message: QueryProposalRequest): Uint8Array; toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryProposalResponse is the response type for the Query/Proposal RPC method. * @name QueryProposalResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalResponse */ export declare const QueryProposalResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryProposalResponse; isAmino(o: any): o is QueryProposalResponseAmino; encode(message: QueryProposalResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalResponse; fromPartial(object: DeepPartial): QueryProposalResponse; fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse; toAmino(message: QueryProposalResponse): QueryProposalResponseAmino; fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse; toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg; fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse; toProto(message: QueryProposalResponse): Uint8Array; toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryProposalsRequest is the request type for the Query/Proposals RPC method. * @name QueryProposalsRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalsRequest */ export declare const QueryProposalsRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryProposalsRequest; isAmino(o: any): o is QueryProposalsRequestAmino; encode(message: QueryProposalsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsRequest; fromPartial(object: DeepPartial): QueryProposalsRequest; fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest; toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino; fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest; toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg; fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest; toProto(message: QueryProposalsRequest): Uint8Array; toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryProposalsResponse is the response type for the Query/Proposals RPC * method. * @name QueryProposalsResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryProposalsResponse */ export declare const QueryProposalsResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryProposalsResponse; isAmino(o: any): o is QueryProposalsResponseAmino; encode(message: QueryProposalsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsResponse; fromPartial(object: DeepPartial): QueryProposalsResponse; fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse; toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino; fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse; toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg; fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse; toProto(message: QueryProposalsResponse): Uint8Array; toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryVoteRequest is the request type for the Query/Vote RPC method. * @name QueryVoteRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVoteRequest */ export declare const QueryVoteRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryVoteRequest; isAmino(o: any): o is QueryVoteRequestAmino; encode(message: QueryVoteRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteRequest; fromPartial(object: DeepPartial): QueryVoteRequest; fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest; toAmino(message: QueryVoteRequest): QueryVoteRequestAmino; fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest; toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg; fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest; toProto(message: QueryVoteRequest): Uint8Array; toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryVoteResponse is the response type for the Query/Vote RPC method. * @name QueryVoteResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVoteResponse */ export declare const QueryVoteResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryVoteResponse; isAmino(o: any): o is QueryVoteResponseAmino; encode(message: QueryVoteResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteResponse; fromPartial(object: DeepPartial): QueryVoteResponse; fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse; toAmino(message: QueryVoteResponse): QueryVoteResponseAmino; fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse; toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg; fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse; toProto(message: QueryVoteResponse): Uint8Array; toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryVotesRequest is the request type for the Query/Votes RPC method. * @name QueryVotesRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVotesRequest */ export declare const QueryVotesRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryVotesRequest; isAmino(o: any): o is QueryVotesRequestAmino; encode(message: QueryVotesRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesRequest; fromPartial(object: DeepPartial): QueryVotesRequest; fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest; toAmino(message: QueryVotesRequest): QueryVotesRequestAmino; fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest; toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg; fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest; toProto(message: QueryVotesRequest): Uint8Array; toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryVotesResponse is the response type for the Query/Votes RPC method. * @name QueryVotesResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryVotesResponse */ export declare const QueryVotesResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryVotesResponse; isAmino(o: any): o is QueryVotesResponseAmino; encode(message: QueryVotesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesResponse; fromPartial(object: DeepPartial): QueryVotesResponse; fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse; toAmino(message: QueryVotesResponse): QueryVotesResponseAmino; fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse; toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg; fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse; toProto(message: QueryVotesResponse): Uint8Array; toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryParamsRequest is the request type for the Query/Params RPC method. * @name QueryParamsRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryParamsRequest */ export declare const QueryParamsRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryParamsRequest; isAmino(o: any): o is QueryParamsRequestAmino; encode(message: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromPartial(object: DeepPartial): QueryParamsRequest; fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; toProto(message: QueryParamsRequest): Uint8Array; toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryParamsResponse */ export declare const QueryParamsResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryParamsResponse; isAmino(o: any): o is QueryParamsResponseAmino; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromPartial(object: DeepPartial): QueryParamsResponse; fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; toProto(message: QueryParamsResponse): Uint8Array; toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryDepositRequest is the request type for the Query/Deposit RPC method. * @name QueryDepositRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositRequest */ export declare const QueryDepositRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryDepositRequest; isAmino(o: any): o is QueryDepositRequestAmino; encode(message: QueryDepositRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositRequest; fromPartial(object: DeepPartial): QueryDepositRequest; fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest; toAmino(message: QueryDepositRequest): QueryDepositRequestAmino; fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest; toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg; fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest; toProto(message: QueryDepositRequest): Uint8Array; toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryDepositResponse is the response type for the Query/Deposit RPC method. * @name QueryDepositResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositResponse */ export declare const QueryDepositResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryDepositResponse; isAmino(o: any): o is QueryDepositResponseAmino; encode(message: QueryDepositResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositResponse; fromPartial(object: DeepPartial): QueryDepositResponse; fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse; toAmino(message: QueryDepositResponse): QueryDepositResponseAmino; fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse; toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg; fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse; toProto(message: QueryDepositResponse): Uint8Array; toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryDepositsRequest is the request type for the Query/Deposits RPC method. * @name QueryDepositsRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositsRequest */ export declare const QueryDepositsRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryDepositsRequest; isAmino(o: any): o is QueryDepositsRequestAmino; encode(message: QueryDepositsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsRequest; fromPartial(object: DeepPartial): QueryDepositsRequest; fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest; toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino; fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest; toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg; fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest; toProto(message: QueryDepositsRequest): Uint8Array; toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryDepositsResponse is the response type for the Query/Deposits RPC method. * @name QueryDepositsResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryDepositsResponse */ export declare const QueryDepositsResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryDepositsResponse; isAmino(o: any): o is QueryDepositsResponseAmino; encode(message: QueryDepositsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsResponse; fromPartial(object: DeepPartial): QueryDepositsResponse; fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse; toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino; fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse; toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg; fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse; toProto(message: QueryDepositsResponse): Uint8Array; toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryTallyResultRequest is the request type for the Query/Tally RPC method. * @name QueryTallyResultRequest * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryTallyResultRequest */ export declare const QueryTallyResultRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryTallyResultRequest; isAmino(o: any): o is QueryTallyResultRequestAmino; encode(message: QueryTallyResultRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultRequest; fromPartial(object: DeepPartial): QueryTallyResultRequest; fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest; toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino; fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest; toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg; fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest; toProto(message: QueryTallyResultRequest): Uint8Array; toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryTallyResultResponse is the response type for the Query/Tally RPC method. * @name QueryTallyResultResponse * @package cosmos.gov.v1 * @see proto type: cosmos.gov.v1.QueryTallyResultResponse */ export declare const QueryTallyResultResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryTallyResultResponse; isAmino(o: any): o is QueryTallyResultResponseAmino; encode(message: QueryTallyResultResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultResponse; fromPartial(object: DeepPartial): QueryTallyResultResponse; fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse; toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino; fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse; toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg; fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse; toProto(message: QueryTallyResultResponse): Uint8Array; toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg; registerTypeUrl(): void; };