interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
562 lines (561 loc) • 24.1 kB
TypeScript
import { Plan, PlanAmino, ModuleVersion, ModuleVersionAmino } from "./upgrade";
import { BinaryReader, BinaryWriter } from "../../../binary";
import { DeepPartial } from "../../../helpers";
/**
* QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC
* method.
* @name QueryCurrentPlanRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryCurrentPlanRequest
*/
export interface QueryCurrentPlanRequest {
}
export interface QueryCurrentPlanRequestProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanRequest";
value: Uint8Array;
}
/**
* QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC
* method.
* @name QueryCurrentPlanRequestAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryCurrentPlanRequest
*/
export interface QueryCurrentPlanRequestAmino {
}
export interface QueryCurrentPlanRequestAminoMsg {
type: "cosmos-sdk/QueryCurrentPlanRequest";
value: QueryCurrentPlanRequestAmino;
}
/**
* QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC
* method.
* @name QueryCurrentPlanResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryCurrentPlanResponse
*/
export interface QueryCurrentPlanResponse {
/**
* plan is the current upgrade plan.
*/
plan?: Plan;
}
export interface QueryCurrentPlanResponseProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse";
value: Uint8Array;
}
/**
* QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC
* method.
* @name QueryCurrentPlanResponseAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryCurrentPlanResponse
*/
export interface QueryCurrentPlanResponseAmino {
/**
* plan is the current upgrade plan.
*/
plan?: PlanAmino;
}
export interface QueryCurrentPlanResponseAminoMsg {
type: "cosmos-sdk/QueryCurrentPlanResponse";
value: QueryCurrentPlanResponseAmino;
}
/**
* QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC
* method.
* @name QueryAppliedPlanRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAppliedPlanRequest
*/
export interface QueryAppliedPlanRequest {
/**
* name is the name of the applied plan to query for.
*/
name: string;
}
export interface QueryAppliedPlanRequestProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanRequest";
value: Uint8Array;
}
/**
* QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC
* method.
* @name QueryAppliedPlanRequestAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAppliedPlanRequest
*/
export interface QueryAppliedPlanRequestAmino {
/**
* name is the name of the applied plan to query for.
*/
name: string;
}
export interface QueryAppliedPlanRequestAminoMsg {
type: "cosmos-sdk/QueryAppliedPlanRequest";
value: QueryAppliedPlanRequestAmino;
}
/**
* QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC
* method.
* @name QueryAppliedPlanResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAppliedPlanResponse
*/
export interface QueryAppliedPlanResponse {
/**
* height is the block height at which the plan was applied.
*/
height: bigint;
}
export interface QueryAppliedPlanResponseProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse";
value: Uint8Array;
}
/**
* QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC
* method.
* @name QueryAppliedPlanResponseAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAppliedPlanResponse
*/
export interface QueryAppliedPlanResponseAmino {
/**
* height is the block height at which the plan was applied.
*/
height: string;
}
export interface QueryAppliedPlanResponseAminoMsg {
type: "cosmos-sdk/QueryAppliedPlanResponse";
value: QueryAppliedPlanResponseAmino;
}
/**
* QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState
* RPC method.
* @name QueryUpgradedConsensusStateRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest
* @deprecated
*/
export interface QueryUpgradedConsensusStateRequest {
/**
* last height of the current chain must be sent in request
* as this is the height under which next consensus state is stored
*/
lastHeight: bigint;
}
export interface QueryUpgradedConsensusStateRequestProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest";
value: Uint8Array;
}
/**
* QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState
* RPC method.
* @name QueryUpgradedConsensusStateRequestAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest
* @deprecated
*/
export interface QueryUpgradedConsensusStateRequestAmino {
/**
* last height of the current chain must be sent in request
* as this is the height under which next consensus state is stored
*/
last_height: string;
}
export interface QueryUpgradedConsensusStateRequestAminoMsg {
type: "cosmos-sdk/QueryUpgradedConsensusStateRequest";
value: QueryUpgradedConsensusStateRequestAmino;
}
/**
* QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState
* RPC method.
* @name QueryUpgradedConsensusStateResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse
* @deprecated
*/
export interface QueryUpgradedConsensusStateResponse {
upgradedConsensusState: Uint8Array;
}
export interface QueryUpgradedConsensusStateResponseProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse";
value: Uint8Array;
}
/**
* QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState
* RPC method.
* @name QueryUpgradedConsensusStateResponseAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse
* @deprecated
*/
export interface QueryUpgradedConsensusStateResponseAmino {
upgraded_consensus_state: string;
}
export interface QueryUpgradedConsensusStateResponseAminoMsg {
type: "cosmos-sdk/QueryUpgradedConsensusStateResponse";
value: QueryUpgradedConsensusStateResponseAmino;
}
/**
* QueryModuleVersionsRequest is the request type for the Query/ModuleVersions
* RPC method.
* @name QueryModuleVersionsRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryModuleVersionsRequest
*/
export interface QueryModuleVersionsRequest {
/**
* module_name is a field to query a specific module
* consensus version from state. Leaving this empty will
* fetch the full list of module versions from state
*/
moduleName: string;
}
export interface QueryModuleVersionsRequestProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsRequest";
value: Uint8Array;
}
/**
* QueryModuleVersionsRequest is the request type for the Query/ModuleVersions
* RPC method.
* @name QueryModuleVersionsRequestAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryModuleVersionsRequest
*/
export interface QueryModuleVersionsRequestAmino {
/**
* module_name is a field to query a specific module
* consensus version from state. Leaving this empty will
* fetch the full list of module versions from state
*/
module_name: string;
}
export interface QueryModuleVersionsRequestAminoMsg {
type: "cosmos-sdk/QueryModuleVersionsRequest";
value: QueryModuleVersionsRequestAmino;
}
/**
* QueryModuleVersionsResponse is the response type for the Query/ModuleVersions
* RPC method.
* @name QueryModuleVersionsResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryModuleVersionsResponse
*/
export interface QueryModuleVersionsResponse {
/**
* module_versions is a list of module names with their consensus versions.
*/
moduleVersions: ModuleVersion[];
}
export interface QueryModuleVersionsResponseProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse";
value: Uint8Array;
}
/**
* QueryModuleVersionsResponse is the response type for the Query/ModuleVersions
* RPC method.
* @name QueryModuleVersionsResponseAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryModuleVersionsResponse
*/
export interface QueryModuleVersionsResponseAmino {
/**
* module_versions is a list of module names with their consensus versions.
*/
module_versions: ModuleVersionAmino[];
}
export interface QueryModuleVersionsResponseAminoMsg {
type: "cosmos-sdk/QueryModuleVersionsResponse";
value: QueryModuleVersionsResponseAmino;
}
/**
* QueryAuthorityRequest is the request type for Query/Authority
* @name QueryAuthorityRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAuthorityRequest
*/
export interface QueryAuthorityRequest {
}
export interface QueryAuthorityRequestProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityRequest";
value: Uint8Array;
}
/**
* QueryAuthorityRequest is the request type for Query/Authority
* @name QueryAuthorityRequestAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAuthorityRequest
*/
export interface QueryAuthorityRequestAmino {
}
export interface QueryAuthorityRequestAminoMsg {
type: "cosmos-sdk/QueryAuthorityRequest";
value: QueryAuthorityRequestAmino;
}
/**
* QueryAuthorityResponse is the response type for Query/Authority
* @name QueryAuthorityResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAuthorityResponse
*/
export interface QueryAuthorityResponse {
address: string;
}
export interface QueryAuthorityResponseProtoMsg {
typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityResponse";
value: Uint8Array;
}
/**
* QueryAuthorityResponse is the response type for Query/Authority
* @name QueryAuthorityResponseAmino
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAuthorityResponse
*/
export interface QueryAuthorityResponseAmino {
address: string;
}
export interface QueryAuthorityResponseAminoMsg {
type: "cosmos-sdk/QueryAuthorityResponse";
value: QueryAuthorityResponseAmino;
}
/**
* QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC
* method.
* @name QueryCurrentPlanRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryCurrentPlanRequest
*/
export declare const QueryCurrentPlanRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryCurrentPlanRequest;
isAmino(o: any): o is QueryCurrentPlanRequestAmino;
encode(_: QueryCurrentPlanRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentPlanRequest;
fromPartial(_: DeepPartial<QueryCurrentPlanRequest>): QueryCurrentPlanRequest;
fromAmino(_: QueryCurrentPlanRequestAmino): QueryCurrentPlanRequest;
toAmino(_: QueryCurrentPlanRequest): QueryCurrentPlanRequestAmino;
fromAminoMsg(object: QueryCurrentPlanRequestAminoMsg): QueryCurrentPlanRequest;
toAminoMsg(message: QueryCurrentPlanRequest): QueryCurrentPlanRequestAminoMsg;
fromProtoMsg(message: QueryCurrentPlanRequestProtoMsg): QueryCurrentPlanRequest;
toProto(message: QueryCurrentPlanRequest): Uint8Array;
toProtoMsg(message: QueryCurrentPlanRequest): QueryCurrentPlanRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC
* method.
* @name QueryCurrentPlanResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryCurrentPlanResponse
*/
export declare const QueryCurrentPlanResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryCurrentPlanResponse;
isAmino(o: any): o is QueryCurrentPlanResponseAmino;
encode(message: QueryCurrentPlanResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentPlanResponse;
fromPartial(object: DeepPartial<QueryCurrentPlanResponse>): QueryCurrentPlanResponse;
fromAmino(object: QueryCurrentPlanResponseAmino): QueryCurrentPlanResponse;
toAmino(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseAmino;
fromAminoMsg(object: QueryCurrentPlanResponseAminoMsg): QueryCurrentPlanResponse;
toAminoMsg(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseAminoMsg;
fromProtoMsg(message: QueryCurrentPlanResponseProtoMsg): QueryCurrentPlanResponse;
toProto(message: QueryCurrentPlanResponse): Uint8Array;
toProtoMsg(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC
* method.
* @name QueryAppliedPlanRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAppliedPlanRequest
*/
export declare const QueryAppliedPlanRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryAppliedPlanRequest;
isAmino(o: any): o is QueryAppliedPlanRequestAmino;
encode(message: QueryAppliedPlanRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryAppliedPlanRequest;
fromPartial(object: DeepPartial<QueryAppliedPlanRequest>): QueryAppliedPlanRequest;
fromAmino(object: QueryAppliedPlanRequestAmino): QueryAppliedPlanRequest;
toAmino(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestAmino;
fromAminoMsg(object: QueryAppliedPlanRequestAminoMsg): QueryAppliedPlanRequest;
toAminoMsg(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestAminoMsg;
fromProtoMsg(message: QueryAppliedPlanRequestProtoMsg): QueryAppliedPlanRequest;
toProto(message: QueryAppliedPlanRequest): Uint8Array;
toProtoMsg(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC
* method.
* @name QueryAppliedPlanResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAppliedPlanResponse
*/
export declare const QueryAppliedPlanResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryAppliedPlanResponse;
isAmino(o: any): o is QueryAppliedPlanResponseAmino;
encode(message: QueryAppliedPlanResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryAppliedPlanResponse;
fromPartial(object: DeepPartial<QueryAppliedPlanResponse>): QueryAppliedPlanResponse;
fromAmino(object: QueryAppliedPlanResponseAmino): QueryAppliedPlanResponse;
toAmino(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseAmino;
fromAminoMsg(object: QueryAppliedPlanResponseAminoMsg): QueryAppliedPlanResponse;
toAminoMsg(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseAminoMsg;
fromProtoMsg(message: QueryAppliedPlanResponseProtoMsg): QueryAppliedPlanResponse;
toProto(message: QueryAppliedPlanResponse): Uint8Array;
toProtoMsg(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState
* RPC method.
* @name QueryUpgradedConsensusStateRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest
* @deprecated
*/
export declare const QueryUpgradedConsensusStateRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryUpgradedConsensusStateRequest;
isAmino(o: any): o is QueryUpgradedConsensusStateRequestAmino;
encode(message: QueryUpgradedConsensusStateRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest;
fromPartial(object: DeepPartial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest;
fromAmino(object: QueryUpgradedConsensusStateRequestAmino): QueryUpgradedConsensusStateRequest;
toAmino(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAmino;
fromAminoMsg(object: QueryUpgradedConsensusStateRequestAminoMsg): QueryUpgradedConsensusStateRequest;
toAminoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAminoMsg;
fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest;
toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array;
toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState
* RPC method.
* @name QueryUpgradedConsensusStateResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse
* @deprecated
*/
export declare const QueryUpgradedConsensusStateResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryUpgradedConsensusStateResponse;
isAmino(o: any): o is QueryUpgradedConsensusStateResponseAmino;
encode(message: QueryUpgradedConsensusStateResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse;
fromPartial(object: DeepPartial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse;
fromAmino(object: QueryUpgradedConsensusStateResponseAmino): QueryUpgradedConsensusStateResponse;
toAmino(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAmino;
fromAminoMsg(object: QueryUpgradedConsensusStateResponseAminoMsg): QueryUpgradedConsensusStateResponse;
toAminoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAminoMsg;
fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse;
toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array;
toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryModuleVersionsRequest is the request type for the Query/ModuleVersions
* RPC method.
* @name QueryModuleVersionsRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryModuleVersionsRequest
*/
export declare const QueryModuleVersionsRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryModuleVersionsRequest;
isAmino(o: any): o is QueryModuleVersionsRequestAmino;
encode(message: QueryModuleVersionsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryModuleVersionsRequest;
fromPartial(object: DeepPartial<QueryModuleVersionsRequest>): QueryModuleVersionsRequest;
fromAmino(object: QueryModuleVersionsRequestAmino): QueryModuleVersionsRequest;
toAmino(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestAmino;
fromAminoMsg(object: QueryModuleVersionsRequestAminoMsg): QueryModuleVersionsRequest;
toAminoMsg(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestAminoMsg;
fromProtoMsg(message: QueryModuleVersionsRequestProtoMsg): QueryModuleVersionsRequest;
toProto(message: QueryModuleVersionsRequest): Uint8Array;
toProtoMsg(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryModuleVersionsResponse is the response type for the Query/ModuleVersions
* RPC method.
* @name QueryModuleVersionsResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryModuleVersionsResponse
*/
export declare const QueryModuleVersionsResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryModuleVersionsResponse;
isAmino(o: any): o is QueryModuleVersionsResponseAmino;
encode(message: QueryModuleVersionsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryModuleVersionsResponse;
fromPartial(object: DeepPartial<QueryModuleVersionsResponse>): QueryModuleVersionsResponse;
fromAmino(object: QueryModuleVersionsResponseAmino): QueryModuleVersionsResponse;
toAmino(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseAmino;
fromAminoMsg(object: QueryModuleVersionsResponseAminoMsg): QueryModuleVersionsResponse;
toAminoMsg(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseAminoMsg;
fromProtoMsg(message: QueryModuleVersionsResponseProtoMsg): QueryModuleVersionsResponse;
toProto(message: QueryModuleVersionsResponse): Uint8Array;
toProtoMsg(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryAuthorityRequest is the request type for Query/Authority
* @name QueryAuthorityRequest
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAuthorityRequest
*/
export declare const QueryAuthorityRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryAuthorityRequest;
isAmino(o: any): o is QueryAuthorityRequestAmino;
encode(_: QueryAuthorityRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryAuthorityRequest;
fromPartial(_: DeepPartial<QueryAuthorityRequest>): QueryAuthorityRequest;
fromAmino(_: QueryAuthorityRequestAmino): QueryAuthorityRequest;
toAmino(_: QueryAuthorityRequest): QueryAuthorityRequestAmino;
fromAminoMsg(object: QueryAuthorityRequestAminoMsg): QueryAuthorityRequest;
toAminoMsg(message: QueryAuthorityRequest): QueryAuthorityRequestAminoMsg;
fromProtoMsg(message: QueryAuthorityRequestProtoMsg): QueryAuthorityRequest;
toProto(message: QueryAuthorityRequest): Uint8Array;
toProtoMsg(message: QueryAuthorityRequest): QueryAuthorityRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryAuthorityResponse is the response type for Query/Authority
* @name QueryAuthorityResponse
* @package cosmos.upgrade.v1beta1
* @see proto type: cosmos.upgrade.v1beta1.QueryAuthorityResponse
*/
export declare const QueryAuthorityResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryAuthorityResponse;
isAmino(o: any): o is QueryAuthorityResponseAmino;
encode(message: QueryAuthorityResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryAuthorityResponse;
fromPartial(object: DeepPartial<QueryAuthorityResponse>): QueryAuthorityResponse;
fromAmino(object: QueryAuthorityResponseAmino): QueryAuthorityResponse;
toAmino(message: QueryAuthorityResponse): QueryAuthorityResponseAmino;
fromAminoMsg(object: QueryAuthorityResponseAminoMsg): QueryAuthorityResponse;
toAminoMsg(message: QueryAuthorityResponse): QueryAuthorityResponseAminoMsg;
fromProtoMsg(message: QueryAuthorityResponseProtoMsg): QueryAuthorityResponse;
toProto(message: QueryAuthorityResponse): Uint8Array;
toProtoMsg(message: QueryAuthorityResponse): QueryAuthorityResponseProtoMsg;
registerTypeUrl(): void;
};