interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
206 lines (205 loc) • 9.8 kB
TypeScript
import { Params, ParamsAmino } from "./controller";
import { BinaryReader, BinaryWriter } from "../../../../../binary";
import { DeepPartial } from "../../../../../helpers";
/**
* QueryInterchainAccountRequest is the request type for the Query/InterchainAccount RPC method.
* @name QueryInterchainAccountRequest
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest
*/
export interface QueryInterchainAccountRequest {
owner: string;
connectionId: string;
}
export interface QueryInterchainAccountRequestProtoMsg {
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest";
value: Uint8Array;
}
/**
* QueryInterchainAccountRequest is the request type for the Query/InterchainAccount RPC method.
* @name QueryInterchainAccountRequestAmino
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest
*/
export interface QueryInterchainAccountRequestAmino {
owner: string;
connection_id: string;
}
export interface QueryInterchainAccountRequestAminoMsg {
type: "cosmos-sdk/QueryInterchainAccountRequest";
value: QueryInterchainAccountRequestAmino;
}
/**
* QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method.
* @name QueryInterchainAccountResponse
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse
*/
export interface QueryInterchainAccountResponse {
address: string;
}
export interface QueryInterchainAccountResponseProtoMsg {
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse";
value: Uint8Array;
}
/**
* QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method.
* @name QueryInterchainAccountResponseAmino
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse
*/
export interface QueryInterchainAccountResponseAmino {
address: string;
}
export interface QueryInterchainAccountResponseAminoMsg {
type: "cosmos-sdk/QueryInterchainAccountResponse";
value: QueryInterchainAccountResponseAmino;
}
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequest
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest
*/
export interface QueryParamsRequest {
}
export interface QueryParamsRequestProtoMsg {
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest";
value: Uint8Array;
}
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequestAmino
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.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.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse
*/
export interface QueryParamsResponse {
/**
* params defines the parameters of the module.
*/
params?: Params;
}
export interface QueryParamsResponseProtoMsg {
typeUrl: "/ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse";
value: Uint8Array;
}
/**
* QueryParamsResponse is the response type for the Query/Params RPC method.
* @name QueryParamsResponseAmino
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse
*/
export interface QueryParamsResponseAmino {
/**
* params defines the parameters of the module.
*/
params?: ParamsAmino;
}
export interface QueryParamsResponseAminoMsg {
type: "cosmos-sdk/QueryParamsResponse";
value: QueryParamsResponseAmino;
}
/**
* QueryInterchainAccountRequest is the request type for the Query/InterchainAccount RPC method.
* @name QueryInterchainAccountRequest
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest
*/
export declare const QueryInterchainAccountRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryInterchainAccountRequest;
isAmino(o: any): o is QueryInterchainAccountRequestAmino;
encode(message: QueryInterchainAccountRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryInterchainAccountRequest;
fromPartial(object: DeepPartial<QueryInterchainAccountRequest>): QueryInterchainAccountRequest;
fromAmino(object: QueryInterchainAccountRequestAmino): QueryInterchainAccountRequest;
toAmino(message: QueryInterchainAccountRequest): QueryInterchainAccountRequestAmino;
fromAminoMsg(object: QueryInterchainAccountRequestAminoMsg): QueryInterchainAccountRequest;
toAminoMsg(message: QueryInterchainAccountRequest): QueryInterchainAccountRequestAminoMsg;
fromProtoMsg(message: QueryInterchainAccountRequestProtoMsg): QueryInterchainAccountRequest;
toProto(message: QueryInterchainAccountRequest): Uint8Array;
toProtoMsg(message: QueryInterchainAccountRequest): QueryInterchainAccountRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method.
* @name QueryInterchainAccountResponse
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse
*/
export declare const QueryInterchainAccountResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryInterchainAccountResponse;
isAmino(o: any): o is QueryInterchainAccountResponseAmino;
encode(message: QueryInterchainAccountResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryInterchainAccountResponse;
fromPartial(object: DeepPartial<QueryInterchainAccountResponse>): QueryInterchainAccountResponse;
fromAmino(object: QueryInterchainAccountResponseAmino): QueryInterchainAccountResponse;
toAmino(message: QueryInterchainAccountResponse): QueryInterchainAccountResponseAmino;
fromAminoMsg(object: QueryInterchainAccountResponseAminoMsg): QueryInterchainAccountResponse;
toAminoMsg(message: QueryInterchainAccountResponse): QueryInterchainAccountResponseAminoMsg;
fromProtoMsg(message: QueryInterchainAccountResponseProtoMsg): QueryInterchainAccountResponse;
toProto(message: QueryInterchainAccountResponse): Uint8Array;
toProtoMsg(message: QueryInterchainAccountResponse): QueryInterchainAccountResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryParamsRequest is the request type for the Query/Params RPC method.
* @name QueryParamsRequest
* @package ibc.applications.interchain_accounts.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.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.controller.v1
* @see proto type: ibc.applications.interchain_accounts.controller.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;
};