interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
980 lines (979 loc) • 37.2 kB
TypeScript
import { ProposalStatus, Proposal, ProposalAmino, Vote, VoteAmino, VotingParams, VotingParamsAmino, DepositParams, DepositParamsAmino, TallyParams, TallyParamsAmino, 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";
/**
* QueryProposalRequest is the request type for the Query/Proposal RPC method.
* @name QueryProposalRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryProposalRequest
*/
export interface QueryProposalRequest {
/**
* proposal_id defines the unique id of the proposal.
*/
proposalId: bigint;
}
export interface QueryProposalRequestProtoMsg {
typeUrl: "/cosmos.gov.v1beta1.QueryProposalRequest";
value: Uint8Array;
}
/**
* QueryProposalRequest is the request type for the Query/Proposal RPC method.
* @name QueryProposalRequestAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryProposalRequest
*/
export interface QueryProposalRequestAmino {
/**
* proposal_id defines the unique id of the proposal.
*/
proposal_id: string;
}
export interface QueryProposalRequestAminoMsg {
type: "cosmos-sdk/QueryProposalRequest";
value: QueryProposalRequestAmino;
}
/**
* QueryProposalResponse is the response type for the Query/Proposal RPC method.
* @name QueryProposalResponse
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryProposalResponse
*/
export interface QueryProposalResponse {
proposal: Proposal;
}
export interface QueryProposalResponseProtoMsg {
typeUrl: "/cosmos.gov.v1beta1.QueryProposalResponse";
value: Uint8Array;
}
/**
* QueryProposalResponse is the response type for the Query/Proposal RPC method.
* @name QueryProposalResponseAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryProposalResponse
*/
export interface QueryProposalResponseAmino {
proposal: ProposalAmino;
}
export interface QueryProposalResponseAminoMsg {
type: "cosmos-sdk/QueryProposalResponse";
value: QueryProposalResponseAmino;
}
/**
* QueryProposalsRequest is the request type for the Query/Proposals RPC method.
* @name QueryProposalsRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryProposalsRequest";
value: Uint8Array;
}
/**
* QueryProposalsRequest is the request type for the Query/Proposals RPC method.
* @name QueryProposalsRequestAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryProposalsRequest";
value: QueryProposalsRequestAmino;
}
/**
* QueryProposalsResponse is the response type for the Query/Proposals RPC
* method.
* @name QueryProposalsResponse
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryProposalsResponse";
value: Uint8Array;
}
/**
* QueryProposalsResponse is the response type for the Query/Proposals RPC
* method.
* @name QueryProposalsResponseAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryProposalsResponse";
value: QueryProposalsResponseAmino;
}
/**
* QueryVoteRequest is the request type for the Query/Vote RPC method.
* @name QueryVoteRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryVoteRequest";
value: Uint8Array;
}
/**
* QueryVoteRequest is the request type for the Query/Vote RPC method.
* @name QueryVoteRequestAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryVoteRequest";
value: QueryVoteRequestAmino;
}
/**
* QueryVoteResponse is the response type for the Query/Vote RPC method.
* @name QueryVoteResponse
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryVoteResponse
*/
export interface QueryVoteResponse {
/**
* vote defines the queried vote.
*/
vote: Vote;
}
export interface QueryVoteResponseProtoMsg {
typeUrl: "/cosmos.gov.v1beta1.QueryVoteResponse";
value: Uint8Array;
}
/**
* QueryVoteResponse is the response type for the Query/Vote RPC method.
* @name QueryVoteResponseAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryVoteResponse
*/
export interface QueryVoteResponseAmino {
/**
* vote defines the queried vote.
*/
vote: VoteAmino;
}
export interface QueryVoteResponseAminoMsg {
type: "cosmos-sdk/QueryVoteResponse";
value: QueryVoteResponseAmino;
}
/**
* QueryVotesRequest is the request type for the Query/Votes RPC method.
* @name QueryVotesRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryVotesRequest";
value: Uint8Array;
}
/**
* QueryVotesRequest is the request type for the Query/Votes RPC method.
* @name QueryVotesRequestAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryVotesRequest";
value: QueryVotesRequestAmino;
}
/**
* QueryVotesResponse is the response type for the Query/Votes RPC method.
* @name QueryVotesResponse
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryVotesResponse";
value: Uint8Array;
}
/**
* QueryVotesResponse is the response type for the Query/Votes RPC method.
* @name QueryVotesResponseAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryVotesResponse";
value: QueryVotesResponseAmino;
}
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryParamsRequest";
value: Uint8Array;
}
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequestAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryParamsRequest";
value: QueryParamsRequestAmino;
}
/**
* QueryParamsResponse is the response type for the Query/Params RPC method.
* @name QueryParamsResponse
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryParamsResponse
*/
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;
}
export interface QueryParamsResponseProtoMsg {
typeUrl: "/cosmos.gov.v1beta1.QueryParamsResponse";
value: Uint8Array;
}
/**
* QueryParamsResponse is the response type for the Query/Params RPC method.
* @name QueryParamsResponseAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryParamsResponse
*/
export interface QueryParamsResponseAmino {
/**
* voting_params defines the parameters related to voting.
*/
voting_params: VotingParamsAmino;
/**
* deposit_params defines the parameters related to deposit.
*/
deposit_params: DepositParamsAmino;
/**
* tally_params defines the parameters related to tally.
*/
tally_params: TallyParamsAmino;
}
export interface QueryParamsResponseAminoMsg {
type: "cosmos-sdk/QueryParamsResponse";
value: QueryParamsResponseAmino;
}
/**
* QueryDepositRequest is the request type for the Query/Deposit RPC method.
* @name QueryDepositRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryDepositRequest";
value: Uint8Array;
}
/**
* QueryDepositRequest is the request type for the Query/Deposit RPC method.
* @name QueryDepositRequestAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryDepositRequest";
value: QueryDepositRequestAmino;
}
/**
* QueryDepositResponse is the response type for the Query/Deposit RPC method.
* @name QueryDepositResponse
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryDepositResponse
*/
export interface QueryDepositResponse {
/**
* deposit defines the requested deposit.
*/
deposit: Deposit;
}
export interface QueryDepositResponseProtoMsg {
typeUrl: "/cosmos.gov.v1beta1.QueryDepositResponse";
value: Uint8Array;
}
/**
* QueryDepositResponse is the response type for the Query/Deposit RPC method.
* @name QueryDepositResponseAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryDepositResponse
*/
export interface QueryDepositResponseAmino {
/**
* deposit defines the requested deposit.
*/
deposit: DepositAmino;
}
export interface QueryDepositResponseAminoMsg {
type: "cosmos-sdk/QueryDepositResponse";
value: QueryDepositResponseAmino;
}
/**
* QueryDepositsRequest is the request type for the Query/Deposits RPC method.
* @name QueryDepositsRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryDepositsRequest";
value: Uint8Array;
}
/**
* QueryDepositsRequest is the request type for the Query/Deposits RPC method.
* @name QueryDepositsRequestAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryDepositsRequest";
value: QueryDepositsRequestAmino;
}
/**
* QueryDepositsResponse is the response type for the Query/Deposits RPC method.
* @name QueryDepositsResponse
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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.v1beta1.QueryDepositsResponse";
value: Uint8Array;
}
/**
* QueryDepositsResponse is the response type for the Query/Deposits RPC method.
* @name QueryDepositsResponseAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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/QueryDepositsResponse";
value: QueryDepositsResponseAmino;
}
/**
* QueryTallyResultRequest is the request type for the Query/Tally RPC method.
* @name QueryTallyResultRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryTallyResultRequest
*/
export interface QueryTallyResultRequest {
/**
* proposal_id defines the unique id of the proposal.
*/
proposalId: bigint;
}
export interface QueryTallyResultRequestProtoMsg {
typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultRequest";
value: Uint8Array;
}
/**
* QueryTallyResultRequest is the request type for the Query/Tally RPC method.
* @name QueryTallyResultRequestAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryTallyResultRequest
*/
export interface QueryTallyResultRequestAmino {
/**
* proposal_id defines the unique id of the proposal.
*/
proposal_id: string;
}
export interface QueryTallyResultRequestAminoMsg {
type: "cosmos-sdk/QueryTallyResultRequest";
value: QueryTallyResultRequestAmino;
}
/**
* QueryTallyResultResponse is the response type for the Query/Tally RPC method.
* @name QueryTallyResultResponse
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryTallyResultResponse
*/
export interface QueryTallyResultResponse {
/**
* tally defines the requested tally.
*/
tally: TallyResult;
}
export interface QueryTallyResultResponseProtoMsg {
typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultResponse";
value: Uint8Array;
}
/**
* QueryTallyResultResponse is the response type for the Query/Tally RPC method.
* @name QueryTallyResultResponseAmino
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.QueryTallyResultResponse
*/
export interface QueryTallyResultResponseAmino {
/**
* tally defines the requested tally.
*/
tally: TallyResultAmino;
}
export interface QueryTallyResultResponseAminoMsg {
type: "cosmos-sdk/QueryTallyResultResponse";
value: QueryTallyResultResponseAmino;
}
/**
* QueryProposalRequest is the request type for the Query/Proposal RPC method.
* @name QueryProposalRequest
* @package cosmos.gov.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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.v1beta1
* @see proto type: cosmos.gov.v1beta1.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>): 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;
};