interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
106 lines (105 loc) • 4.49 kB
TypeScript
import { Params, ParamsAmino } from "./host";
import { BinaryReader, BinaryWriter } from "../../../../../binary";
import { DeepPartial } from "../../../../../helpers";
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequest
* @package ibc.applications.interchain_accounts.host.v1
* @see proto type: ibc.applications.interchain_accounts.host.v1.QueryParamsRequest
*/
export interface QueryParamsRequest {
}
export interface QueryParamsRequestProtoMsg {
typeUrl: "/ibc.applications.interchain_accounts.host.v1.QueryParamsRequest";
value: Uint8Array;
}
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequestAmino
* @package ibc.applications.interchain_accounts.host.v1
* @see proto type: ibc.applications.interchain_accounts.host.v1.QueryParamsRequest
*/
export interface QueryParamsRequestAmino {
}
export interface QueryParamsRequestAminoMsg {
type: "cosmos-sdk/QueryParamsRequest";
value: QueryParamsRequestAmino;
}
/**
* QueryParamsResponse is the response type for the Query/Params RPC method.
* @name QueryParamsResponse
* @package ibc.applications.interchain_accounts.host.v1
* @see proto type: ibc.applications.interchain_accounts.host.v1.QueryParamsResponse
*/
export interface QueryParamsResponse {
/**
* params defines the parameters of the module.
*/
params?: Params;
}
export interface QueryParamsResponseProtoMsg {
typeUrl: "/ibc.applications.interchain_accounts.host.v1.QueryParamsResponse";
value: Uint8Array;
}
/**
* QueryParamsResponse is the response type for the Query/Params RPC method.
* @name QueryParamsResponseAmino
* @package ibc.applications.interchain_accounts.host.v1
* @see proto type: ibc.applications.interchain_accounts.host.v1.QueryParamsResponse
*/
export interface QueryParamsResponseAmino {
/**
* params defines the parameters of the module.
*/
params?: ParamsAmino;
}
export interface QueryParamsResponseAminoMsg {
type: "cosmos-sdk/QueryParamsResponse";
value: QueryParamsResponseAmino;
}
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequest
* @package ibc.applications.interchain_accounts.host.v1
* @see proto type: ibc.applications.interchain_accounts.host.v1.QueryParamsRequest
*/
export declare const QueryParamsRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryParamsRequest;
isAmino(o: any): o is QueryParamsRequestAmino;
encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest;
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest;
toAmino(_: 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 ibc.applications.interchain_accounts.host.v1
* @see proto type: ibc.applications.interchain_accounts.host.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>): 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;
};